Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Is the buddy policy working?
Is the buddy policy working? [message #123980] Thu, 08 January 2009 15:14 Go to next message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
Hi,

I'm having exactly the same problem that this other issue that was asked
some time ago with no answer:
http://dev.eclipse.org/newslists/news.eclipse.technology.equ inox/msg04588.html

So, does anyone have a working example of buddy class loading?
I also need it for custom appenders for log4j.

Thanks in advance for any tip from a OSGi guru.
Re: Is the buddy policy working? [message #123994 is a reply to message #123980] Thu, 08 January 2009 15:35 Go to previous messageGo to next message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
Maybe this explains the cause of the problem:
http://www.eclipsezone.com/eclipse/forums/t84224.rhtml
Re: Is the buddy policy working? [message #124006 is a reply to message #123994] Thu, 08 January 2009 17:17 Go to previous messageGo to next message
Neil Bartlett is currently offline Neil BartlettFriend
Messages: 93
Registered: July 2009
Member
David Pérez wrote:
> Maybe this explains the cause of the problem:
> http://www.eclipsezone.com/eclipse/forums/t84224.rhtml
>

David,

Unfortunately I think that Alex's replies on that thread are mostly
incorrect, as bundle activation state has nothing to do with classloading.

However, I do agree with the recommendation to use a fragment instead
Equinox's buddy mechanism. This has the advantage that it works on all
OSGi R4 compliant frameworks, not just Equinox.

Regards,
Neil
Re: Is the buddy policy working? [message #124095 is a reply to message #124006] Fri, 09 January 2009 09:55 Go to previous message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
Thanks Neil for your suggestions.
I'm happy because the fragment solution DOES work. :-)

Neil Bartlett wrote:

> David Pérez wrote:
>> Maybe this explains the cause of the problem:
>> http://www.eclipsezone.com/eclipse/forums/t84224.rhtml
>>

> David,

> Unfortunately I think that Alex's replies on that thread are mostly
> incorrect, as bundle activation state has nothing to do with classloading.

> However, I do agree with the recommendation to use a fragment instead
> Equinox's buddy mechanism. This has the advantage that it works on all
> OSGi R4 compliant frameworks, not just Equinox.

> Regards,
> Neil
Previous Topic:Updating installed JRE question
Next Topic:P2 worth waiting?
Goto Forum:
  


Current Time: Tue Mar 19 02:22:35 GMT 2024

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

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

Back to the top