Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Fragment with highest version not loaded
Fragment with highest version not loaded [message #506868] Mon, 11 January 2010 03:50 Go to next message
Heiko is currently offline HeikoFriend
Messages: 43
Registered: July 2009
Member
We wanted to use language pack fragments in our RCP application (based on Eclipse 3.3.2). But when we add a new version of a fragment to the application the new fragment will not be loaded.

The application version did not change. Only the contents of the fragment and its bundle version at its manifest have been changed. Both fragment jars are kept at plugins directory, but the older one is loaded.

Do you have any hints?

Thanks in advance.

Heiko
Re: Fragment with highest version not loaded [message #506926 is a reply to message #506868] Mon, 11 January 2010 11:36 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Heiko,

Maybe you have to run with -clean to update the cached configuration.


heiko.eichberger@rohde-schwarz.com wrote:
> We wanted to use language pack fragments in our RCP application (based
> on Eclipse 3.3.2). But when we add a new version of a fragment to the
> application the new fragment will not be loaded.
> The application version did not change. Only the contents of the
> fragment and its bundle version at its manifest have been changed.
> Both fragment jars are kept at plugins directory, but the older one is
> loaded.
>
> Do you have any hints?
>
> Thanks in advance.
>
> Heiko


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Fragment with highest version not loaded [message #506934 is a reply to message #506926] Mon, 11 January 2010 07:12 Go to previous messageGo to next message
Heiko is currently offline HeikoFriend
Messages: 43
Registered: July 2009
Member
Hi Ed,

I tried it before running the application with -clean but there were no changes. Only the old fragment is loaded.
Re: Fragment with highest version not loaded [message #507026 is a reply to message #506934] Mon, 11 January 2010 12:16 Go to previous messageGo to next message
Snjezana Peco is currently offline Snjezana PecoFriend
Messages: 789
Registered: July 2009
Senior Member
Are your fragments singleton?
Equinox loads all non singleton fragments and the classloader loads the first *.properties file that can be in the old fragment.

Snjeza

Heiko wrote:
> Hi Ed,
>
> I tried it before running the application with -clean but there were no
> changes. Only the old fragment is loaded.
Re: Fragment with highest version not loaded [message #507142 is a reply to message #507026] Tue, 12 January 2010 05:11 Go to previous message
Heiko is currently offline HeikoFriend
Messages: 43
Registered: July 2009
Member
Hi Snjeza,

you were right. The fragment wasn't declared as singleton. Now, everything works like expected.

Thanx a lot.

Heiko
Previous Topic:plugin.xml Editor
Next Topic:Problems loading plugins
Goto Forum:
  


Current Time: Fri Apr 26 12:21:20 GMT 2024

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

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

Back to the top