Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » director -uninstallIU
director -uninstallIU [message #685111] Thu, 16 June 2011 20: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 [message #685533 is a reply to message #685111] Fri, 17 June 2011 17:51 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

If a feature or product you include specifies them, p2 won't remove them AFAIK as that would invalidate your installation configuration.

It think it's just not reporting that it won't remove them.

PW


Re: director -uninstallIU [message #686153 is a reply to message #685111] Sun, 19 June 2011 14:37 Go to previous message
Michael Pellaton is currently offline Michael Pellaton
Messages: 289
Registered: July 2009
Senior Member
Hi,

> 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.

AFAIK, P2 always leaves you with an intact installation and you cannot
force inconsistencies.

The only way to get rid of JUnit is to go through the entire dependency
tree and remove all dependent components too.

Michael
Previous Topic:[p2.director] protected repository with login/password
Next Topic:Trusted Bundles
Goto Forum:
  


Current Time: Wed Oct 01 20:37:56 GMT 2014

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

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