Eclipse -- 手动安装插件

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

Eclipse -- Manually Install Plugin

eclipsepluginsada

提问by an earwig

I am trying to migrate from Adacore's GPS to the Eclipse based GNATBench. GNATBench is available herefor free download, but is packaged as a zip file. I have only installed Eclipse plugins through the marketplace, or through an online repository. I have tried extracting the folder into the Eclipse plugins folder, but it did not work. How do I install this plugin manually through a zip file? Is there another way of getting it?

我正在尝试从 Adacore 的 GPS 迁移到基于 Eclipse 的 GNATBench。GNATBench 可在此处免费下载,但打包为 zip 文件。我只通过市场或在线存储库安装了 Eclipse 插件。我曾尝试将该文件夹解压缩到 Eclipse 插件文件夹中,但没有奏效。如何通过 zip 文件手动安装此插件?有没有其他获取方式?

回答by greg-449

Open Help > Install New Software...and click Add(top right).

打开Help > Install New Software...并单击Add(右上角)。

In the Add Repository dialog that is shown click Archive...and select the zip file you downloaded. Also give the Repository a name. Click OK.

在显示的添加存储库对话框中,单击Archive...并选择您下载的 zip 文件。还要为存储库命名。单击确定。

The Available Software dialog should now show you the contents of the zip and you can choose what to install.

“可用软件”对话框现在应该会显示 zip 的内容,您可以选择要安装的内容。