Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » class loader in dependent plugins
class loader in dependent plugins [message #289344] Wed, 03 August 2005 21:37
Eclipse UserFriend
Originally posted by: sgollery.cadrc.calpoly.edu

I've wrapped a third-party library in a plugin and written an RCP app to
use it. It's working okay except for one issue that I'm hoping someone can
help me solve.

The library allows client programs to specialize some processing by
calling a method and passing the name of a class that is part of the
client. The library then instantiates that class whenever that type of
processing is being done. This works fine when using the library normally,
but as a plugin it fails with a ClassNotFoundException, apparently because
the bundle loader used for the plugin does not have access to the class
files for the application that is using the plugin.

Is there a solution for this that doesn't involve changing the code in the
library?

Thanks in advance,

Steve
Previous Topic:How use third part jar file
Next Topic:ErrorLog entry starting Eclipse 3.1
Goto Forum:
  


Current Time: Fri Apr 26 06:31:48 GMT 2024

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

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

Back to the top