Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] git nature missing for Eclipse projects (starting with Egit 1.3?)

2012/5/8 Ansis Atteka <ansisatteka@xxxxxxxxx>


2012/5/7 Matthias Sohn <matthias.sohn@xxxxxxxxxxxxxx>
2012/5/8 Ansis Atteka <ansisatteka@xxxxxxxxx>


2012/5/7 Matthias Sohn <matthias.sohn@xxxxxxxxxxxxxx>
2012/5/2 Ansis Atteka <ansisatteka@xxxxxxxxx>
It seems that something has changed after Egit 1.1.0. For example, when I do from the Eclipse:
1. "Import->Git->Projects from Git"
2. choose "Local" (This is already cloned GIT repository from the command line with "git")
3. Select the right GIT repository
4. choose "Import as general project"

Then the git nature is missing for this project (with Eclipse 3.7.2 and Egit 1.3.0). Although, exactly the same steps were working just fine with Egit 1.1.0 and Eclipse 3.7.1. I see the same problem on Eclipse Junos (developer release that comes with Egit 1.3).

Is this a regression? Sorry, if this is a known issue or If EGit-Eclipse integration related problems are discussed somewhere else. Also, I would be more than happy to provide any extra information that might be helpful to debug this issue.

This is happening with:
Ubuntu 12.04
Eclipse 3.7.2 C++ and Linux edition

how do you recognize "the git nature is missing" ? 

By "the git nature is missing", I meant that I do not have this small repository icon for my GIT project in the Project Explorer. Consequences of this is that, if I right-click on my project then the "Team" section is empty (e.g. quick diff from top of the GIT branch, history browsing and all other GIT features do not work at all).

I tried with todays nightly build version (2.0.0-SNAPSHOT) from http://download.eclipse.org/egit/updates-nightly
and this works for me, please try with that version 
Indeed, this is fixed in Egit 2.0.

But Eclipse 3.7.2 (stable release) and 4.2 (developer release) are still shipping with Egit 1.3 that has the issue I described above. Is there a way to get Eclipse maintainer to again use a working Egit release (e.g. either 1.1. or 2.0)?

Anyway your suggested approach work for me. Thanks!

3.7.2 was the last service release for Indigo so we can't update the EGit version used in 3.7.
But of course you can install EGit 2.0 into Indigo, simply point "Install new software" at http://download.eclipse.org/egit/updates-nightly and install the nightly build version. 
EGit 2.0 will ship as part of Juno in June ;-) so 4.2 will release with EGit 2.0, and 
we'll update the EGit version consumed by the release train build for 4.2 soon.

--
Matthias

Back to the top