WinCVS 1.2.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 |
[edit]
Prerequisites
- Install TCL (http://www.activestate.com/Products/ActiveTCL/) to enable the macros in the WinCVS GUI (recommended, since really handy!). Also check out this (http://www.wincvs.org/newfaq.htm#activeTcl_notfound) page for activating TCL correctly.
- Install ANT to compile the sources or an IDE
[edit]
Setting the Preferences
- Use this as your CVSROOT
:pserver:cvs_anon@cvs.scms.waikato.ac.nz:/usr/local/global-cvs/ml_cvs
- and set the authentication to "passwd" file on the cvs server:
Missing image
Wincvs_12x_preferences1.jpg
Wincvs_12x_preferences1.jpg
- Set the default viewer to the one you prefer (in this case it's Gvim), the external diff program to the location you installed ExamDiff or KDiff3 to and finally the directory where to store your cvs passwords (since I'm using cygwin this is the home directory).
Missing image
Wincvs_12x_preferences2.jpg
Wincvs_12x_preferences2.jpg
[edit]
Connecting to the cvs repository
- Go to Admin -> Login... and login with an empty password:
Missing image
Wincvs_12x_password.jpg
Wincvs_12x_password.jpg
[edit]
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 Create -> Checkout module... and enter weka as module name. You can still change the directory where you want the source code:
Missing image
Wincvs_12x_checkout.jpg
Wincvs_12x_checkout.jpg
- If necessary you can also edit the checkout preferences, e.g. the CVSROOT and stuff like that. Even though that shouldn't be necessary since you already did that in the preferences:
Missing image
Wincvs_12x_checkout_options.jpg
Wincvs_12x_checkout_options.jpg
- 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).
[edit]
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!
[edit]
Links
- Ant http://ant.apache.org/
- WinCVS http://www.wincvs.org/
- Cywgin http://www.cygwin.com/
- TCL http://www.activestate.com/Products/ActiveTCL/
- Diff Tools
- ExamDiff http://www.prestosoft.com/ps.asp?page=edp_examdiff
- KDiff3 (Open-Source) http://kdiff3.sourceforge.net/
- Editors
- Gvim (Open-Source) http://www.vim.org/
- Notepad++ (Open-Source) http://notepad-plus.sourceforge.net/
- UltraEdit (free trial) http://www.ultraedit.com/
