Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Cleanup after update...
Cleanup after update... [message #292556] Fri, 07 October 2005 06:37 Go to next message
Eclipse UserFriend
Originally posted by: artekzx.REMOVEo2.pl

When user updates a feature the old version (all old versions) of the
feature (and all plugins) remain in plugins/features directories (they are
not used anomore).
Is there a way to make something like cleanup?
I mean how to delete all old versions automatically or it may be done at
runtime (my code might perform this work)?
Is there any api to find and delete old features/plugins?
I don't want to bother the user with such an "internal" work...

Thanks
Metal
Re: Cleanup after update... [message #292575 is a reply to message #292556] Fri, 07 October 2005 10:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

If the old plugins/features were installed using the update manager you
can use the Manage Configuration window to have it delete the feature
and plugins. The only extra step you need to do first is on the Manage
Configuration window is to select the "Show disabled features" toolbar
item so that the old feature shows in the list. Then you can select the
feature and from the popup menu do uninstall.

If they were installed by hand then you need to uninstall by hand. If
you had done a -clean then all of the features are marked as installed
by hand, even those that had been installed via the update manager.
|
--
Thanks,
Rich Kulp
Re: Cleanup after update... [message #292593 is a reply to message #292556] Fri, 07 October 2005 16:51 Go to previous message
Eclipse UserFriend
Metal wrote:

> When user updates a feature the old version (all old versions) of the
> feature (and all plugins) remain in plugins/features directories (they are
> not used anomore).
> Is there a way to make something like cleanup?
> I mean how to delete all old versions automatically or it may be done at
> runtime (my code might perform this work)?
> Is there any api to find and delete old features/plugins?
> I don't want to bother the user with such an "internal" work...
>
> Thanks
> Metal

It is better that delete all directories starting with 'org.eclipse' in
ECLIPSE_HOME/configuration

I haven't success with another solution

Peco
Re: Cleanup after update... [message #292602 is a reply to message #292575] Fri, 07 October 2005 16:19 Go to previous message
Eclipse UserFriend
Originally posted by: artekzx.REMOVEo2.pl

thanks, I know this solution
but I wanted to implement something in my code to do it automatically (no
user activity)
I'll try to search source code - maybe I'll find how to do it by myself



"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:di5v17$ptu$1@news.eclipse.org...
> If the old plugins/features were installed using the update manager you
> can use the Manage Configuration window to have it delete the feature
> and plugins. The only extra step you need to do first is on the Manage
> Configuration window is to select the "Show disabled features" toolbar
> item so that the old feature shows in the list. Then you can select the
> feature and from the popup menu do uninstall.
>
> If they were installed by hand then you need to uninstall by hand. If
> you had done a -clean then all of the features are marked as installed
> by hand, even those that had been installed via the update manager.
> |
> --
> Thanks,
> Rich Kulp
Previous Topic:eclipse.buildScript doesn't create @dot folder
Next Topic:log-rotate for eclipse
Goto Forum:
  


Current Time: Sun Nov 09 02:55:48 EST 2025

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

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

Back to the top