如何防止升级后的 Eclipse Oxygen 自动降级

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/44821728/
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-19 23:26:20  来源:igfitidea点击:

How to prevent upgraded Eclipse Oxygen from automatically downgrading

eclipseeclipse-oxygenoomph

提问by anothernode

I'm trying to Upgrade Eclipse Neon to Oxygen on Windows 10.

我正在尝试在 Windows 10 上将 Eclipse Neon 升级为 Oxygen。

I started Eclipse with Administrator privileges and then followed the instructions described in the Eclipse Wiki.

我以管理员权限启动 Eclipse,然后按照Eclipse Wiki 中描述的说明进行操作。

The upgrade runs without errors and prompts for a restart. After the restart, Oxygen comes up without errors and everything seems fine. But when I close Eclipse and start it again, it's back to Neon, duh.

升级运行没有错误并提示重新启动。重新启动后,Oxygen 没有错误出现,一切似乎都很好。但是当我关闭 Eclipse 并再次启动它时,它又回到了 Neon,呃。

Oh, how I miss Arch Linux's pacman...

哦,我多么想念 Arch Linux 的pacman......

回答by Necreaux

I had the same problem. Every restart after the initial upgrade from Neon to Oxygen, I got a "Requirements Update" dialog that prompted me to downgrade some of my components from 4.7 to 4.6 after which point I was back on Neon. Oops. Apparently "Oomph" still thought I should be on Neon and was trying to "fix" things.

我有同样的问题。从 Neon 初始升级到 Oxygen 后,每次重新启动时,都会出现“要求更新”对话框,提示我将某些组件从 4.7 降级到 4.6,之后我又回到了 Neon。哎呀。显然,“Oomph”仍然认为我应该在 Neon 上并试图“修复”一些事情。

I followed the following step outlined here:

我遵循了此处概述的以下步骤:

https://www.eclipse.org/forums/index.php/t/1082235/

https://www.eclipse.org/forums/index.php/t/1082235/

open the Installation setup (Navigate -> Open Setup -> Installation) and in the properties view change the product version to say Oxygen

打开安装设置(导航 -> 打开设置 -> 安装)并在属性视图中将产品版本更改为氧气

After I did this, Oomph left me on Oxygen after this.

在我这样做之后,Oomph 在这之后让我继续使用 Oxygen。

回答by anothernode

I "solved" the problem by

我“解决”了这个问题

  1. downloading the Oxygen installer,
  2. installing Eclipse Oxygen as a separate instance,
  3. installing all the plugins I need in Oxygen,
  4. exporting the preferences from Neon and importing them in Oxygen.
  1. 下载氧气安装程序,
  2. 将 Eclipse Oxygen 作为单独的实例安装,
  3. 在 Oxygen 中安装我需要的所有插件,
  4. 从 Neon 导出首选项并将其导入 Oxygen。

A bit annoying, but it works and is probably still way more effective than figuring out what is going wrong with Eclipse's upgrade mechanism...

有点烦人,但它有效并且可能仍然比找出 Eclipse 升级机制出了什么问题更有效......