Can I keep my settings upgrading Eclipse from Indigo to Juno?
EclipseEclipse JunoEclipse Problem Overview
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...
Eclipse Solutions
Solution 1 - Eclipse
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 - Eclipse
I followed the same way that AlanB described and had no problems upgrading from Indigo:
-
Add the Juno Update Site and the update sites of other projects you are using (under
Eclipse
>Preferences
>Available Software Sites
) -
Select
Help
>Check for Updates
-
Follow the update wizard (select everything you need, accept everything you have to)
-
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 - Eclipse
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.
Solution 4 - Eclipse
@AlanB, that doesn't work for me, because the releases repo does not include the Eclipse SDK. Maybe the organization has changed since you upgraded.
I had to add the following repository: http://download.eclipse.org/eclipse/updates/4.2/ to the available software sites.
Even then check updates doesn't work. Have to go through the install new software path, select the above repo, and then it shows Eclipse SDK, Eclipse Platform SDK, etc. options. Have to select the correct option to upgrade depending on the current installation (i.e., if it was a platform or SDK, etc.)
Hope this helps someone.
CC
Solution 5 - Eclipse
You can transfer most of your preferences by Export... > Preferences > Export all in your old installation and importing them into your new one.
Solution 6 - Eclipse
EDIT: This is for Linux users
This link should help: http://blog.brunobraga.net/eclipse-42-in-ubuntu-1204
Essentially you just need to replace your /usr/lib/eclipse with a new download of the latest version, and that's really about it.
Solution 7 - Eclipse
You can import existing projects from a common root folder using
File > Import... > General > Existing Projects into Workspace
in addition to the preference transfer (as thSoft suggested):
File > Export... > General > Preferences > Export all
File > Import... > General > Preferences > Import all
Solution 8 - Eclipse
You can use eclipse-perspective-share to migrate your perspectives.
My 2 cents.
Solution 9 - Eclipse
The first and second answers didn't work for me.
I ended up downloading the most recent version of eclipse and import the workspace and configurations from the previous version.
I found this video helpful http://www.youtube.com/watch?v=57vTrxFa3d4