| Summary: | Given a plugin id or package name, find the feature that provides it in the repository | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Corey Ashford <cjashfor> |
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | nalinig, thomas, tjwatson |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Corey Ashford
If you have a class, then you can look up the bundle via: ((BundleReference)clazz.getClassLoader).getBundle() PackageAdmin.getBundle(Class) But it sounds like you want to look something up against a repository rather than in your running instance. This can most likely be done using the query language. Information can be found here: http://wiki.eclipse.org/Query_Language_for_p2 Also I'll add Thomas to the CC as he might be able to help with constructing a query. But I can't see us creating API to do this, so I'll close this report. I don't need an API. I want a UI feature that I can use to figure out which feature I need to install from a repository. |