Improved: Clean some Groovy files in base component
(OFBIZ-10646) Following discussion at https://markmail.org/message/y3izmnxd7jd6jbkf this cleans some Groovy files in the base component, notably: * remove ant-scripts folder and its content. * Rename framework/base/groovyScript to framework/base/groovyScripts; * Move GroovyInit.groovy and GroovyServiceTest.groovy respectively to framework/base/groovyScripts and framework/common/groovyScripts and change their paths where used. * Removes GroovyInit.groovy from excludedConfigFiles in build.gradle * After OFBIZ-10611 it's possible to move GroovyBaseScript.groovy from framework/service/src/main/java/org/apache/ofbiz/service/engine to framework/service/src/main/groovy/org/apache/ofbiz/service/engine * Removes FileUtilTests.groovy from basetests.xml (missed it in OFBIZ-10611) * Fixes a typo in test-suite.xsd git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1846485 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -63,7 +63,7 @@ public class GroovyUtil {
|
||||
* the workaround is to execute at startup a script containing the @BaseScript annotation.
|
||||
*/
|
||||
try {
|
||||
GroovyUtil.runScriptAtLocation("ofbizhome://framework/base/config/GroovyInit.groovy", null, null);
|
||||
GroovyUtil.runScriptAtLocation("ofbizhome://framework/base/groovyScripts/GroovyInit.groovy", null, null);
|
||||
} catch (Exception e) {
|
||||
Debug.logWarning("The following error occurred during the initialization of Groovy: " + e.getMessage(), module);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user