如何从 Eclipse Mars 升级到 Eclipse Neon?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/37985459/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 05:39:13  来源:igfitidea点击:

How to upgrade from Eclipse Mars to Eclipse Neon?

eclipseupgrade

提问by jpmath

To upgrade to a new version, the eclipse FAQ suggeststo add a new repository and then install available updates. Upgrading to Neon, the corresponding repository is http://download.eclipse.org/releases/neon/.

要升级到新版本,eclipse FAQ建议添加一个新的存储库,然后安装可用的更新。升级到 Neon,对应的仓库是http://download.eclipse.org/releases/neon/

On this page, it says:

在这个页面上,它说:

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 版本。如果对技术细节感兴趣,请参阅错误 332989 和错误 490515。

I still tried to above procedure, but no updates were found. What is the best way to upgrade from Mars to Neon? A complete new installation? How do I preserve my settings?

我仍然尝试上述过程,但没有找到更新。从火星升级到霓虹灯的最佳方法是什么?一个完整的新安装?如何保留我的设置?

采纳答案by Mickael

The note on the repository page is right. Thanks to your report, I edited the FAQ to make it clear that upgrading packages from Mars to Neon is not supported.

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

Instead you need to to a fresh install for Neon (or later).

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

回答by Edgar H

It is not possible to upgrade from Mars (or earlier versions), so a new install is needed.

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

This can be in parallel with the old install. From the 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

全新安装

如果您不想执行更新(例如,由于某些 3rd-party 内容尚未为当前版本的 Eclipse IDE 准备好,因此更新报告冲突),您仍然可以下载全新安装的 Eclipse IDE 并将其安装在另一个文件系统上的位置,并将其与以前的版本一起使用。

为此,请从 Eclipse 下载网站 ( https://www.eclipse.org/downloads/eclipse-packages/)下载一个新版本并运行安装程序或将存档解压缩到新目录中。我们强烈建议不要在现有版本的 Eclipse IDE 上安装/解压缩,因为它可能会损坏您的安装。

当您启动新版本的 Eclipse IDE 时,您可以使用与旧版本相同的现有工作区文件夹。工作区将迁移到更新版本,Eclipse IDE 将重用所有配置。工作区向前兼容

回答by tharpa

I tried to upgrade in the recommended way, by adding the repository links and doing an update, but then I got a lot of conflict messages. I foolishly tried to remove the conflicting software components, until it told me that Eclipse itself was the conflict! I posted my problem to the Eclipse Forums, and was told by a regular with tens of thousands of posts that Neon was so different that I should not even try to upgrade, just create a new installation. When I tried to do that however, I got lots of warnings "That the artifact download is progressing very slowly from ..."

我尝试以推荐的方式升级,通过添加存储库链接并进行更新,但随后我收到了很多冲突消息。我愚蠢地试图删除冲突的软件组件,直到它告诉我 Eclipse 本身就是冲突!我将我的问题发布到了 Eclipse 论坛,一个有数万个帖子的常客告诉我,Neon 是如此不同,我什至不应该尝试升级,只需创建一个新的安装。然而,当我尝试这样做时,我收到了很多警告“神器下载进展非常缓慢……”