thank you very much for your help =)

Regards.

Octavio Córdova Limón
Staff Software Engineer
IBM Rational Common Desktop Install
Phone: (011-52-33) 3669-7000 Ex. 5942
T/L: 877-5942
[email protected]


                                                                                
                                                                   
  From:       Jeff McAffer <[email protected]>                             
                                                                   
                                                                                
                                                                   
  To:         P2 developer discussions <[email protected]>                     
                                                                   
                                                                                
                                                                   
  Date:       01/28/2011 03:59 PM                                               
                                                                   
                                                                                
                                                                   
  Subject:    Re: [p2-dev] How to get the version of a feature installed in     
eclipse?                                                           
                                                                                
                                                                   
  Sent by:    [email protected]                                        
                                                                   
                                                                                
                                                                   





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
> <[email protected]> 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
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/p2-dev

_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev



_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to