Reverting Changes in an Eclipse Installation using p2

Reverting Changes in an Eclipse Installation using p2

I was helping a colleague with some Eclipse install issues and was surprised he didn’t know about the ability to revert to a previous install configuration. Equinox p2 makes the revert process sane compared to the old Eclipse Update story. So everyone knows, to revert to a previous configuration of an Eclipse install, this is what you do…

First, open the About dialog and click the Installation Details button:

About Eclipse SDK

From the list, you can select a previous configuration and click the Revert button to go back in time:

Eclipse Installation History Dialog

It’s that simple!

As a bonus in Eclipse 3.6, you’ll be able to compare two configurations to see differences via the Compare button:

Comparing Install Configurations using p2

Once you do that, you should see a compare dialog with the changes:

Comparing Installation History using Equinox p2

Hope this helps!