Hello Jacques, Jacques Le Roux <jacques.le.r...@les7arts.com> writes:
> So we would > > remove ant-scripts folder and its content; > > rename framework/base/groovyScript to framework/base/groovyScripts; > > move GroovyInit.groovy and GroovyServiceTest.groovy to > framework/base/groovyScripts and change their paths where used. > > And let GroovyBaseScript.groovy where it is > > Right? IMO since ‘GroovyBaseScript.groovy’ is not a java file it should not be placed in: ./framework/service/src/main/java/org/apache/ofbiz/service/engine but rather in: ./framework/service/src/main/groovy/org/apache/ofbiz/service/engine Since Groovy is not configured in Gradle this might not work OOTB because the ‘GroovyBaseScript’ will probably not be copied in ‘ofbiz.jar’ and not defined in the classpath of the MANIFEST. However if we were to apply OFBIZ-10611 [1] which adds the Gradle Groovy plugin for supporting unit tests written in Groovy beforehand, it should work gracefully. Otherwise looks good to me. [1] https://issues.apache.org/jira/projects/OFBIZ/issues/OFBIZ-10611 -- Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37