Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Wrong bundle loaded after update on macosx
Wrong bundle loaded after update on macosx [message #1763543] Wed, 17 May 2017 08:46
Guillaume Papon is currently offline Guillaume PaponFriend
Messages: 13
Registered: August 2016
Junior Member

I have a problem with p2 updating on mac os x, i described it here for more context.

We use the standard UpdateService which is working correctly. The app loads new stuff from repository and put it in app/plugins directory, so we end up having in this directory both versions of each of our plugins (say versions 1 and 2).

On windows, when the app starts, it picks up the correct version of the plugins (version 2), but on mac, it keeps loading the wrong one (version 1). If i delete all v1 jars, it picks up the correct ones (v2 obviously) but if i then undelete them (so we now have back v1 and V2), it keeps taking v2.

I noticed a difference between windows and mac in the file configuration\org.eclipse.equinox.simpleconfigurator\ (which, correct me if i am wrong, seems to describe the jars to load)

On windows, when i do the update, this file contains only the new version of the jars, ex:,2.0.1,plugins/,4,false,2.0.1,plugins/,4,false,2.0.1,plugins/,4,false,2.0.1,plugins/,4,false,2.0.1,plugins/,4,false,2.0.1,plugins/,4,false

But on mac, it contains both the old and the new version:,2.0.1,plugins/,4,false,2.0.0,plugins/,4,false,2.0.1,plugins/,4,false,2.0.0,plugins/,4,false,2.0.1,plugins/,4,false,2.0.0,plugins/,4,false,2.0.1,plugins/,4,false,2.0.0,plugins/,4,false,2.0.1,plugins/,4,false,2.0.0,plugins/,4,false,2.0.1,plugins/,4,false,2.0.0,plugins/,4,false

I guess the problem lays here. If i remove the lines containing the old version, the app correctly loads the new bundle (obvioulsy).

So what can create these double lines ?
Previous Topic:Optional dependencies not resolved for some plugins
Next Topic:Can't find plugin
Goto Forum:

Current Time: Sat Sep 24 21:52:30 GMT 2022

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

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

Back to the top