Surya \’s Blog

… ever streaming tools and technologies….!!!

HowTo: Configure SVN+SSH with Subclipse on Windows

Posted by kathayat on March 6, 2008

 HowTo: Configure SVN+SSH with Subclipse on Window:
http://www.woodwardweb.com/java/000155.html

Other…help with SVN

SVN

First: Create the repository:

Putty or ssh into your student account or group area.
(You can apply for group area here: http://www.stud.ntnu.no/kundesenter/)

cd to where you want the repository and type "svnadmin create ."
or type "svnadmin create /path/to/repository"

E.g.:
cd /home/groups/sds_group/
mkdir svn
cd svn
svnadmin create .

or

svnadmin create /home/groups/sds_group/svn

Second: Install subclipse
(http://subclipse.tigris.org/install.html)

Third: Point subclipse to the repository
Create the project (if you haven't already done so).
Right click on the project -> select team -> share project
Select SVN -> Next
Select "Create new repository" -> Next
Enter URL:
"svn+ssh://username@login.stud.ntnu.no/path/to/repository"
(E.g.: "svn+ssh://johndoe@login.stud.ntnu.no/home/groups/sds_group/svn")

Importing an already existing project:
Import -> Checkout project from svn
Select "Create new repository" -> Next
Enter URL:
"svn+ssh://username@login.stud.ntnu.no/path/to/repository"
(E.g.: "svn+ssh://johndoe@login.stud.ntnu.no/home/groups/sds_group/svn")
-> Next
Select project to check out -> Finish

Common problems:
File permission in group area.
Wrong version of subclipse.

Quick workaround:
Try turtoise svn instead of subclipse   Thanks to Vaskinn[vaskinn@stud.ntnu.no] this Tutorial. 

Leave a comment