Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to uninstall old version of plugins
How to uninstall old version of plugins [message #335971] Tue, 12 May 2009 05:07 Go to next message
Jarod Liu is currently offline Jarod LiuFriend
Messages: 2
Registered: July 2009
Junior Member
The version of Eclipse I using is 3.5M7.
I used the "Install New Software..." installed some plugins. Today some of
these plugins have new version, and I upgrade it. But I found the old
version of the upgraded plugins still there and I find no way to uninstall
it.
Please someone tell me how to do plugin uninstallations.
Re: How to uninstall old version of plugins [message #335981 is a reply to message #335971] Tue, 12 May 2009 18:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Jarod Liu wrote:
> The version of Eclipse I using is 3.5M7.
> I used the "Install New Software..." installed some plugins. Today some
> of these plugins have new version, and I upgrade it. But I found the old
> version of the upgraded plugins still there and I find no way to
> uninstall it.
> Please someone tell me how to do plugin uninstallations.
>

There is no user interface to do that; in fact, it is usually
recommended to leave the old versions in place because that is how the
"Revert Configuration" feature is implemented, which allows you to roll
back to a previous set of plug-ins at any time.
Do you have a particular reason for wanting to lose the old versions?

Eric
Re: How to uninstall old version of plugins [message #335985 is a reply to message #335981] Tue, 12 May 2009 18:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Hi,

My 2-cents. :-)

It gets cluttered and takes up a lot of space over time. And I don't
care about reverting. If I did I would leave it there. I like to clean
up every once and a while.

Eric Rizzo wrote:
> Jarod Liu wrote:
>> The version of Eclipse I using is 3.5M7.
>> I used the "Install New Software..." installed some plugins. Today
>> some of these plugins have new version, and I upgrade it. But I found
>> the old version of the upgraded plugins still there and I find no way
>> to uninstall it.
>> Please someone tell me how to do plugin uninstallations.
>>
>
> There is no user interface to do that; in fact, it is usually
> recommended to leave the old versions in place because that is how the
> "Revert Configuration" feature is implemented, which allows you to roll
> back to a previous set of plug-ins at any time.
> Do you have a particular reason for wanting to lose the old versions?
>
> Eric

--
Thanks,
Rich Kulp
Re: How to uninstall old version of plugins [message #335990 is a reply to message #335981] Wed, 13 May 2009 02:27 Go to previous messageGo to next message
Jarod Liu is currently offline Jarod LiuFriend
Messages: 2
Registered: July 2009
Junior Member
Eric Rizzo wrote:

> Jarod Liu wrote:
>> The version of Eclipse I using is 3.5M7.
>> I used the "Install New Software..." installed some plugins. Today some
>> of these plugins have new version, and I upgrade it. But I found the old
>> version of the upgraded plugins still there and I find no way to
>> uninstall it.
>> Please someone tell me how to do plugin uninstallations.
>>

> There is no user interface to do that; in fact, it is usually
> recommended to leave the old versions in place because that is how the
> "Revert Configuration" feature is implemented, which allows you to roll
> back to a previous set of plug-ins at any time.
> Do you have a particular reason for wanting to lose the old versions?

> Eric


I don't like the revert function neither. I used the same set of plugins
in different machines. If the eclipse dir grow by time and no way to cut
fat. My 256MB usb disk can not take it any more...
I think the revert function as a optional addon would be better.
Re: How to uninstall old version of plugins [message #336003 is a reply to message #335985] Wed, 13 May 2009 15:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Rich Kulp wrote:
> Hi,
>
> My 2-cents. :-)
>
> It gets cluttered and takes up a lot of space over time. And I don't
> care about reverting. If I did I would leave it there. I like to clean
> up every once and a while.

Well, you can of course try that manually. But there is a certain amount
of danger in doing so. Some plug-ins can actually have more than one
version loaded at a time; depending on the expressed dependencies of
other plug-ins, removing an old version could cause problems for others.

For example, let's say that PluginA depends on version 1.0 of PluginZ.
Now let's say that you install version 2.0 of PluginZ and that PluginZ
is NOT a singleton plug-in. So Eclipse (OSGi, actually) is happy to load
both versions during runtime, one to satisfy the requirement of PluginA
and the other because it is the latest available version (maybe it is
required PluginB).
If you just bindly remove version 1.0 of PluginZ, PluginA will no longer
load (because it depended on PluginZ 1.0). See the problem? Because
plug-in interdependencies are so flexible and open-ended, it can be
tricky to know what is safe to remove and what to keep.

You can say "well I don't have that kind of scenario" and you might be
right, but it is almost impossible for a human to tell for sure, because
you'd have to know the transitive closure of all installed plug-in
dependencies. That is why p2 (and OSGi) are complex frameworks that
manage this stuff for you :-) Besides, p2 does not take too kindly to
changes made in plugins/ or features/ directories behind its back.

Bottom line, you can probably get away with removing old plug-in
versions manually for a while, but do it enough times and you will
probably eventually screw up your installation.



>
> Eric Rizzo wrote:
>> Jarod Liu wrote:
>>> The version of Eclipse I using is 3.5M7.
>>> I used the "Install New Software..." installed some plugins. Today
>>> some of these plugins have new version, and I upgrade it. But I found
>>> the old version of the upgraded plugins still there and I find no way
>>> to uninstall it.
>>> Please someone tell me how to do plugin uninstallations.
>>>
>>
>> There is no user interface to do that; in fact, it is usually
>> recommended to leave the old versions in place because that is how the
>> "Revert Configuration" feature is implemented, which allows you to
>> roll back to a previous set of plug-ins at any time.
>> Do you have a particular reason for wanting to lose the old versions?
>>
>> Eric
>
Re: How to uninstall old version of plugins [message #336036 is a reply to message #336003] Thu, 14 May 2009 12:24 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

That's just it. I don't want to manually remove them. Going through the
directories myself and removing them by hand is dangerous. I want to
remove a feature through the Configuration Maintenance. Especially if
the feature is now disabled, which it would be if I added a new version
of the feature. I often have three, four, or more versions of a feature
as I go through work on the feature or download newer versions. This
causes a lot of clutter.

Of course the Configuration program needs to be smart enough to not
remove a plugin that is shared between an active and an inactive
feature. But if the plugin is only in the feature being removed, then it
should go away too.

Eric Rizzo wrote:
> Rich Kulp wrote:
>> Hi,
>>
>> My 2-cents. :-)
>>
>> It gets cluttered and takes up a lot of space over time. And I don't
>> care about reverting. If I did I would leave it there. I like to clean
>> up every once and a while.
>
> Well, you can of course try that manually. But there is a certain amount
> of danger in doing so. Some plug-ins can actually have more than one
> version loaded at a time; depending on the expressed dependencies of
> other plug-ins, removing an old version could cause problems for others.
>
> For example, let's say that PluginA depends on version 1.0 of PluginZ.
> Now let's say that you install version 2.0 of PluginZ and that PluginZ
> is NOT a singleton plug-in. So Eclipse (OSGi, actually) is happy to load
> both versions during runtime, one to satisfy the requirement of PluginA
> and the other because it is the latest available version (maybe it is
> required PluginB).
> If you just bindly remove version 1.0 of PluginZ, PluginA will no longer
> load (because it depended on PluginZ 1.0). See the problem? Because
> plug-in interdependencies are so flexible and open-ended, it can be
> tricky to know what is safe to remove and what to keep.
>
> You can say "well I don't have that kind of scenario" and you might be
> right, but it is almost impossible for a human to tell for sure, because
> you'd have to know the transitive closure of all installed plug-in
> dependencies. That is why p2 (and OSGi) are complex frameworks that
> manage this stuff for you :-) Besides, p2 does not take too kindly to
> changes made in plugins/ or features/ directories behind its back.
>
> Bottom line, you can probably get away with removing old plug-in
> versions manually for a while, but do it enough times and you will
> probably eventually screw up your installation.
>
>
>
>>
>> Eric Rizzo wrote:
>>> Jarod Liu wrote:
>>>> The version of Eclipse I using is 3.5M7.
>>>> I used the "Install New Software..." installed some plugins. Today
>>>> some of these plugins have new version, and I upgrade it. But I
>>>> found the old version of the upgraded plugins still there and I find
>>>> no way to uninstall it.
>>>> Please someone tell me how to do plugin uninstallations.
>>>>
>>>
>>> There is no user interface to do that; in fact, it is usually
>>> recommended to leave the old versions in place because that is how
>>> the "Revert Configuration" feature is implemented, which allows you
>>> to roll back to a previous set of plug-ins at any time.
>>> Do you have a particular reason for wanting to lose the old versions?
>>>
>>> Eric
>>

--
Thanks,
Rich Kulp
Previous Topic:Suppress "Open With" context menu action
Next Topic:Intland Software is looking for a Java developer with Eclipse, VCS experience
Goto Forum:
  


Current Time: Fri Apr 19 21:04:13 GMT 2024

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

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

Back to the top