Plugin classloader dilemma [message #64650] |
Thu, 13 February 2003 01:35  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.28718 seconds