Creating the svn repository and Eclipse project

 

  1. Open a terminal window using Putty and log in to your team account ( f361-01a ) on linus.se.rit.edu using the team account password. Only one team member needs to be doing this!

 

  1. Create your svn repository in the home directory of your team account and grant group access

> svnadmin create svn

> chmod –R 770 svn

> chmod 711 ./

 

  1. Prior to starting Eclipse make sure that you have ssh access to your individual account and have created the Windows environment variable SVN_SSH:

 

 

*** Log out of your Windows session and log back in prior to continuing ***

 

  1. Have ONE team member start up Eclipse. To access the repository in Eclipse, switch to the svn Perspective. Right click in the left most panel and select

    New -> Repository Location

 

  1. In the url dialog box enter the path:

    svn+ssh://abc1234@linus.se.rit.edu/home/teams/361/x361-0yz/svn

     where abc1234 is your personal SE account ID and x361-0yz is the team account (i.e f361-01a)

    The repository path should now be listed on the SVN Repositories tab. If  you are being prompted for a password each time you access svn, then your ssh keys are not configured correctly… or the SVN_SSH value might have a typo.

 

  1. Create the default svn directory structure by right clicking the repository name and selecting:

    New -> New Remote Folder

    Add the folders “trunk”, “branches” and “tags”

 

  1. To create the initial Java project in Eclipse right click the “trunk” folder and select “checkout”. You will be prompted to create a new Java project the first time. Give your project the same name as your team account (i.e. f361-01a). Eclipse will guide you and switch you to the “Java” perspective.

 

  1. In the Java perspective right click the on the project name and select:

    Team -> Commit…

    Your Eclipse project is now under svn control.

 

  1. ONCE the above is completed, THEN each team member should verify that they can access the project by adding the repository path as described above (Steps 3-5) and checking out the project from the trunk folder. Note that only the initial checkout requires creating a new Java project and that you should not be using the team account but your account@linus. Though the path to the svn remains the same.