可以安装 EGit:缺少要求:Git Team Provider Core

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

Can Install EGit: Missing requirement: Git Team Provider Core

giteclipse-pluginwindows-7-x64egitcoldfusionbuilder

提问by Leeish

So I am using Coldfusion Builder with Ecplise. I am trying to get EGit installed in it so I can do Git stuff. The only thing I can ever get installed is EGit 0.11.1 from http://download.ecplise.org/releases/helios/. When I try to install the latest version from http://download.eclipse.org/egit/updatesversion 2.3.1.xxx I always get the Missing requirement error:

所以我在 Ecplise 中使用 Coldfusion Builder。我正在尝试在其中安装 EGit,以便我可以执行 Git 操作。我唯一能安装的是 EGit 0.11.1 from http://download.ecplise.org/releases/helios/. 当我尝试从http://download.eclipse.org/egit/updates版本 2.3.1.xxx安装最新版本时,我总是收到缺少要求的错误:

Missing requirement: Git Team Provider Core 2.3.1.201302201838-r (org.eclipse.egit.core 2.3.1.201302201838-r) requires 'bundle org.eclipse.core.runtime [3.7.0,4.0.0)' but it could not be found
Cannot satisfy dependency: From: Eclipse EGit 2.3.1.201302201838-r (org.eclipse.egit.feature.group 2.3.1.201302201838-r)
To: org.eclipse.egit.core [2.3.1.201302201838-r]

I can't figure out how to install the Git Team Provider Core. I've read some stuff about setting system config etc, but nothing I do seems to help. I've tried installing all different things like the Mylyn, JGit, etc, but I am obviously missing something important.

我不知道如何安装 Git Team Provider Core。我已经阅读了一些关于设置系统配置等的内容,但我所做的似乎没有任何帮助。我试过安装所有不同的东西,比如 Mylyn、JGit 等,但我显然错过了一些重要的东西。

I do have Git Installed in Windows if that matters, but still nothing. This has to be a simply config issue right? I mean, the version I have installed (0.11.1) IS working as intended. I can pull/branch/push, all that good stuff. But my buddy noticed I was missing some options under the Teammenu and I assume it's because I can't get the latest version up and running.

如果这很重要,我确实在 Windows 中安装了 Git,但仍然没有。这一定是一个简单的配置问题吧?我的意思是,我安装的版本 (0.11.1) 正在按预期工作。我可以拉/分支/推,所有这些好东西。但是我的朋友注意到我在Team菜单下遗漏了一些选项,我认为这是因为我无法启动并运行最新版本。

Thoughts?

想法?

回答by Rob Bajorek

You said you were trying to update via http://download.eclipse.org/releases/helios/, so sounds like you're still running Eclipse 3.6 (Helios).

您说您正在尝试通过 更新http://download.eclipse.org/releases/helios/,所以听起来您仍在运行 Eclipse 3.6 (Helios)。

According to the EGit FAQ, the latest version of EGit that is supported on Helios is 2.1.0.201209190230-r. It also says:

根据EGit FAQ,Helios 支持的最新 EGit 版本是 2.1.0.201209190230-r。它还说:

If possible we will not prevent usage in older releases but if we want to take advantage of new functionality only available in one of the latest two Eclipse releases but not in older releases we will update dependencies which will in fact discontinue support for older releases.

如果可能,我们不会阻止在旧版本中使用,但如果我们想利用仅在最新的两个 Eclipse 版本之一中可用但在旧版本中不可用的新功能,我们将更新依赖项,这实际上将停止对旧版本的支持。

You might have bumped into one of those dependencies that break EGit on your version of Eclipse.

您可能在您的 Eclipse 版本上遇到了破坏 EGit 的依赖项之一。

I recommend either:

我推荐:

  • Install EGit 2.1, the last supported version for Helios. Under "Help->Install New Software", add this site: http://download.eclipse.org/egit/updates-2.1/. Install EGit from there.

  • Upgrade to Eclipse 3.7 (Indigo) or 4.2 (Juno, the latest) and try again with EGit 2.3. Be warned that upgrading Eclipse might open you up to new problems.

  • 安装 EGit 2.1,这是 Helios 支持的最后一个版本。在“帮助->安装新软件”下,添加此站点:http://download.eclipse.org/egit/updates-2.1/。从那里安装 EGit。

  • 升级到 Eclipse 3.7(Indigo)或 4.2(Juno,最新的),然后用 EGit 2.3 再试一次。请注意,升级 Eclipse 可能会给您带来新问题。