Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import an existing SVN project into Eclipse

Tags:

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?

like image 413
Ali Burak Kulakli Avatar asked Aug 12 '09 11:08

Ali Burak Kulakli


People also ask

How do I add an existing project to a SVN repository?

To import a project into the repository, right click the project you want to import and select Team > Share Project... from the context menu. This will begin the Share Project wizard. Select SVN as the repository type and click Next.

Where is SVN repository in Eclipse?

Test SVN Repository in EclipseClick on the other option, scroll the menu, and Select SVN Repository Exploring. Now, we can explore the SVN repository. Here we can create, checkout, and explore the existing repository in Eclipse.

What is synchronize with repository SVN eclipse?

Synchronize with Repository is something similar to svn status -u , but even more. It will open a Synchronize tab (or perspective) that displays overview of your local (outgoing) modifications versus repository (incoming) modifications.

How do I download SVN for Eclipse?

To install Subversive: Start Eclipse and select menu item 'Help > Instal New Software...' Then selec common software repository or if you need to install Subversive only, you can directly add Subversive update site by pressing 'Add' button. On the 'Add Repository' form enter the URL to the Subversive update site.


2 Answers

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

like image 146
Rich Seller Avatar answered Sep 17 '22 13:09

Rich Seller


Right click on the project name to bring up the context menu. Select Team -> Share Project...

See here in the Subversive FAQ.

like image 29
Mark Avatar answered Sep 16 '22 13:09

Mark