Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » director -uninstallIU not working properly
director -uninstallIU not working properly [message #685114] Thu, 16 June 2011 16:49 Go to next message
Eclipse User
Originally posted by: Bluedoze

Hi,

I'm trying to use the director to remove junit plugins from my
installation, the command I'm using is

<path-to-director>/director -uninstallIU org.junit -destination
`pwd`/linux_gtk_x86_3.6 -profile SDKProfile -purgeHistory


I'm seeing the output
Uninstalling org.junit 4.8.1.v4_8_1_v20100427-1100.
Uninstalling org.junit 3.8.2.v3_8_2_v20100427-1100.
Operation completed in 4358 ms.


but the plugins are still there. <install>/artifacts.xml still have the
plugins, and bundles.info also still have them.


Am I doing something wrong?

I know that this may break some dependencies, but that is OK for now. No
JUnit functionality is needed by my users.


Any help is appreciated.
Re: director -uninstallIU not working properly [message #685921 is a reply to message #685114] Mon, 20 June 2011 14:17 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Because those plugins are part of the SDK product/JDT feature, you can't uninstall them separately. p2 won't allow you to break dependencies like that (it's a fundamental part of its design). I'm not even sure you can feature.patch JDT and remove them as a dependency.

I was pretty sure there was a bug open about the fact it looks like it succeeded (but it doesn't). But I cannot find it.

PW


Previous Topic:Install Plugins via P2 in RCP
Next Topic:[FIXED] How to specify autostart for plugins installed via director
Goto Forum:
  


Current Time: Sat Aug 30 00:25:27 EDT 2014

Powered by FUDForum. Page generated in 0.01556 seconds