如何从 Eclipse Mars 升级到 Eclipse Neon?

How to upgrade from Eclipse Mars to Eclipse Neon?

要升级到新版本,eclipse FAQ suggests to add a new repository and then install available updates. Upgrading to Neon, the corresponding repository is http://download.eclipse.org/releases/neon/

在这个页面上,它说:

NOTE: Due to structural changes you cannot update from a Mars (or prior) all-in-one package to a Neon version. If interested in the technical details, see bug 332989 and bug 490515.

我仍然尝试了上述过程,但没有找到更新。从 Mars 升级到 Neon 的最佳方式是什么?全新安装?如何保留我的设置?

我尝试通过添加存储库链接并进行更新来按照推荐的方式进行升级,但随后我收到了很多冲突消息。我愚蠢地试图删除冲突的软件组件,直到它告诉我 Eclipse 本身就是冲突!我将我的问题发布到 Eclipse 论坛,一位拥有数以万计帖子的常客告诉我,Neon 如此不同,我什至不应该尝试升级,只需创建一个新安装即可。然而,当我尝试这样做时,我收到了很多警告 "That the artifact download is progressing very slowly from ..."

存储库页面上的说明是正确的。感谢您的报告,我编辑了常见问题解答,明确表示不支持将软件包从 Mars 升级到 Neon。

相反,您需要为 Neon(或更高版本)进行全新安装。

无法从 Mars(或更早版本)升级,因此需要重新安装。

这可以与旧安装同时进行。来自 FAQ:

Fresh install

If you prefer not performing an update (for example because some 3rd-party content isn't ready for the current release of Eclipse IDE so the update reports conflicts), you can still download a fresh install of the Eclipse IDE and install it in another location on your filesystem, and use it together with the previous version.

To do so, download a new build from the Eclipse download Web site (https://www.eclipse.org/downloads/eclipse-packages/) and run the installer or unzip the archive in a new directory. We strongly recommend against installing/unzipping over your existing version of Eclipse IDE as it may corrupt your installation.

When you start a new version of Eclipse IDE, you can use the same existing workspace folder that you were using with older version. The workspace will be migrated to newer version and Eclipse IDE will to reuse all configuration. The workspace is forward compatible