Skip to main content



      Home
Home » Eclipse Projects » GEF » Plugin classloader dilemma
Plugin classloader dilemma [message #64650] Thu, 13 February 2003 01:35 Go to next message
Eclipse UserFriend
I've got two plugins (lets call them Plugin A and Plugin B). Plugin A contains
all the jars for Plugin B, so Plugin B requires Plugin A to load/run.

However, one of the functions of a jar in Plugin A needs to dynamically load
(using Class.forName) one of the classes in Plugin B. Because they are in
different classloaders, it fails.

Is there any way to get this to work (short of taking that particular jar out
of Plugin A and putting it into Plugin B)?

Thanks,

Mark
Re: Plugin classloader dilemma [message #64673 is a reply to message #64650] Thu, 13 February 2003 01:36 Go to previous message
Eclipse UserFriend
Whoops, wrong group.

In article <MPG.18b5e7ae1cfc4c4a989685@news.eclipse.org>, mg@myretsu.com
says...
> I've got two plugins (lets call them Plugin A and Plugin B). Plugin A contains
> all the jars for Plugin B, so Plugin B requires Plugin A to load/run.
>
> However, one of the functions of a jar in Plugin A needs to dynamically load
> (using Class.forName) one of the classes in Plugin B. Because they are in
> different classloaders, it fails.
>
> Is there any way to get this to work (short of taking that particular jar out
> of Plugin A and putting it into Plugin B)?
>
> Thanks,
>
> Mark
>
Previous Topic:How to draw a Polyline across Figure
Next Topic:How to add combo box and textbox in a figure in GEF.
Goto Forum:
  


Current Time: Thu May 01 10:15:00 EDT 2025

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

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

Back to the top