How to set classpath for activiti-engine ?

cancel
Showing results for 
Search instead for 
Did you mean: 
louisp
Member II

How to set classpath for activiti-engine ?

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