将旧插件复制到新安装的 eclipse 中的简单方法

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

Easy way to copy old plugins into new install of eclipse

eclipseeclipse-plugin

提问by Clutch

Is there an easy way to get a list of the plugins from an old version of Eclipse into the latest version. I have my current version with all the plugins I want. Now I want to upgrade to the nice shiny and new version but I need to make sure all my current list of plugins work. I would prefer to have to hunt and peck to install plugins in the latest version. I would think there would be a file in the old installation I could just copy into the new installation and tell eclipse install all these plugins if compatible.

是否有一种简单的方法可以将插件列表从旧版本的 Eclipse 获取到最新版本。我有我想要的所有插件的当前版本。现在我想升级到漂亮的闪亮的新版本,但我需要确保我当前的所有插件列表都能正常工作。我宁愿不得不寻找和啄食以安装最新版本的插件。我认为旧安装中会有一个文件,我可以将其复制到新安装中,并告诉 eclipse 安装所有这些插件(如果兼容)。

Thanks

谢谢

回答by Bananeweizen

If your old version is at least 3.7, then you can do this:

如果你的旧版本至少是 3.7,那么你可以这样做:

  • Use File -> Export -> Install -> Installed software items to filein your old installation to create a file containing the currently installed features.
  • Use File -> Import -> Install -> Software items from filein your new installation. Point it to the file from above and make sure to check "Install latest versions".
  • 使用File -> Export -> Install -> Installed software items to filein your old installation 创建一个包含当前安装功能的文件。
  • 在新安装中使用文件 -> 导入 -> 安装 -> 来自文件的软件项目。将其指向上方的文件并确保选中“安装最新版本”。

回答by Kumar Abhishek

  • File -> Export -> Install -> Installed software items to file in your old installation to create a file containing the currently installed features.
  • File -> Import -> Install -> Software items from file in your new installation. Point it to the file from above and make sure to check "Install latest versions".
  • 文件 -> 导出 -> 安装 -> 已安装的软件项目到旧安装中的文件,以创建包含当前安装功能的文件。
  • 文件 -> 导入 -> 安装 -> 新安装中文件中的软件项目。将其指向上方的文件并确保选中“安装最新版本”。

From your new eclipse you can also Use.

从你的新日食你也可以使用。

  • File -> Export -> Install -> Installed software from existing installation, and give it path of old eclipse installation folder it will give you options to select.
  • 文件 -> 导出 -> 安装 -> 从现有安装中安装的软件,并为其提供旧 eclipse 安装文件夹的路径,它将为您提供选择选项。

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

回答by Zagrev

There are two main issues with copying the old plugins to a new version of Eclipse.

将旧插件复制到新版本的 Eclipse 有两个主要问题。

  1. Which plugins to copy? A newer version of Eclipse will have newer versions of the same plugins as the old version.
  2. Does the plugin support the newer version of Eclipse?
  1. 要复制哪些插件?较新版本的 Eclipse 将具有与旧版本相同的插件的较新版本。
  2. 该插件是否支持较新版本的 Eclipse?

Generally the simplest way to get the correct plugins is to use the Eclipse tools to get the plugins from their update sites. This ensures you have the correct / latest version that works with the version of Eclipse you are now using.

通常,获取正确插件的最简单方法是使用 Eclipse 工具从其更新站点获取插件。这可确保您拥有适用于您现在使用的 Eclipse 版本的正确/最新版本。

You can get the list of updates sites used from the old Eclipse by selecting Windows / Preferences / "Install/Update" / Available Software Sites. Select the update sites you want to keep, then click Export... You can then import them into the new Eclipse. Just beware update sites that are Eclipse version specific!

您可以通过选择 Windows/首选项/“安装/更新”/可用软件站点来获取旧 Eclipse 中使用的更新站点列表。选择要保留的更新站点,然后单击“导出...”,然后您可以将它们导入到新的 Eclipse 中。请注意特定于 Eclipse 版本的更新站点!