<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to set classpath for activiti-engine ? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-set-classpath-for-activiti-engine/m-p/28629#M12214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running activiti inside a Spring container, in order to run Groovy scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure this because the classpath is not set in Activiti and I am struggling to find a way to specify that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already opened a thread on stackoverflow:&amp;nbsp;&lt;A class="link-titled" href="https://stackoverflow.com/questions/55160173/how-to-load-groovy-classes-into-the-groovy-script-engine-of-activiti" title="https://stackoverflow.com/questions/55160173/how-to-load-groovy-classes-into-the-groovy-script-engine-of-activiti" rel="nofollow noopener noreferrer"&gt;How to load Groovy classes into the Groovy script engine of Activiti? - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I set this classpath once and for all ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2019 07:52:22 GMT</pubDate>
    <dc:creator>louisp</dc:creator>
    <dc:date>2019-03-18T07:52:22Z</dc:date>
    <item>
      <title>How to set classpath for activiti-engine ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-set-classpath-for-activiti-engine/m-p/28629#M12214</link>
      <description>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</description>
      <pubDate>Mon, 18 Mar 2019 07:52:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-set-classpath-for-activiti-engine/m-p/28629#M12214</guid>
      <dc:creator>louisp</dc:creator>
      <dc:date>2019-03-18T07:52:22Z</dc:date>
    </item>
  </channel>
</rss>

