git 无法在 Eclipe Helios 上安装 EGit 插件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14452724/
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
Unable to install EGit plugin on Eclipe Helios
提问by rai.skumar
I am unable to install Eclipse plugin for Git (EGit) in my Eclipse (Helios version 2).
我无法在我的 Eclipse(Helios 版本 2)中为 Git (EGit) 安装 Eclipse 插件。
Have tried to install EGit through url in eclipse install new Software : http://download.eclipse.org/egit/updates
已尝试通过 Eclipse 中的 url 安装 EGit 安装新软件:http: //download.eclipse.org/egit/updates
I am getting below error :
我收到以下错误:
Cannot complete the install because one or more required items could not be found. Software being installed: Eclipse EGit 2.2.0.201212191850-r (org.eclipse.egit.feature.group 2.2.0.201212191850-r) Missing requirement: Eclipse EGit 2.2.0.201212191850-r (org.eclipse.egit.feature.group 2.2.0.201212191850-r) requires 'org.eclipse.core.runtime [3.7.0,4.0.0)' but it could not be found
无法完成安装,因为找不到一个或多个必需的项目。正在安装的软件:Eclipse EGit 2.2.0.201212191850-r (org.eclipse.egit.feature.group 2.2.0.201212191850-r) 缺少需求:Eclipse EGit 2.2.0.201212191850-r (org.eclipse.egit.feature.group 2.2.0.201212191850-r) -r) 需要 'org.eclipse.core.runtime [3.7.0,4.0.0)' 但找不到
I have tried but failed to install dependency mentioned above. So wondering if Git is supported on Helios. Am i missing something? Thanks.
我已经尝试但未能安装上述依赖项。所以想知道 Helios 是否支持 Git。我错过了什么吗?谢谢。
回答by robinst
EGit 2.2 requires Eclipse 3.7 or greater, see "What versions of Eclipse does EGit target?" in the FAQ.
EGit 2.2 需要 Eclipse 3.7 或更高版本,请参阅“EGit 面向哪些 Eclipse 版本?” 在常见问题解答中。
If you don't want to upgrade to Eclipse 3.7 or greater yet, you can still install EGit 2.1 from the following update site:
如果您还不想升级到 Eclipse 3.7 或更高版本,您仍然可以从以下更新站点安装 EGit 2.1:
回答by JunZhang
When I use Helios I hava the same problem,Because of the version can't mathch, You can try installing it through the 1.0 version:
当我使用Helios时,我也遇到了同样的问题,因为版本无法匹配,您可以尝试通过1.0版本安装它:
http://download.eclipse.org/egit/updates-1.0
http://download.eclipse.org/egit/updates-1.0
It works!
有用!
PS:Indigo can work with http://download.eclipse.org/egit/updates-1.3
PS:靛蓝可以与 http://download.eclipse.org/egit/updates-1.3
Engory yourself...
加油自己...
回答by VonC
Try installing it through the Helios update site:
尝试通过 Helios 更新站点安装它:
http://download.eclipse.org/releases/helios/
It should reference all plugins including EGit.
它应该引用所有插件,包括 EGit。
That being said, robinst's answer(upvoted) points out to a dependency to Indigo (3.7), which could mean Helios (3.6) isn't supported.
话虽如此,robinst的回答(已投票)指出对 Indigo (3.7) 的依赖,这可能意味着不支持 Helios (3.6)。
回答by VIKAS NAVGIRE
It worked for me. OS: Ubuntu Eclipse heliose
它对我有用。操作系统:Ubuntu Eclipse heliose