Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » How to uninstall plugins with custom configuration directory(Uninstall plugins with org.eclipse.equinox.p2.director )
How to uninstall plugins with custom configuration directory [message #1858971] Wed, 03 May 2023 15:04
Alex Feil is currently offline Alex FeilFriend
Messages: 1
Registered: May 2023
Junior Member
We use eclipse in our open source project and offer the possibility to install eclipse in a sandbox. Further there is an option to install plugins via CLI.

For this we use:

org.eclipse.equinox.p2.director -repository "${plugin_url}" -installIU "${plugin_id}" -configuration "${DEVON_IDE_HOME}/software/eclipse-plugins/configuration/")

this kind of command. The installation works correctly and all plugins in an external location as required.

The problem is that I could not figure out how to uninstall plugins via the same command.

org.eclipse.equinox.p2.director -uninstallIU "${plugin_id}"

I tried using the -configuration and -destination options, but it does not work with uninstalling plugins.

So the question is how it is possible to uninstall plugins that are are in an external location installed with the -configuration option.

Source code can be found here:

[Updated on: Thu, 04 May 2023 10:23]

Report message to a moderator

Previous Topic:No HTTP basic auth in software sites?
Next Topic:Obtain installed size for installed IUs
Goto Forum:
  


Current Time: Wed Apr 24 13:37:01 GMT 2024

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

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

Back to the top