You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hivemind.apache.org by Geoff Longman <gl...@gmail.com> on 2005/06/24 22:00:05 UTC

Hivemind and Eclipse 3.1

A while back there was some discussion about using HM in eclipse
plugins and the classloader acrobatics required to do so.

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!

Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Re: Hivemind and Eclipse 3.1

Posted by Knut Wannheden <kn...@gmail.com>.
Geoff,

On 6/28/05, Geoff Longman <gl...@gmail.com> wrote:
> 
> Am I understanding your statement below correctly if I paraphrase it thus..
> 
> It's impossible using the eclipse classloader setup to ask for all the
> META-INF/hivemodule.xml files without eclipse specific acrobatics.
> 

Yes, that's correct. Although the acrobatics required are not
particularly advanced.

--knut

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Re: Hivemind and Eclipse 3.1

Posted by Geoff Longman <gl...@gmail.com>.
Knut,

Am I understanding your statement below correctly if I paraphrase it thus..

It's impossible using the eclipse classloader setup to ask for all the
META-INF/hivemodule.xml files without eclipse specific acrobatics.

Geoff 

> 
> 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Re: Hivemind and Eclipse 3.1

Posted by Knut Wannheden <kn...@gmail.com>.
Geoff,

On 6/24/05, Geoff Longman <gl...@gmail.com> 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: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org