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 12:30
Nicolas Rousseau is currently offline Nicolas Rousseau
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: Wed Aug 27 09:05:10 EDT 2014

Powered by FUDForum. Page generated in 0.01634 seconds