如何在 Eclipse 中手动安装或强制安装插件?

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

How do I manually install or force the install of a plugin in Eclipse?

eclipseeclipse-plugin

提问by edam

How do I manually install a plugin in Eclipse? Or how do I force the installer to install a plugin, even when it doesn't want to?

如何在 Eclipse 中手动安装插件?或者我如何强制安装程序安装插件,即使它不想安装?

E.g., I am trying to downgrade a plugin (an update for which contained a bug that I cannot work with). I have tried going to About Eclipse -> Installation Details -> Installation Historyand selecting a previous configuration, but I get errors trying to revert to one. I have also downloaded the all-in-one update for the previous version of the plugin I want to roll-back. But if I go to Install New Software -> Add -> Archivethen I can select the update, but when I try to install it I am told that the plugin I'm trying to install "will be ignored because a newer version is already installed".

例如,我正在尝试降级一个插件(一个包含我无法使用的错误的更新)。我曾尝试转到About Eclipse -> Installation Details -> Installation History并选择以前的配置,但在尝试恢复为一个配置时出现错误。我还下载了我想回滚的插件的上一版本的多合一更新。但是如果我去Install New Software -> Add -> Archive然后我可以选择更新,但是当我尝试安装它时,我被告知我尝试安装的插件“将被忽略,因为已经安装了更新的版本”。

I need a way to install the plugin manually or force the installer to install the older version of the plugin. Doe anyone know how this can be achieved?

我需要一种手动安装插件或强制安装程序安装旧版本插件的方法。有谁知道这是如何实现的?

回答by pbanfi

You should uninstall the current version of the plug-in before installing the older one. go to About Eclipse -> Installation Details -> Installed Software and uninstall the plug-in you want to downgrade. then try again installing it going toInstall New Software -> Add -> Archive...

您应该先卸载当前版本的插件,然后再安装旧版本。转到 About Eclipse -> Installation Details -> Installed Software 并卸载要降级的插件。然后再次尝试安装它去安装新软件 -> 添加 -> 存档...

saluti

萨卢蒂

回答by Vlagorce

There is some difference between each Eclipse version to locate the feature. Which version did you use ? 3.3 ?

每个 Eclipse 版本之间存在一些差异以定位该功能部件。你用的是哪个版本?3.3 ?

I can't say where you will find the option but start by removing the installedv ersion and retry to install the older.

我不能说在哪里可以找到该选项,但首先要删除已安装的版本,然后重试安装较旧的版本。

If you realy want to install it you can also try to find the archive and extract the content into your Eclipse folder (It may have two folder features and plugin).

如果您真的想安装它,您还可以尝试找到存档并将内容提取到您的 Eclipse 文件夹中(它可能有两个文件夹功能和插件)。

/!\Take care about plugin dependency and compatibilty/!\ Make a backup of your installation before.

/!\注意插件依赖和兼容性/!\ 之前备份您的安装。

回答by Vlagorce

You should remove the top level plugin.

您应该删除顶级插件。

Try to reinstall it without selecting the last version of the plugin. May be you can select and older version in this step or install the expected sub-plugin version later.

尝试重新安装它而不选择插件的最新版本。可能您可以在此步骤中选择旧版本或稍后安装预期的子插件版本。

Or

或者

Find which version of "epp.package.php" use the plugin version you need. Install it. And if needed try to update some plugin/sub-plugin and check if your sub-plugin is not in the update list.

找到哪个版本的“epp.package.php”使用了你需要的插件版本。安装它。如果需要,尝试更新一些插件/子插件并检查您的子插件是否不在更新列表中。