WinCVS 2.0.x

From WekaWiki

If you're running windows you can have a comfortable way of using the CVS repository - instead of the command line. A really nice GPL tool is 'WinCVS and here is how to configure it.

Table of contents

Prerequisites

  • Install Python (http://www.python.org/) to enable the macros in the WinCVS GUI (recommended, since really handy!)
  • Install ANT to compile the sources or an IDE


Setting the Preferences

  • Got to Admin -> Preferences... and check Prune empty directories, set Compression level to 9 and check Checkout files with the Unix LF:


Enlarge


  • Set the default viewer to the one you prefer (in this case it's Gvim), the external diff program (if you installed either ExamDiff or KDiff3) and the Python DLL:


Enlarge


  • If you want to, to and finally the directory where to store your cvs passwords (since I'm using cygwin this is the home directory).


Enlarge

Connecting to the cvs repository

  • Go to Admin -> Login..., set the following CVSROOT:
:pserver:cvs_anon@cvs.scms.waikato.ac.nz:/usr/local/global-cvs/ml_cvs 


Enlarge


  • and login with an empty password


Enlarge


Check out the WEKA module

  • Set the directory you want your copy of WEKA to rest in via View -> Browse Location -> Change....
  • Then go to Remote -> Checkout module... and enter weka as module name. You can still change the directory where you want the source code:


Enlarge


  • That's it! Just go to the directory you saved the source code to, change into weka and compile the source code with Ant (build file is build.xml).

SSH

If you're using ssh access (i.e., ext) instead of pserver access, you'll have to set the enviroment variable CVS_RSH to the location of your ssh executable. Under cygwin (if installed in c:\cygwin) it can be done with c:\cygwin\bin\ssh.

Do not extend your PATH environment variable to the bin path of cygwin, since this can interfere with your TCL macros, if you have TCL also installed under cygwin!

Links