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

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 2.4.5
    • None
    • None

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD