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

后端 未结 9 1494
别跟我提以往
别跟我提以往 2021-01-30 01:14

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 pr
相关标签:
9条回答
  • 2021-01-30 01:51

    @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

    0 讨论(0)
  • 2021-01-30 01:57

    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.

    0 讨论(0)
  • 2021-01-30 02:01

    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

    0 讨论(0)
  • 2021-01-30 02:03

    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

    0 讨论(0)
  • 2021-01-30 02:04

    You can use eclipse-perspective-share to migrate your perspectives.

    My 2 cents.

    0 讨论(0)
  • 2021-01-30 02:07

    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.

    0 讨论(0)
提交回复
热议问题