[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.equinox] Re: HookConfigurator in RCP under JDK 6

Asim wrote:
In the RCP app I'm working on, I've implemented the HookConfigurator and ClassLoadingHook to include a few external jar files onto the classpath.
These jars (scripting engine related) are added post install and so
can't be pre-wrapped in a bundle. They are typically things like
groovy and groovy-engine jars pairs, or other script engines.
Under JDK 5, things work well. I can drop new scripting engine related
jars into the external directory and they get picked up for use by the RCP.
Under JDK 6, the RCP fails to find the new script engine i.e classes from that jar.


Has anyone run into something similar?
What am I doing wrong?


Its hard to tell. Can you debug the class loader to make sure the bundle class loader is searching the jars you added? If possible could you put together a testcase to reproduce. If so I would open a bug against Equinox->Framework at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Equinox


Tom.