Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » conflict of dependencies and p2.inf
conflict of dependencies and p2.inf [message #851090] Fri, 20 April 2012 16:30
Nicolas Rousseau is currently offline Nicolas RousseauFriend
Messages: 18
Registered: July 2009
Junior Member
Hello,

to sum up, i have in my product something like:

org.myplugin 1.0.0.A (defined in feature A)
org.myplugin 1.0.0.B (defined in feature B)

and both features included in the final product.

version are exactly the same (1.0.0), only qualifier changes (shown as A and B here).

Without p2, i can make the product work as i want...
But with p2, i got a conflict of dependencies.
("Only one of the following can be installed at once: " ...)


After read several posts and such, seems i need to use p2.inf to solve my problem to be able to have these two versions of the plugin in the same product.
But i still don't understand how to do....

is there an example somewhere for this case?
do i need to put something like this in the p2.inf of the product?
(is there a way to generate p2.inf automatically first and modify this manually after?)

units.0.id = org.myplugin
units.0.version = 1.0.0
units.0.singleton = false



Nicolas.
Previous Topic:having trouble configuring platform.xml with multiple sites
Next Topic:load repository after startup in helios rcp
Goto Forum:
  


Current Time: Sat Dec 07 18:05:33 GMT 2024

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

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

Back to the top