Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » [P2] how to install multiple versions of singletons bundles
[P2] how to install multiple versions of singletons bundles [message #855971] Wed, 25 April 2012 08:50
Sébastien  Gandon is currently offline Sébastien GandonFriend
Messages: 184
Registered: July 2009
Senior Member
Hi,
We are using PDE build with the generation of a p2 compatible product.
We need to install 2 versions of a plugin that is a singletons.
I know 2 singletons can not be executed at the same time but we have have our own launcher that install bundles according to our licence and therefore no singleton will be executed at the same time.
But we really need them to be physically present after the build.
The p2 director fails if we do not create a P2.inf file along with the product dfinition.
We have found a way not to make the p2 director fail by creating a p2.inf file like this.
provides.0.namespace=org.eclipse.equinox.p2.iu
provides.0.name=org.singleton.one
provides.0.version=1.0.0.201204241119
provides.0.singleton=false
provides.1.namespace=org.eclipse.equinox.p2.iu
provides.1.name=org.singleton.one
provides.1.version=1.0.0.9999
provides.1.singleton=false

But in the final build none of the 2 singletons are installed.

Has anyone an idea on how to get the 2 singletons install by the p2 director ?

Thanks for any hint.

SeB.

[Updated on: Wed, 25 April 2012 09:49]

Report message to a moderator

Previous Topic:Equinox Console: Tab Completion and History?
Next Topic:Issue Related To IExtensionRegistry addContribution
Goto Forum:
  


Current Time: Mon Oct 18 05:45:31 GMT 2021

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

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

Back to the top