Using EGit and git simultaneously - eclipse

Currently I'm developing on Windows with Java using Eclipse and EGit installed and everything works fine. However, I'd like to try the IntelliJ IDEA where the IDE required the git.exe to work with Git. Thus, I installed git v1.9.2 from http://git-scm.com/. Everything works fine in IDEA, but in Eclipse some file are marked as "changed" (having the ">" symbol prepended) although there is absolutely nothing that changed. My bet is that there is that EGit and git interfere with each other. But unfortunately I have no clue how to fix this.

Apparently, the two should not interfere with each other.
See the answer here:
Will installing Egit interfere with existing Git installation?

Related

Eclipse Plugin for Git - EGIT vs Aptana

I am new to GIT and I have been looking for a GIT plugin for Eclipse.
I came across this on SO .
How stable is the git plugin for eclipse? and also http://www.quora.com/Whats-the-best-Eclipse-plugin-to-manage-git
But these have worsened my confusion over using EGIT or Aptana.
I just want to know
1)Why should one use EGIT and why should one use Aptana.
2)What are the differences in performance and stability in both ?
3) Which one is better right now with their latest releases?
Kindly, please answer these questions. Thanks you.
It looks like aptana and egit are different, aptana is a whole ide based on eclipse with a custom git plugin, and egit is a git plugin for eclipse.
I'm using egit with git console and so far, it fit my needs :)
You should start using one, then if you're not happy with it, try another one.
The git command line is really great, because it does exactly what you tell it to do. At first it's not really user friendly but it's learning efficient and you know what you do. sometimes plugin do other things that are not expected (not in the wrong way but it can cause problems)

Virtual Box and With Subversion in Eclipse stopped working

I have been using Subversion in Eclipse inside my Debian Virtual Box for years but it now stopped working.
I had tried to upgrade eclipse and failed, but I rolled back to a previous snap shot. I even tried a copy I made of the box before the failed upgrade. I even tried rolling back to much earlier snapshot. Still the same issue.
I tried the methods here: Eclipse subversive on dev box issue
No luck.
The only thing that has changed is I am at a new network now. But this network has worked before, I have been on this network many times. Also, the rest of eclipses connection features are working (such as egit).
I also have tried disconnecting and reconnecting my repos. No luck.
Further more svn works fine from the command line.
The Eclipse console also shows nothing, just empty while any svn process hangs.
I looked at the svn console in eclipse and I see it looks right:
svn update "[PATH]" -r HEAD --depth infinity
I tried that from command line and it works from there.
Subversion version info from installed software screen:
Revision Graph 0.7.9
SVN Connectors 2.2.2
SVN Integration For the Mylyn Project 0.7.9
SVN JDT Ignore Extensions 0.7.9
Team Provider 0.7.9
SVNKit 2.2.2
Any ideas would be very appreciated.
Thanks in advance for your assistance.
All the best.
Will Ferrer

Eclipse Git no warnings

I added a java project to a git repository via the pre- installed git plugin in Eclipse. Now Eclipse does't show me warnings anymore (if I make a typo for example).
If I create a new non-git project, it shows warnings just fine.
I looked in the preferences, but nothing seems to be wrong there. Any ideas on how to fix this?

Eclipse lost svn references for every project in workspace after forced close

I have a workspace with several projects connected to svn repositories via subclipse plugin. During a system restart, it seems eclipse was forcedly closed, and now I have restarted it, it seems the references to svn are lost. They are not disconnected, as there're interrogation signs as if every file was recently added, and .svn folders are still there. Also, the brackets that usually show the path in the repository are empty.
I could checkout the projects again and manually copy my last changes, but that's really annoying as there are about 10 projects.
Anyone experienced a similar issue and found a quick solution?
You subversion Eclipse plugin does not support svn 1.7. That happened to me too, when i upgraded the Tortoise shell integration and tried to commit the same project from Eclipse. The latest Subversive client plugin can be downloaded here: Subversive / Subclipse
It happened again today, and I fixed it by doing a Team->Refresh/Cleanup on the project. Can't believe I didn't try this before!
It happened to me today and "Team -> Share project" was enough.
Found it here: Restore Eclipse subversion project connection

Subclipse plugin doesn't work in Eclipse?

even though there was no error when installing Subclipse in Eclipse. I won't see the SVN perspective at all?
I have tried with "Eclipse Classic 3.5.1" and with "Eclipse for PHP Developers".
After downloading and unzipping the packages I used Eclipse's "Install Software" mechanism to install Subclipse 1.6.x. I followed the steps described here: http://www3.math.tu-berlin.de/jreality/mediawiki/index.php/Subclipse_installation_in_eclipse_galileo.
But after Eclipse re-starts I don't get any SVN Repository perspective? I have tried to un-install/re-install all the software components many times now. Finally after 3 hours of trying I am giving up. Does anyone have any hint what I am missing?
Thanks!
Peter
I had the same problem. I use Windows 7 64 bits OS. I clean read-only flag of eclipse folder in C:\Program Files (x86) and give full access right to all users on my PC. I reinstalled it from update site and it works.
This is a known bug with subclipse: http://subclipse.tigris.org/issues/show_bug.cgi?id=992
EDIT For anyone keeping track of this, it looks like Eclipse Helios SR1 may have fixed the issue. I haven't tested it myself yet, but by the sounds of the discussion at https://bugs.eclipse.org/bugs/show_bug.cgi?id=322929 it should now be working.
I just had this same issue with Ubuntu. It turned out to be permissions. Once I gave write permissions to everywhere in my eclipse installation and then reinstalled subclipse, its views and so forth appeared, just like magic.
I don't know what you are looking for. But after installing the Subclipse plugin, you should have a new entry in the File | New | Project dialog. Something along the lines of "Checkout project from SVN"
Then when you hit continue, you can enter your SVN repository details, check the branch you are interested in, etc. After checking out a project, you can right click on it and go to the "Team" submenu to get the features provided by Subclipse like check in code, diff, merge, etc.
I ran into the exact same problem too. I installed both Subclipse and GWT/GAE plugins and couldn't find any evidence of them after installation.
I'm on Windows 7 and had installed Eclipse 3.5 SR2 into C:\Program Files (x86)\eclipse-3.5. I also put my workspace in C:\Program Files (x86)\eclipse-3.5\workspace. When I was checking things I noticed there was a lock icon on the C:\Program Files (x86)\eclipse-3.5\workspace.
I reinstalled Eclipse to C:\dev\eclipse and the workspace to C:\dev\eclipse\workspace. After that the installation of the plugins went without a hitch and I could see the SVN Repository Exploring perspective (no idea why some of the other posters claim this perspective doesn't exist). I suspect it was some sort of permissions problem on the directories.
Another way to check and see if the whole thing was installed correctly is to go to the SVN Repositories view. Go to Window -> Show View -> Other, and then search for SVN. If you see a bunch of SVN views like "Repositories," Subclipse is installed.
I had this problem due to some kind of incompatibility between Subclipse and Android ADT plugins. One answer suggested yoxos which gives you all your eclipse plugins from one central repository.
Had the same problem. I work on Linux, and when I installed eclipse in /usr/local/eclipse, Subclipse did not show up. The solution was to install Eclipse locally, e.g. in /home/user/eclipse. Now Subclipse (and other plugins too) worked!
Edit: guess it could be the same on Windows.
I think this is due to some incompatibilities between the packages of subclipse and the gwt 2.x plugin and android... as this started happen to me after I upgrade to v 2.0 of gwt back in the day.
The same issue repeats both on Mac and Windows... and it seems no fix has been released.
Now the only way I've found to move on with my work is to remove subclipse and install the latest subversive plugin instead.
http://www.eclipse.org/subversive/
I know this ain't subclipse but it works very similar and no issues with gwt nor android plugins.
it worked for me and so I hope it works for you in the mean time.
cheers,
G.