How can I package the plugin directory in an enterprise application (I am running Clover ETL graphs in the WAR). Can I add the plugin directory to the WEB-INF\lib?
Thanks,
tav
How can I package the plugin directory in an enterprise application (I am running Clover ETL graphs in the WAR). Can I add the plugin directory to the WEB-INF\lib?
Thanks,
tav
Hello,
for engine of version 2.7.1 I recommend …
1] move jar files from plugins to /WEB-INF/lib directory (exclude all JDBC jars)
2] move plugins directory with rest of files to /WEB-INF
3] init engine properly:
Plugins.setSimpleClassLoading(true); // plugins won’t use their own extra classloader; plugin classes are loaded by web-app classloader
EngineInitializer.initEngine(pluginDirs, null, null); // pluginDirs is URL containing URLs to plugin directories inside your WAR. You can get it from ServletContext.
Regards,
Martin