[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Plugin classloader dilemma

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