Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Is this a bug or change in the osgi platform?
Is this a bug or change in the osgi platform? [message #303419] Mon, 15 May 2006 10:20 Go to next message
Eclipse UserFriend
Originally posted by: ytgyazilim.gmail.com

Hello,

I have an RCP project which is based on EJB3 based 3 tier client server
application.

I created set of plugins such that a plugin provides libraries rarely
change like j2ee stuff.

There is a fragment which extends this plugin with the application
specific client side server libraries which change more frequently. ie
interfaces, hibernate objects.

Other plugins depend on the plugin and also has reference in the build
config to the fragment project.

Until 3.2 they compiled and ran fine. When I upgraded to 3.2, classes in
the fragment cannot locate classes in their host plugin but only in
runtime. They compile fine.

Is this a bug or a change in something that disallows such architecture
in 3.2 branch?

Regards,
H.Ceylan
Re: Is this a bug or change in the osgi platform? [message #303490 is a reply to message #303419] Tue, 16 May 2006 10:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

Doesn't sound like a good way of structuring it, in any case. You can get by this with having plugins have buddy classloading; see http://www.eclipsezone.com/articles/eclipse-vms/ for a discussion on how the classloading stuff works using Log4J as an example. Basically, make them two separate plugins, but have your common code have the registered policy, and allow plugins that depend on it to be registered buddies.

Alex.
Re: Is this a bug or change in the osgi platform? [message #303562 is a reply to message #303490] Wed, 17 May 2006 08:30 Go to previous message
Eclipse UserFriend
Originally posted by: ytgyazilim.gmail.com

Alex Blewitt wrote:
> Doesn't sound like a good way of structuring it, in any case. You can get by this with having plugins have buddy classloading; see http://www.eclipsezone.com/articles/eclipse-vms/ for a discussion on how the classloading stuff works using Log4J as an example. Basically, make them two separate plugins, but have your common code have the registered policy, and allow plugins that depend on it to be registered buddies.
>
> Alex.
Thanks Alex. I did not like the structure either. Back then when started
it, this was the only solution to my knowledge.

I was think about revising the this structure.
Maybe it is the time.
Ceylan
Previous Topic:Web Service
Next Topic:Build error - Empty .\src directory
Goto Forum:
  


Current Time: Mon Jul 21 20:11:04 EDT 2025

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

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

Back to the top