P2 greedy behavior inside a feature [message #703197] |
Wed, 27 July 2011 09:26 |
Daniel Danev Messages: 1 Registered: July 2011 |
Junior Member |
|
|
Hello Eclipsers,
I'm trying to include a p2.inf inside a feature in order to disable the greedy behavior of an optional dependency of a plug-in in that feature. This is my example code in p2.inf which do not seem to be working as the optional dependency is installed:
requires.0.namespace=org.eclipse.equinox.p2.iu
requires.0.name=com.example.mail.gready
requires.0.greedy=false
requires.0.optional=true
Here com.example.mail.gready is the plug-in, which is an optional one.
One note is that this approach is working if the p2.inf file is placed inside the plug-in with optional dependency:
requires.0.namespace=osgi.bundle
requires.0.name=com.example.mail.gready
requires.0.greedy=false
requires.0.optional=true
Any help on that is greatly appreciated!
|
|
|
Powered by
FUDForum. Page generated in 1.25406 seconds