Attention: Your project needs to be committed to the SVN repository at least twice weekly (Monday Midnight and Thursday Midnight). Groups that do not commit their sources to SVN according to the above policy will be penalized. A) Access through the Web (View Only) ================================== http://svn.cs.ucy.ac.cy/repos/EPL132/Ox where x is your group number (please check the exercise description to find your group number, e.g., O1, O2, ..., O10). The server uses authentication. You will need your LDAP (Unix or email) password to operate your repository. B) Access through eClipse (View/Update) ======================================= + Go to SVN perspective and add URL: http://svn.cs.ucy.ac.cy/repos/EPL132/Ox where x is your group number (please check the exercise description to find your group number (e.g., O1, O2, ..., O10). The server uses authentication. You will need your LDAP (Unix or email) password to operate your repository. + Right Click + Check Out + Go to C/C++ Perspective + Start working on the project + To checkin the material: Right-click on project name -> Team -> Commit C) Access through the Window Manager ==================================== Download one of the following tools: Suggested: RapidSVN: Free Cross-platform Client for connecting to the Departmental SVN reporsitory + Linux: kdesvn (KDE-integrated SVN client) (http://scplugin.tigris.org/) + Windows: TortoiseSVN (http://tortoisesvn.net/) + Cross-Platform (QT-based): eSVN (http://sourceforge.net/projects/esvn) + MacOSX: SCPlugin (http://scplugin.tigris.org/) or Versions (not free) The Utilize the URL: http://svn.cs.ucy.ac.cy/repos/EPL132/Ox where x is your group number (please check the exercise description to find your group number (e.g., O1, O2, ..., O10). The server uses authentication. You will need your LDAP (Unix or email) password to operate your repository. Consult the manual of each respective tool for further details. D) Access through Unix Commands (View/Update) ================================== Retrieving (checkout) Existing Projects --------------------------------------- svn co http://svn.cs.ucy.ac.cy/repos/EPL132/Ox where xx is your group number (please check the exercise description to find your group number, e.g., O1, O2, ..., O10). The server uses authentication. You will need your LDAP (Unix or email) password to operate your repository. Creating A New Project or Adding New Files to A Project -------------------------------------------------------- If you are adding new files to a project, you will use the following commands svn add file1 [, file2 [,...[, fileN]]] svn commit The commit command option commits the changes you hae made - new files are added to the project in the repository. If you are adding a new project, say, foo, which contains a number of files and directories, then the command snv add foo svn commit will add all the contents contained in foo to the repository. Deleting Files from A Project ------------------------------ Removing files from a project can be done with the following commands svn del file1 [, file2 [,...[, fileN]]] svn commit You can delete an entire directory foo with the command svn del foo svn commit The commit command option flushes out the entire directory foo in the repository as well. Modifying A Project -------------------- After you have made changes to a project, for example, you modified the file "fun.f90", you want to keep a version of it. To check in a file, use the following command svn update svn commit fun.f90 Note if you are working on a group projects and other group members are working on the same set of files and data, it is important that you perform an update operation first to sync up with the repository to reflect any changes possibly made by others before you make any changes. After you enter the commit command, you will then be prompted with an opened file in an editor (set through the environment SVN_EDITOR=vim, for instance), for remarks, which will look like this: --This line, and those below, will be ignored-- M simulation/fun.f90 ~ ~ ~ Up to this point, only the local copy of "fun.f90" has changed. After you save the file, the modified file "fun.f90" will be dropped to the repository. If you quit from editing the file, nothing will be changed in the repository Please check : http://www.yolinux.com/TUTORIALS/Subversion.html for more commands