Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » HookConfigurator in RCP under JDK 6
HookConfigurator in RCP under JDK 6 [message #480831] Tue, 18 August 2009 15:42 Go to next message
Asim Ullah is currently offline Asim UllahFriend
Messages: 24
Registered: July 2009
Junior Member
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?
Re: HookConfigurator in RCP under JDK 6 [message #483648 is a reply to message #480831] Wed, 02 September 2009 13:15 Go to previous message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 503
Registered: July 2009
Senior Member
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.
Previous Topic:simpleconfigurator usage with ServletBridge
Next Topic:BundleContext#getServiceReference does not return highest ranked service
Goto Forum:
  


Current Time: Fri Apr 19 21:39:42 GMT 2024

Powered by FUDForum. Page generated in 0.02266 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top