如何将 Eclipse 从 3.4 (Ganymede) 更新到 3.5 (Galileo)?

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

How to update Eclipse from 3.4 (Ganymede) to 3.5 (Galileo)?

eclipseupgradeganymedegalileo

提问by Vilx-

I've got my Eclipse 3.4 envirnoment set up nice and cozy the way I like it. Took me some time too, to find all the plugins (Mylin, PDT, Subclipse), set all the settings, etc. Now I see that some of the plugins (like PDT) only support 3.5 in their latest versions.

我已经按照我喜欢的方式设置了我的 Eclipse 3.4 环境。我也花了一些时间,找到所有插件(Mylin、PDT、Subclipse),设置所有设置等。现在我看到一些插件(如 PDT)在其最新版本中仅支持 3.5。

Is it possible to update from 3.4 to 3.5? I'd hate to do it all again.

是否可以从 3.4 更新到 3.5?我不想再做这一切。

I read in some mailing list where they noted that it's possible, but the conversation trailed off in another direction. Google wasn't much help, and Eclipse's documentation either.

我在一些邮件列表中读到,他们指出这是可能的,但谈话在另一个方向上减弱了。谷歌并没有太大帮助,Eclipse 的文档也是如此。

采纳答案by Adam Batkin

All of your settings are actually stored as part of your workspace. So you could do a fresh install of the latest version of Eclipse, add the extra plugins that you want (many of which will have newer versions for Eclipse 3.5) and when you launch, just make sure you point to your old workspace.

您的所有设置实际上都存储为工作区的一部分。因此,您可以全新安装最新版本的 Eclipse,添加所需的额外插件(其中许多插件将具有适用于 Eclipse 3.5 的更新版本),并且在启动时,只需确保指向旧工作区即可。

回答by lmsurprenant

Help -> Software Updates... -> Available Software tab -> Add Site...

帮助 -> 软件更新... -> 可用软件选项卡 -> 添加站点...

Enter the update site for the Galileo (3.5) release train: http://download.eclipse.org/releases/galileo

进入 Galileo (3.5) 发布系列的更新站点:http: //download.eclipse.org/releases/galileo

Now go back to the Installed Software tab and click the Update... button. After some computation you should be presented with a list of available updates (or some cryptic errors about how your current environment cannot be updated due to compatibility issues).

现在返回到已安装的软件选项卡并单击更新...按钮。经过一些计算,您应该会看到可用更新列表(或一些有关由于兼容性问题而无法更新当前环境的神秘错误)。

回答by Alex Angelico

This is what I did.

这就是我所做的。

1.- My workspace was in c:\Users\me\workspace. I copied this folder to c:\users\me\eclipse\workspace-3.4and to c:\users\me\eclipse\workspace-3.5So now I have twice the same, just with different names.

1.- 我的工作区在c:\Users\me\workspace. 我将这个文件夹复制到c:\users\me\eclipse\workspace-3.4和复制到c:\users\me\eclipse\workspace-3.5所以现在我有两次相同的,只是名称不同。

2.- Extracted eclipse-SDK-3.5-win32.zipto C:\program files\eclipse-SDK-3.5-win32

2.- 提取eclipse-SDK-3.5-win32.zipC:\program files\eclipse-SDK-3.5-win32

3.- Run Eclipse 3.4 and changed the workspace from c:\Users\me\workspaceto c:\users\me\eclipse\workspace-3.4. Then I closed Eclipse.

3.- 运行 Eclipse 3.4 并将工作区从 更改c:\Users\me\workspacec:\users\me\eclipse\workspace-3.4。然后我关闭了 Eclipse。

4.- Run Eclipse 3.5 and selected c:\users\me\eclipse\workspace-3.5as the workspace location (you can also use the -dataargument I think).

4.- 运行 Eclipse 3.5 并选择c:\users\me\eclipse\workspace-3.5作为工作区位置(您也可以使用-data我认为的参数)。

5.- Downloaded and installed the PDT plugin (I develop in PHP).

5.- 下载并安装了 PDT 插件(我用 PHP 开发)。

And "Voila", now I'm able to run Eclipse 3.4 and 3.5.

“瞧”,现在我可以运行 Eclipse 3.4 和 3.5。

BTW, even if I had to install the PDT plug in, I didn't had to touch the configuration. It took the former one from the workspace folder.

顺便说一句,即使我必须安装PDT插件,我也不必接触配置。它从工作区文件夹中取出了前一个。

There is some information at help.eclipse.org/galileo/index.jsp, look in Workbench User Guide\Tasks\Upgrading Eclipse.

help.eclipse.org/galileo/index.jsp 中有一些信息,请查看Workbench User Guide\Tasks\Upgrading Eclipse