Uninstalling features doesn't remove plug-ins [message #121081] |
Wed, 12 November 2008 11:10 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 #121116 is a reply to message #121107] |
Wed, 12 November 2008 20:36 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 :)
|
|
|
Powered by
FUDForum. Page generated in 0.03467 seconds