Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » P2 : programatic update of bundles : error with singleton
P2 : programatic update of bundles : error with singleton [message #900849] Wed, 08 August 2012 17:32
Sébastien  Gandon is currently offline Sébastien Gandon
Messages: 172
Registered: July 2009
Senior Member
Hi,
I try to programmatically update our application using P2. I have created a p2 site with the FeaturesAndBundlesPublisher for a set of unrelated plugins with a newer version than the on installed.
When I try to install them using the InstallOperation or with the UpdateOperation I always get a singletons error :
Only one of the following can be installed at once: 
    Metadata 5.1.1.r84309 (org.talend.repository.metadata 5.1.1.r84309)
    Metadata 5.1.2 (org.talend.repository.metadata 5.1.2)


but this is an update, so how to do it ?
Shall I remove the existing bundle and install the new one, if so is a roolback possible in case of trouble ?
The particulatirity of our product is that is has a launcher installing and starting the plugins, so we can have 2 singletons physically on the filesystem, they will never be installed (in the OSGI sense).
thanks.

SeB.
Previous Topic:Cleaning cache without -clean
Next Topic:How to diagnose why a system bundle fragment is not getting attached?
Goto Forum:
  


Current Time: Tue Sep 16 05:03:35 GMT 2014

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

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