Howto declare IU conflicts? [message #696581] |
Thu, 14 July 2011 10:34 |
Stephan Herrmann Messages: 1853 Registered: July 2009 |
Senior Member |
|
|
Is it possible with p2 to express negative dependencies, i.e., specifying an IU that must not be installed if my IU should be installed?
If so, could that be used in the following scenario:
bundle my.base_1.0.0
patch feature A_1.0.0
- replaces my.base_1.0.0 with my.base_1.0.0.EnhancementA
patch feature B_1.0.0
- replaces my.base_1.0.0 with my.base_1.0.0.EnhancementB
Here A and B are independent enhancements, neither subsumes the other.
If a user tries to install either A or B on top of the respective other I would like to see an error saying that both features are incompatible.
Later the provider of B might create
patch feature B_1.0.1
- replaces my.base[1.0.0,1.0.0.EnhancementA] with my.base_1.0.1.EnhancementB
Updating from A_1.0.0 to B_1.0.1 should be possible.
Is something along these lines possible?
thanks,
Stephan
|
|
|
Powered by
FUDForum. Page generated in 0.03315 seconds