Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Restore Eclipse subversion project connection

Tags:

eclipse

svn

I have a project in subversion, which I'm developing using Eclipse. I did the original checkout from the svn repository from inside Eclipse. All was well for some weeks then for some unknown reason, Eclipse (specifically: subclipse in Ganymede) no longer recognizes my project as being under svn control. The team context-menu only shows the basic "apply patch" / "share this project" menu options. From the shell, I can still update the project using the svn command line tools, so I know that the svn credentials still work. Other projects under subversion in the same copy of Eclipse still work.

I realise that I can delete the local copy and check it out again, but I'd rather understand what has gone wrong - fix the problem, rather than mask the symptoms. Where does Eclipse store its knowledge of which projects are under version control? I looked at the .project file and the .settings directory, but couldn't see any obvious mention of svn nature or anything similar, even in the projects that are still working properly.

like image 975
Ian Dickinson Avatar asked Oct 03 '08 10:10

Ian Dickinson


People also ask

How do I reconnect my team in eclipse?

Right click to Team and Share Project worked great. Used the default settings and everything synched right back up.

What is SVN Connector for Eclipse?

The Subversive plug-in is developed as an Eclipse official project with an EPL license and is distributed from the Eclipse website. Subversive SVN Connectors are SVN libraries used by Subversive to communicate with SVN repositories.


2 Answers

If you are using sublipse as your SVN provider I recommend doing the following

Team -> Share project is usually enough to connect the metadata.

(that is, assuming that the .svn files are still there which they seem to be if you can work on the command line).

Hope this helps as to why this would happen I have no idea

like image 60
Paul Whelan Avatar answered Nov 02 '22 22:11

Paul Whelan


I found an easy way just reimport the project

like image 31
jerry Avatar answered Nov 03 '22 00:11

jerry