Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » P2 greedy behavior inside a feature
P2 greedy behavior inside a feature [message #703197] Wed, 27 July 2011 09:26
Daniel Danev is currently offline 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!
Previous Topic:Can p2 install feature with version range?
Next Topic:plugin is not picked up from dropins folder, exception in org.eclipse.equinox.p2.reconciler.dropins
Goto Forum:
  


Current Time: Mon Sep 22 14:27:36 GMT 2014

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

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