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?
Related
Since I prefer to use the CLI instead of the Eclipse plugin I would like to disable it completely.
Since I am unable to find any settings to do this, I just uninstalled through Help > Installation Details > Installed Software all SVN related plugins (and restarted my computer).
After removing the plugins, SVN is still present. On the projects I can still choose Team > SVN actions and SVN is also still in the preferences view.
So how can I disable it?
Make sure you have not overlooked any Subversive/Subclipse feature that has no SVN in its name: filter/search for sub.
When I try to checkout my project in Eclipse in doesn't work. What can I do about it? It just waits and nothing happens.
So I wasted my time completely and instead I can install the subclipse plugin, and right away nothing is possible again:
Can you receive your svn repository via svn on the commandline? You should try to get it there and then import it to eclipse via File->Import.... That also adds the usual SVN capabilities to the eclipse project if the svn plugin is installed correctly.
What svn plugin are you using? There are subversive and subclipse, and I had different experiences using either of them.
Could you fetch any other svn repository via the dialog? Just get one on github(click Subversion right there where you get the git url) and try to get it.
I have a grails project under Eclipse that runs fine from the right click -> run as -> grails run-app option. However, when I move the project under git control, using the Eclipse Egit plugin, it won't run as such anymore. Grails complains that the project in the directory doesn't appear to be a grails application. I think what is going on here is that when I place the project under git control using Egit, git moves it under its own repository that it makes you create and the project isn't in the Eclipse workspace anymore, I confirmed this by navigation under windows to my Eclipse project workspace directory. Instead, git just leaves a symbolic link or something to the project in the eclipse workspace, which is why the project continues to show up in the project workspace in eclipse. Since after moving it under git, I can't get it to run using the right click -> run as -> grails run-app on the project followed by "grails run-app", what I do is open up a command prompt and navigate to the directory where the project really is (under git's repository and then into the project directory) and then type "grails run-app" and it runs fine. Anyway to solve this so that I can continue to run from the project right click menu even after the project is under git control? That way I can have version control as well as preserve my right-click to run the project option? Fyi, I am just doing local git no github.
Thank you
Ok so upon research I found out that Grails has it own built in versioning system. I haven't looked into it further yet but I thought I would throw this answer up in case someone else is also running into the same issue. So, I might not need to use git with grails because of its own versioning system. This is discussed in the Grails documentation.
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?
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