FDT5 EGit installation error - eclipse

When I try to install EGit via the update URL or marketplace I get the following error:
Cannot complete the install because one or more required items could
not be found. Software being installed: Eclipse Git Team Provider
3.2.0.201312181205-r (org.eclipse.egit.feature.group 3.2.0.201312181205-r) Missing requirement: Git Team Provider UI 3.2.0.201312181205-r (org.eclipse.egit.ui 3.2.0.201312181205-r) requires 'bundle org.eclipse.team.core [3.6.100,4.0.0)' but it could
not be found Cannot satisfy dependency:
From: Eclipse Git Team Provider 3.2.0.201312181205-r (org.eclipse.egit.feature.group 3.2.0.201312181205-r)
To: org.eclipse.egit.ui [3.2.0.201312181205-r]
My FDT5 is up to date.
Can I somehow install the org.eclipse.team.core bundle to solve the dependency?

As said, FDT ships on Eclipse Juno (4.2) on which EGit has tested to work smoothly.
You can install EGit by:
Help > Install New Software
Click on Available Software Sites
Check in Juno (http://download.eclipse.org/releases/juno)
Click OK to close
From Work with select choose Juno
Check in Collaboration > Eclipse EGit
We've also tested JGit to work smoothly.

I don't know what FDT 5 is, but from the error it looks like it is based on an old version of the Eclipse Platform.
EGit 3.2 requires Eclipse Platform >= 3.8.2/4.2.2, see What versions of Eclipse does EGit target? in the FAQ.
Either upgrade FDT or try installing an older version of EGit such as 2.3.1, see Where can I find older releases of EGit?.

Related

Cloudbees SDK Installation failure for Eclipse Indigo SR2

Working with the SDK from my command line in my linux box is ok. But know I want to use the provided plugin for Eclipse. I have Eclipse Indigo version SR2 Build id: 20120216-1857. I have installed egit scm version 1.3.0.2 with jgit. I use the following link as installation path:
http://eclipse.cloudbees.com for the cloudbees plugin. Take into account that the latest version of e-git doesn't work with Eclipse Indigo. So I installed egit from the following supported version link:http://download.eclipse.org/egit/updates-1.3. So I fire up the install software for cloudbees and while it tries to discover dependencies,it cannot install the plugin because of :
Cannot complete the install because one or more required items could
not be found. Software being installed: CloudBees Toolkit
2.0.2.201307232010 (com.cloudbees.eclipse.feature.group 2.0.2.201307232010) Missing requirement: CloudBees SCM Egit 2.0.2.201307232010 (com.cloudbees.eclipse.dev.scm.egit 2.0.2.201307232010) requires 'bundle org.eclipse.jgit 2.3.0' but it could not be found Cannot satisfy dependency:
From: CloudBees Toolkit 2.0.2.201307232010 (com.cloudbees.eclipse.feature.group 2.0.2.201307232010)
To: com.cloudbees.eclipse.dev.scm.egit [2.0.2.201307232010]
Clearly I can't because there is a failure in versions required of egit for cloudbees plugin to work. The problem is that the egit plugin I have is different from the one required.So the two possibilities are:
Somehow install version 2.0.2 of Egit..which I don't think is the case.
Did someone tested correctly the versions of supported egit in indigo sr2 and cloudbees sdk?
According to the error message you need EGit version 2.3.0 or later.
EGit 2.3.0 works fine with Eclipse Indigo SR2 and with the latest CloudBees Toolkit.
"2.0.2" from the error message is the CloudBees Toolkit version.
EGit 2.3.x is supported by Eclipse Indigo SR2 as long as EGit Import Support is not installed. See http://wiki.eclipse.org/EGit/FAQ#What_versions_of_Eclipse_does_EGit_target.3F for the list of supported EGit versions for a specific Eclipse version.
I discover the solution...the problem is that if you decide to install following installations from market place it will fail, because the version of egit 3.2 isn't supported by eclipse indigo sr2 specially the functionality Import Source cause the eclipse to crash. The way to install Cloudbees plugin in indigo is simple.
Use the following link to install Egit:http://download.eclipse.org/egit/updates-2.3
In the plugins to be included only add Egit and JGit basic functionality. Install and restart.
Afterwards through the market place install cloudbees eclipse plugin.Est voila. The problem comes not from Cloudbees itself but throw an indirect dependency failing.
regards
\n\m

error : Mylyn GitHub connector not installing on eclipse juno

installed EGit plugin for eclipse successfully but Mylyn GitHub connector is not installing on eclipse.here i am adding the error details
Cannot complete the install because one or more required items could not be found.
Software being installed: Eclipse EGit Mylyn GitHub Feature 2.3.0.201302130906 (org.eclipse.mylyn.github.feature.feature.group 2.3.0.201302130906)
Missing requirement: Mylyn GitHub Connector UI 2.3.0.201302130906 (org.eclipse.mylyn.github.ui 2.3.0.201302130906) requires 'package org.eclipse.egit.core [2.3.0,2.4.0)' but it could not be found
Cannot satisfy dependency:
From: Eclipse EGit Mylyn GitHub Feature 2.3.0.201302130906 (org.eclipse.mylyn.github.feature.feature.group 2.3.0.201302130906)
To: org.eclipse.mylyn.github.ui [2.3.0.201302130906]
That happens if your eclipse version is too old, as detailled in bug 365425
Make sure your Eclipse is at least 3.7 or more recent.
The latest EGit 3.0.x would require an Eclipse Kepler 4.3.
Happened to me yesterday because GitHub Mylyn Connector (http://download.eclipse.org/egit/github/updates) was missing in Eclipse Window / Preferences / Install/Update / Available Software Sites and Eclipse tried to retrieve the obsolete version 2.3.0 from another http://download.eclipse.org/??? software site (can't remember exactly), including org.eclipse.mylyn.github.ui [2.3.0.201302130906] while there already was a preinstalled 3.0.3.something version in Juno. Adding the missing Software Site allowed me to install version 3.0.3...

Dependency fail installing egit on Eclipse indigo

I have this problem trying to install EGit in Eclipse Indigo on a Ubuntu 12.04:
Cannot complete the install because one or more required items could
not be found. Software being installed: EGit Plug-in Import Support
2.3.1.201302201838-r (org.eclipse.egit.import.feature.group 2.3.1.201302201838-r)
Missing requirement: EGit Plug-in Import Support 2.3.1.201302201838-r (org.eclipse.egit.import.feature.group
2.3.1.201302201838-r) requires 'org.eclipse.team.core 3.6.100' but it could not be found
This is the complete Eclipse version as shown in "About" dialog:
Version: 3.7.2
Build id: I20110613-1736
I am using the default egit updates sources as it comes with Indigo installation:
http://download.eclipse.org/egit/updates
I press "Select All" button for update, but it keeps showing that error. I have also take care of update everything before, but it continues failing.
Any ideas?
Thanks a lot in advance.
Your Eclipse version needs to be 3.8 or higher. You must have installed Indigo from the Software center in Ubuntu or Synaptic as that is what would have been installed. You can download Juno which would work for you from the Eclipse Project. It is a tar.gz that you just unarchive into the directory you want and run it. You can use the same workspace.
Uncheck the EGit Import Support feature when selecting what to install. It is optional and appears to be not supported in indigo.

I'm trying to install eclipse egit but there's this error saying

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
My eclipse version is Helios.
and also there's this list that I dont get.
Eclipse EGit
Eclipse EGit - Source
Eclipse JGit
Eclipse JGit - Source
Eclipse JGit Command Line Interface
Eclipse JGit Command Line Interface - Source
Eclipse Mylyn
Eclipse Plug-in Import Support
How do I solve this? Thank you.
If you cannot upgrade to newer eclipse, because of corporate environment for instance,
you can install older EGit version, the upgrade is not revolutionary.
Looks like you are installing from eclipse marketplace.
Try installing through "Help->Install New Software.."
use "http://download.eclipse.org/egit/updates-2.1" in update site. it will give you older version of egit that is compatible with Helios.
Make sure to uncheck "Egit plug-in Import Support" - it is not compatible with Helios
About the other items in list you could easily google about Jgit and Egit relationship and about mylyn and its features
Hope this helps
Egit 2.2 doesn't support Helios anymore. Either you stay at Egit 2.1 or you upgrade your Eclipse installation to Juno (which can be done without reinstallation).

Can't install Maven SCM Handler for EGit for Juno

I've updated my eclipse indigo to juno via the Help->Check for updates menu.
I noticed I had updates for egit (2.x) and jgit (2.x) which clashed with my current installations (1.3.x) and so I removed all my egit plugins (eigt,jgit,egit-mylyn and Maven SCM Handler for EGit). I then tried to install the above egit plugins and was able to install egit and jgit but was unable to install Maven SCM Handler for EGit.
I tried updating grvia the m2e marketplace and got the following error:
Cannot complete the install because of a conflicting dependency.
Software being installed: Maven SCM Handler for EGit 0.14.0.201110251725 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201110251725)
Software currently installed: Eclipse EGit 2.0.0.201206130900-r (org.eclipse.egit.feature.group 2.0.0.201206130900-r)
Only one of the following can be installed at once:
Git Team Provider Core 2.0.0.201206130900-r (org.eclipse.egit.core 2.0.0.201206130900-r)
Git Team Provider Core (Incubation) 0.8.4 (org.eclipse.egit.core 0.8.4)
Git Team Provider Core 1.1.0.201109151100-r (org.eclipse.egit.core 1.1.0.201109151100-r)
Git Team Provider Core 1.3.0.201202151440-r (org.eclipse.egit.core 1.3.0.201202151440-r)
Git Team Provider Core (Incubation) 0.11.1 (org.eclipse.egit.core 0.11.1)
Git Team Provider Core (Incubation) 0.9.1 (org.eclipse.egit.core 0.9.1)
Git Team Provider Core 1.0.0.201106090707-r (org.eclipse.egit.core 1.0.0.201106090707-r)
Cannot satisfy dependency:
From: Eclipse EGit 2.0.0.201206130900-r (org.eclipse.egit.feature.group 2.0.0.201206130900-r)
To: org.eclipse.egit.core [2.0.0.201206130900-r]
Cannot satisfy dependency:
From: Maven SCM Handler for EGit 0.14.0.201110251725 (org.sonatype.m2e.egit 0.14.0.201110251725)
To: bundle org.eclipse.egit.core [1.0.0,2.0.0)
Cannot satisfy dependency:
From: Maven SCM Handler for EGit 0.14.0.201110251725 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201110251725)
To: org.sonatype.m2e.egit [0.14.0.201110251725]
I guessed from the error that the artifact which is in the marketplace is not yet up-to-date and so I tried to download the latest m2e-git from the nexus repository but I didn't really knew what to do with it.
I placed the contents in a subdirectory of the plugins folder and did not see it appear in the "what is installed" dialog so I'm assuming it didn't work.
Has anyone managed to get this to work?
Yes, this has been an issue for other m2e connectors as well since Juno was released. I've posted the steps that I used to get around this issue here.
Here are the instructions:
Click Help
Click Install New Software
Uncheck the box labeled Group items by category (this step is important or you won't see the connector in the table)
Paste in this URL http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/0.14.0.201305250025/
Finish the plugin install wizard and restart the workspace
This will work for Eclipse 4.3 (Kepler): http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/0.14.0.201305250025/
Remember to uncheck the box labeled Group items by category
I took the code from git and created a build that works with keppler + m2eclipse 0.14 + egit 3.x.
Use this update URL: https://github.com/micw/m2eclipse-egit-builds/raw/master/0.14.0.201401300919/
Don't forget to uncheck "Group items by category" or you won't see the package in eclipse's software manager.
Update 2014-01-30: I built the latest git version which allows to be used with any EGit 3.x version. Please use the new update URL in this post. I verified that it works with latest EGit 3.2.x
Install the handler from
http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/0.14.0.201305250025/
It works for Kepler SR1.
I was able to get it working with the following configuration.
Eclipse Luna SR1 Eclipse
Egit Team Provider 3.7.0 (I had updated the
plugin via eclipse marketplace)
M2E egit 0.14 (Installed via eclipse
marketplace).
Initially I was also getting the error while installing m2e-egit but once I updated the Egit eclipe plugin, installation of m2e-egit worked perfectly.Hope it helps.