Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » p2director: How to list all IUs currently installed in Eclipse?
p2director: How to list all IUs currently installed in Eclipse? [message #541396] Sun, 20 June 2010 20:36 Go to next message
Michael Pellaton is currently offline Michael PellatonFriend
Messages: 289
Registered: July 2009
Senior Member
Hi

With p2director one can list all IUs present in a repository. However,
the same thing does not work for an Eclipse installation.

How can I list all IUs currently installed in an Eclipse installation
from the command line (without running Eclipse and hitting 'Help' >
'About')?

TIA
Michael
Re: p2director: How to list all IUs currently installed in Eclipse? [message #541583 is a reply to message #541396] Mon, 21 June 2010 15:40 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
You can use the org.eclipse.equinox.p2.director application with -list, you
just need to specify the profile of the Eclipse install you are interested
in.

The profile ID is in the config.ini file specified with
"eclipse.p2.profile", as an example, my Eclipse SDK has profile
"SDKProfile", so the command line is:

-application org.eclipse.equinox.p2.director -list -metadataRepository
file:/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegist ry/SDKProfile.profile

-Andrew
Michael Pellaton wrote:

> Hi
>
> With p2director one can list all IUs present in a repository. However,
> the same thing does not work for an Eclipse installation.
>
> How can I list all IUs currently installed in an Eclipse installation
> from the command line (without running Eclipse and hitting 'Help' >
> 'About')?
>
> TIA
> Michael
Re: p2director: How to list all IUs currently installed in Eclipse? [message #541620 is a reply to message #541583] Mon, 21 June 2010 19:38 Go to previous message
Michael Pellaton is currently offline Michael PellatonFriend
Messages: 289
Registered: July 2009
Senior Member
Thanks Andrew, that's exactly what I was looking for!

Michael
Previous Topic:RCP App Startup: why STARTING is the status of my 'unused' plugin?
Next Topic:SWT jars with maven
Goto Forum:
  


Current Time: Thu Apr 25 23:33:55 GMT 2024

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

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

Back to the top