After update, old Eclipse plugins remain in "plugins" folder (there are also leftovers in "features" folder).
Is there a way to remove those automatically?
After update, old Eclipse plugins remain in "plugins" folder (there are also leftovers in "features" folder).
Is there a way to remove those automatically?
Eclipse allows you to revert back to any previous configuration (go to the Help menu, then "Software Updates"). My guess is that Eclipse won't remove these old versions, or this functionality would no longer work.
If when you restart Eclipse you provide the "-clean" argument, it performs various cleanup operations, but for reasons stated above I don't think it will remove old plugins/features.
With Ganymede (3.4), the correct way to manage your plugins would be to drop them in the 'dropins' folder:
\[eclipse\]/dropins/eclemma1.3.1/eclipse/(plugins|features)
That plugin will be detected by the 'p2' provisioning mechanism and used, but not copied in the plugins and features directories of eclipse. It stays in the dropins folder.
When you will drop eclemma1.3.2, all you have to do is delete eclemma1.3.1 from your dropins directory, and that old version is gone.
See one of my page at http://www.myeclipsedev.com/articles/p2cleanup.htm