Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [p2-dev] Re: How to query feature's plugins/IUs from p2 metadata?

Ok, thanks for the answer, going with it, then.

-- Ari

From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Ian Bull
Sent: 10. elokuuta 2010 3:43
To: P2 developer discussions
Subject: 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> wrote:
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?
-- Ari

p2-dev mailing list

R. Ian Bull | EclipseSource Victoria | +1 250 477 7484 |

Back to the top