Sebastian,
I assume you refer to this piece of code:
CachingResourceLoaderImpl crl = new CachingResourceLoaderImpl(new
OsgiResourceLoader(
Activator.PLUGIN_ID, // a plugin that has declared the required deps
MWEPlugin.INSTANCE.getBaseURL(), RunWorkflows.class.getClassLoader()));
// a class from this plugin
ResourceLoaderFactory.setCurrentThreadResourceLoader(crl);
I am not sure where I should put this code. I tried to put it into an
Activator class . First of all, there is no three-argument constructor
for OsgiResourceLoader, so I removed the second argument.
However, it does not seem to work. At least I see no difference in
performance. Can you explain where to put this code?
Jos