I'd need to query plugins that belong to a certain feature (defined with <plugin>-elements on feature.xml).
My current functionality gets the requirements with org.eclipse.equinox.p2.metadata.getRequirements() method and then removes those requirements that are not found as installable units on repository.
Drawback of this approach is it lists even those requirements that are not listed as <plugin> in the feature.xml.
The query also lists feature itself not just the plugins. Features seem to have (org.eclipse.update.install.features=true) filter defined on metadata, but can I trust that all features have it and no plugin will have it?
So in short: is it possible to get a listing of <plugin> elements defined for a feature?
Mika Immonen, Senior Software Developer
Tieto Finland Oy, R&D Services