Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • Component/s: framework
    • Labels:
      None

      Description

      According to Groovy documentation the following construction:

      CompilerConfiguration conf = new CompilerConfiguration();
      conf.setScriptBaseClass(scriptBaseClass);
      groovyClassLoader = new GroovyClassLoader(GroovyUtil.class.getClassLoader(), conf);
      

      is equivalent to running the a script containing the @BaseScript annotation.

      In org.apache.ofbiz.base.util.GroovyUtil instead of choosing one solution, we are doing both.

        Attachments

          Activity

            People

            • Assignee:
              mthl Mathieu Lirzin
              Reporter:
              mthl Mathieu Lirzin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: