Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] How to get the version of a feature installed in eclipse?

Beware that that returns the bundle group providers not the features.  In practice today these are typically one and the same but the notion of bundle groups was introduced specifically to enable non-feature-based groupings of bundles to exist.

Jeff

On 2011-01-28, at 11:35 AM, Paul Webster wrote:

> On Fri, Jan 28, 2011 at 12:12 PM, Octavio Cordova Limon/Mexico/IBM
> <octavioc@xxxxxxxxxxx> wrote:
>> I would like to get the version of a feature installed on eclipse from my
>> code
> 
> 
> If you are on top of Equinox/core.runtime, you can also use
> org.eclipse.core.runtime.Platform.getBundleGroupProviders().  See how
> we use them in
> org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.getFeatureInfos()
> 
> PW
> 
> -- 
> Paul Webster
> Hi floor.  Make me a sammich! - GIR
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev



Back to the top