Eclipse – Import an existing SVN project into Eclipse

eclipsesubversivesvn

I have a folder on the C drive which is already checked out from SVN. In somewhere in that folder, I have an Eclipse project folder. It is already in the SVN repository.

I started Eclipse, imported that project, but I am not sure how to connect it to SVN. When I was working on a CVS repository, Eclipse CVS discovered its setting when I tried to share it. How can I do this with Subversion?

Best Answer

This is how it's done with Subclipse. If I remember correctly, the process is similar in Subversive because they both use the Team API.

Right-click on the project, select Team -> Share Project...

Then select SVN as the SCM provider, then follow the wizard to completion.

According to this installation guide, Subversion does follow the same approach. If you haven't already set up your Subversion repository, the Wizard will prompt you to do so as in the screenshot below. The settings are the same as you would ordinarily use to connect to Subversion.

Share project wizard screenshot http://wiki.webratio.com/images/0/01/SpecifyRepository.png