Uploaded image for project: 'Magnolia Groovy Module'
  1. Magnolia Groovy Module
  2. MGNLGROOVY-148

Creating a new "groovy class" always fails with compliation error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.4.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Whenever you want to create a new groovy class in Magnolia you have to use a workaround procedure which requires that it be declared as a script first.

      Steps

      1. Create a package info.magnolia.groovy.examples
      2. Inside the examples folder add a new script.
      3. Declare a new class
        package info.magnolia.groovy.examples;
        public class MyGroovyClass { }
        
      4. Click save, see the error.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: