Eclipse and Subversion

Posted by Max Dunn Wed, 05 Jul 2006 20:41:00 GMT

It can be a little confusing to set up Eclipse to work with your Subversion repository. Once you have downloaded and installed Subclipse, follow these instructions to connect to your SVN repository:

Files Already In SVN

If the files are already in your SVN repository setup and you just need to checkout the files to a new project on your local computer, do this:

File -> Import -> Checkout Projects from SVN -> (select location) -> 
Check out as a project configured using the New Project Wizard -> 
Ruby Project -> (fill in name and location)

Files Not In SVN Yet

If you want to create a SVN repository from the files on your local machine and the SVN folder doesn’t already exist, then do this:

First, make the directory a Eclipse project:

File -> New -> Project -> 
Ruby Project -> (fill in name and location)

Then share the project to SVN:

(Right click project) -> Team -> 
Share Project -> SVN -> (Select repository)

Posted in  | 3 comments

Comments

  1. quigley said 338 days later:

    Hi,

    I’m Using Subclipse and have working repositories, but getting the following error when attempting to use Apache instead of direct file access:

    Could not open the requested SVN filesystem.

    I’m prompted correctly, are there some issues with permissions on the folders that I need to look at?

    Any help would be great.

    Thanks, quig

  2. Max Dunn said 338 days later:

    Hey quig,

    Try using the “svn” command with the http path to the repository, rather than through direct file access. This is probably the best way to start debugging, since Eclipse adds an extra layer that may get in the way of seeing what is wrong.

    —Max

  3. quigley said 338 days later:

    Tried to check out a new repository (created in TortoiseSVN) by the following command:

    svn co http://192.168.xx.xx:81/svn/test

    prompted me correctly for usernames/passwords, but returned same:

    Could not open the requested SVN filesystem.

    I appreciate the help

(leave url/email »)

   Comment Markup Help Preview comment