Hi,
I’m trying to run/debug abs-webapp under eclipse to better understand/trace the behaviour of the ERP, and avoid asking functionnal questions that could be answered by the code. After all, this is what FOSS is about, isn’t it ?
So here is what I’ve done:
- git clone abs-webapp
- switch to wip (including for sub-modules)
- build a war and deploy on a pg database, initialize and configure the ERP
- ./gradlew cleanEclipse eclipse
- import the project under eclipse
- under eclipse (tomcat 8.5 server), debug as / debug on server (against previously initialized database)
Now the application starts, and I can login with my custom created user, but no axelor application except base show in the menu. In the eclipse console, I get errors like this one:
2018-04-09 20:09:35.972 ERROR 9868 --- [nio-8080-exec-3] com.axelor.script.CompositeScriptHelper : Script error: __config__.app.isApp('quality')
groovy.lang.MissingMethodException: No signature of method: java.lang.String.isApp() is applicable for argument types: (java.lang.String) values: [quality]
Possible solutions: size(), size(), is(java.lang.Object), isEmpty(), isLong(), dump()
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:58)
at org.codehaus.groovy.vmplugin.v7.IndyGuardsFiltersAndSignatures.unwrap(IndyGuardsFiltersAndSignatures.java:177)
at script15232973758632028260132.run(script15232973758632028260132.groovy:1)
at com.axelor.script.GroovyScriptHelper.eval(GroovyScriptHelper.java:138)
at com.axelor.script.CompositeScriptHelper.eval(CompositeScriptHelper.java:80)
at com.axelor.script.AbstractScriptHelper.eval(AbstractScriptHelper.java:91)
…
Can anyone help me with this ? I must have missed a step…
Thanks in advance,
Franck