[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Re: Can I get a list of installed features?
|
"Torbjørn G. Dahle" <torbjorn@xxxxxxxxxxxxxx> wrote in message
news:fhk6a0$1r9$1@xxxxxxxxxxxxxxxxxxxx
>I want to keep track of which versions of which features are installed on
>the many installations of my RCP application. Is there a way of getting a
>list of installed features and versions?
The closest I got was using the org.eclipse.update.configurator plugin's
ConfiguratorUtil class, which had this promisingly named method:
ConfiguratorUtils.getCurrentPlatformConfiguration().getConfiguredFeatureEntries()
...but for some reason I only got the org.eclipse.rcp.source and
org.eclipse.rcp features.
Also, this:
ConfiguratorUtils.getCurrentPlatformConfiguration().getPrimaryFeatureIdentifier()
...returns null.