TTM4115 FAQ

FORWARD LAB RELATED QUESTIONS TO SURYA@ITEM.NTNU.NO AND FOR OTHER QUESTIONS CONTACT PROF. ROLV BRÆK

1. How to use subversion - ITEM SVN server svn.item.ntnu.no or stud.ntnu.no server


� First: Create the repository:

Use Putty (download) or other ssh software into your student account or group area.

You (see users here) are added to the ITEM SVN server svn.item.ntnu.no. So you can use it. Or optionally, you can use you can apply for NTNU group area here: http://www.stud.ntnu.no/kundesenter/

go to the directory where you want the repository and type
cd /path/to/repository svnadmin create .

or type
svnadmin create /path/to/repository

E.g.:

cd /home/surya/ttm4115/
mkdir svn
cd svn
svnadmin create .

or

svnadmin create /home/surya/ttm4115

Note: If you want to customize (adding users, groups rights) your repository refer the SNV manual.

� Next Install subclipse as a plug-in for eclipse

Install subeclipae (already comes with the eclipse which can be downloaded from the assignment section) and make sure thattconfiguration in eclipse as below: windows > preferences > svn

� Then: You can browse your repository

In Eclipse, go to SVN Repository Exploring perspective and you can check the new Repository location with svn+ssh:username@svn.item.ntnu.no/path/to/repository
for example: surya@svn.item.ntnu.no/home/surya/ttm4115
Finally: You can use the SVN commands. Import for importing the project to SVN repository, Checkout for checking out the project from repository to your local directory and etc. Please refer to the SVN manual for more information.




2010/04/22 15:31, Simon Han