Geoff, On 6/24/05, Geoff Longman <[EMAIL PROTECTED]> wrote: > A while back there was some discussion about using HM in eclipse > plugins and the classloader acrobatics required to do so. >
Quite a while ago I implemented a HiveMind plugin for Eclipse. As you say it did some trickery to load classes and resources from other plugins to initialize the registry. > I have not tried this out there purports to be a facility in Eclipse > 3.1 to make this kind of stuff easier... > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=87775 > > What I can't locate is confirmation that this made it into Eclipse 3.1! > >From what I can tell this made it into the Eclipse 3.1M7 release. This change should indeed simplify the classloading. Loading resources, like META-INF/hivemodule.xml, still seem to require delegation to the respective bundle's actual classloader. This because the HiveMind plugin's classloader will stop looking as soon as it finds one bundle which declares at least on resource with the given path. Do you need a HiveMind plugin for the Spindle plugin? --knut --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
