Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » How to check if a feature with given id is installed from the command line?
How to check if a feature with given id is installed from the command line? [message #754234] Tue, 01 November 2011 14:53 Go to next message
Marcin   is currently offline Marcin Friend
Messages: 8
Registered: October 2011
Junior Member
Hi,

I'm trying to find a way how to figure out if a feature with given id is installed. Is it possible to check it headlessly?

Thanks,
Marcin
Re: How to check if a feature with given id is installed from the command line? [message #754236 is a reply to message #754234] Tue, 01 November 2011 14:57 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

eclipse/eclipse -noSplash -application org.eclipse.equinox.p2.director -repository file://$(pwd)/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile


Features show up as <feature.id>.feature.group

PW


Re: How to check if a feature with given id is installed from the command line? [message #754251 is a reply to message #754236] Tue, 01 November 2011 16:06 Go to previous messageGo to next message
Marcin   is currently offline Marcin Friend
Messages: 8
Registered: October 2011
Junior Member
Unfortunately it doesn't work for me. Probably, because I'm using Eclipse 3.4, what I forgot to mention in my question.

Using the command provided by you I got following output:

The argument specifying what to install or uninstall is missing.
Re: How to check if a feature with given id is installed from the command line? [message #754368 is a reply to message #754251] Wed, 02 November 2011 11:02 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
krokodylowy wrote on Tue, 01 November 2011 12:06
:
The argument specifying what to install or uninstall is missing.


Try adding "-list". Search the help docs with your Eclipse install for the p2 director application.

Brian.
Previous Topic:Installing plug-ins and data (DLLs)
Next Topic:Dropins feature not working in Helios RCP
Goto Forum:
  


Current Time: Fri Dec 06 05:46:26 GMT 2024

Powered by FUDForum. Page generated in 0.03541 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top