Re: [p2-dev] Re: How to query feature's plugins/IUs from p2 metadata?
This won't necessarily get 'no external plugins', but unfortunately it's the best you can do.
Essentially these are referred to as "required" vs. "included". Include plug-ins have strict version ranges, while required plug-ins *often* have non-strict ranges. However, it is possible to define a required plugin as strict. In this case, you will get "required" plug-ins, and no necessarily just the included ones.
On Mon, Aug 9, 2010 at 5:42 AM, <Ari.Seppi@xxxxxxxxx>
returning to Mika Immonen’s question about querying plugins of a feature: Is it possible to use P2 API to query the the plugins that belong to a feature (defined with <plugin>-elements in feature.xml)?
It seems that RequiredCababilities that return true for isVersionStrict method match those plugins, but is that a safe way to get all of them and no external plugins?
p2-dev mailing list
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484http://eclipsesource.com