|P2 : programatic update of bundles : error with singleton [message #900849]
||Wed, 08 August 2012 13:32
| Sébastien Gandon
Registered: July 2009
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).
Powered by FUDForum
. Page generated in 0.03570 seconds