Skip to main content


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 GandonFriend
Messages: 184
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: Fri Apr 26 00:15:24 GMT 2024

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

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

Back to the top