Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Uninstalling features doesn't remove plug-ins
Uninstalling features doesn't remove plug-ins [message #121081] Wed, 12 November 2008 11:10 Go to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Hi, I am testing the installation and uninstallation of a Feature from
Local Site with Eclipse R3.5 M3 and I have observed that when I
unsintall the Feature, it is removed from /fetaures directory but the
Plug-ins remains in /plugins directory. Is this the normal behavior?

Thanks in advance,

Chemi.
Re: Uninstalling features doesn't remove plug-ins [message #121089 is a reply to message #121081] Wed, 12 November 2008 12:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Chemi wrote:
> Hi, I am testing the installation and uninstallation of a Feature from
> Local Site with Eclipse R3.5 M3 and I have observed that when I
> unsintall the Feature, it is removed from /fetaures directory but the
> Plug-ins remains in /plugins directory. Is this the normal behavior?
>
> Thanks in advance,
>
> Chemi.
Same behavior in Eclipse R3.4.1. Any comment? I am searching the web
with no luck.

Thanks in advance,

Chemi.
Re: Uninstalling features doesn't remove plug-ins [message #121107 is a reply to message #121089] Wed, 12 November 2008 19:38 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Chemi,

This is expected. The plugins are cleaned out by a garbage collection
process that is "off by one". By this I mean that your unreferenced plugins
will get removed after the next provisioning operation. We do this partly to
avoid a problem deleting files while the framework is still holding a
reference to the bundle open. After re-starting try installing something
else and you should see the bundles get cleaned up.

HTH
-Simon

"Chemi" <jmordax@terra.es> wrote in message
news:gfeivk$ej6$1@build.eclipse.org...
> Chemi wrote:
>> Hi, I am testing the installation and uninstallation of a Feature from
>> Local Site with Eclipse R3.5 M3 and I have observed that when I unsintall
>> the Feature, it is removed from /fetaures directory but the Plug-ins
>> remains in /plugins directory. Is this the normal behavior?
>>
>> Thanks in advance,
>>
>> Chemi.
> Same behavior in Eclipse R3.4.1. Any comment? I am searching the web with
> no luck.
>
> Thanks in advance,
>
> Chemi.
Re: Uninstalling features doesn't remove plug-ins [message #121116 is a reply to message #121107] Wed, 12 November 2008 20:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Simon Kaegi wrote:
> Hi Chemi,
>
> This is expected. The plugins are cleaned out by a garbage collection
> process that is "off by one". By this I mean that your unreferenced plugins
> will get removed after the next provisioning operation. We do this partly to
> avoid a problem deleting files while the framework is still holding a
> reference to the bundle open. After re-starting try installing something
> else and you should see the bundles get cleaned up.
>
> HTH
> -Simon
I see, thank you for the explanation.
BTW, what about clean them just after a restart? Why should we wait
until we install something else?

Thanks again,

Chemi.
Re: Uninstalling features doesn't remove plug-ins [message #121170 is a reply to message #121107] Thu, 13 November 2008 19:37 Go to previous message
Eclipse UserFriend
Originally posted by: reavertm.poczta.fm

Simon Kaegi wrote:
> This is expected. The plugins are cleaned out by a garbage collection
> process that is "off by one". By this I mean that your unreferenced
> plugins will get removed after the next provisioning operation. We do this
> partly to avoid a problem deleting files while the framework is still
> holding a reference to the bundle open. After re-starting try installing
> something else and you should see the bundles get cleaned up.

Well, still some orphaned plugins exist in my plugins folder - left after plugins that are no longer installed on my eclipse. Maybe p2 is not trying to get rid of all unknown (not listed in features at least) .jars in plugins folder, but just tries to purge old versions when they are updated?

regards

(my 1st message here so I'm tuning my newsreader, forgive me everything :)
Previous Topic:Update Site name
Next Topic:Root file in P2-ized build
Goto Forum:
  


Current Time: Fri Sep 20 15:56:36 GMT 2024

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

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

Back to the top