Ok, thanks for the answer, going with it, then. -- Ari
From: [email protected] [mailto:[email protected]] 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. cheers, ian On Mon, Aug 9, 2010 at 5:42 AM, <[email protected]> wrote: Hi, 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 [email protected] https://dev.eclipse.org/mailman/listinfo/p2-dev -- R. Ian Bull | EclipseSource Victoria | +1 250 477 7484 http://eclipsesource.com | http://twitter.com/eclipsesource _______________________________________________ p2-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/p2-dev
