Can I keep my settings upgrading Eclipse from Indigo to Juno?

How can I upgrade Eclipse from Indigo to Juno without losing all of my customizations?

I've tried two different things, neither of which worked:

  • Export prefs from Indigo and import into Juno
  • Run Juno on a copy of the Indigo workspace

It's so annoying to have to start from scratch with every upgrade...


Solution 1:

I am no expert, but I just added new sites to my "Available Software Sites" (help -> install new software -> Available Software Sites)

http://download.eclipse.org/releases/juno

http://download.eclipse.org/tools/cdt/releases/juno

and updated (help -> install updates).

After the update

http://download.eclipse.org/eclipse/updates/4.2 had been added http://download.eclipse.org/eclipse/updates/3.7 had been disabled http://download.eclipse.org/tools/cdt/releases/indigo had been disabled

maybe other changes that I didn't notice.

Everything seems to work as expected - project list remains - perspectives remain - the only thing that wasn't preserved seemed to be the editor tabs that were open in the workspace, but that is small loss. So hopefully that was the right way to do it - unless someone wants to tell me differently.

Alan

Solution 2:

I followed the same way that AlanB described and had no problems upgrading from Indigo:

  1. Add the Juno Update Site and the update sites of other projects you are using (under Eclipse > Preferences > Available Software Sites)

  2. Select Help > Check for Updates

  3. Follow the update wizard (select everything you need, accept everything you have to)

  4. Restart Eclipse

Additional information:

FAQ entry in the eclipse.org wiki: "How do I upgrade Eclipse?"

Eclipse Juno (4.2) Readme (slightly more detailed): "Upgrading Workspace from a Previous Release"

Solution 3:

You guys are making this into a much bigger issue than it really is, Eclipse is designed to be portable, i.e. it doesn't need to be installed or store settings in the registry etc...

Upgrading and maintaining settings is as simple as downloading version Y and extracting it into the version X folder overwriting everything but the configuration folder. The new version configuration folder only has 2 or 3 generic files in it anyway until after the first time it is run. I've done this over the past 4 versions of Eclipse and never had a problem.

The only thing to keep in mind is that anything that's not included in whichever specialized version you're using may need to be upgraded, but that's simply a matter of clicking check for upgrades under help after running the new version for the first time.