Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » -p2 directory call with -uninstallIU
-p2 directory call with -uninstallIU [message #642206] Tue, 30 November 2010 06:53 Go to next message
Daniel Krügler is currently offline Daniel Krügler
Messages: 853
Registered: July 2009
Senior Member
I recently installed a feature and it's plugins to a p2-enabled RCP
application with success: Both the feature and the plugins are installed
as expected in the plugins and feature folder of the RCP app.
As suggested I added the ".feature.group" string as IU identifier

After this I tried an uninstall process, where I changed only the
following lines:

1) I replaced the call argument

-installIU someid.feature.group

by

-uninstallIU someid.feature.group

2) I did not list the -repository argument

This deinstallation seems to have succeeded (no error message or log
file) and as expected the before installed feature is no longer existing
in the features folder. *But* the plugins are still part of the plugins
folder. Is this a known and expected behaviour? Personally I would
strongly appreciate to have the plugins removed as well. Is there some
additional call argument necessary to realize that?

Thanks & Greetings from Bremen,

Daniel Krügler
Re: -p2 directory call with -uninstallIU [message #643003 is a reply to message #642206] Fri, 03 December 2010 11:01 Go to previous messageGo to next message
Jacek Pospychala is currently offline Jacek Pospychala
Messages: 159
Registered: July 2009
Senior Member
hi,
it's generally problematic. In the past, they were kept to don't break other still installed plugins, that may depend on them.
Eclipse was able to decide to remove them, but only after another run. I think this is still the case.
Re: -p2 directory call with -uninstallIU [message #643353 is a reply to message #643003] Mon, 06 December 2010 10:41 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel Krügler
Messages: 853
Registered: July 2009
Senior Member
On 12/3/2010 17:01, Jacek Pospychala wrote:
> hi,
> it's generally problematic. In the past, they were kept to don't break
> other still installed plugins, that may depend on them.
> Eclipse was able to decide to remove them, but only after another run. I
> think this is still the case.

Let me refine my question then: Do you suggest a second
uninstall run with the *exact* same number of parameters as in the first
step? I thought I tried that and this was not successful, because the
bundles had already been uninstalled. I look into this a second time,
though.

Thanks & Greetings from Bremen,

Daniel Krügler
Re: -p2 directory call with -uninstallIU [message #643412 is a reply to message #643353] Mon, 06 December 2010 14:00 Go to previous message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2492
Registered: July 2009
Senior Member
Afaik, things should be removed by the p2 gc which runs as part of any
p2 operation. It may be possible to only run the gc...
- henrik

Daniel Krügler <dsp@bdal.de> wrote:
> On 12/3/2010 17:01, Jacek Pospychala wrote:
>> hi,
>> it's generally problematic. In the past, they were kept to don't
> > break
>> other still installed plugins, that may depend on them.
>> Eclipse was able to decide to remove them, but only after another
> > run. I
>> think this is still the case.
>
> Let me refine my question then: Do you suggest a second
> uninstall run with the *exact* same number of parameters as in the
> first step? I thought I tried that and this was not successful,
> because the bundles had already been uninstalled. I look into this a
> second time, though.
>
> Thanks & Greetings from Bremen,
>
> Daniel Krügler


--
- henrik
Previous Topic:IProvisioningAgent returns no services
Next Topic:Missing requirement during Equinox p2 director application usage
Goto Forum:
  


Current Time: Sat Apr 19 23:23:49 EDT 2014

Powered by FUDForum. Page generated in 0.01521 seconds