[go: up one dir, main page]

Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Howto declare IU conflicts?
Howto declare IU conflicts? [message #696581] Thu, 14 July 2011 10:34
Stephan Herrmann is currently offline Stephan HerrmannFriend
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
Previous Topic:How to provide bundle updates on an update site
Next Topic:build updatesite outside of eclipse IDE
Goto Forum:
  


Current Time: Thu Dec 12 18:53:09 GMT 2024

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

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

Back to the top