As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello,
I am running activiti inside a Spring container, in order to run Groovy scripts.
In my scripts, I would like to add import statements to some other Groovy classes of mine, but the underlying GroovyScriptEngineImpl is not capable of resolving the imports at runtime.
I am pretty sure this because the classpath is not set in Activiti and I am struggling to find a way to specify that.
I already opened a thread on stackoverflow: How to load Groovy classes into the Groovy script engine of Activiti? - Stack Overflow
How can I set this classpath once and for all ?
Thanks in advance