CVS
From WekaWiki
| Table of contents |
CVS Repository
Important: make sure that you check out the files with UNIX line ending, i.e., LF and not CRLF (Windows) or CR (Mac). Otherwise you might experience problems with props files for instance.
Source code
If you want to check out the current state of Weka as it is currently being worked on, you can do so via anonymous CVS. The following commands are for the CVS command line client.
Set the CVSROOT environment variable to:
:pserver:cvs_anon@cvs.scms.waikato.ac.nz:/usr/local/global-cvs/ml_cvs
Then you can checkout the latest (developer) snapshot of Weka using:
cvs login cvs co weka cvs logout
When you are asked for a password, just hit ENTER.
In case you want the source code for the book (http://www.cs.waikato.ac.nz/~ml/weka/book.html) version, use this sequence instead:
cvs login cvs co -r book2ndEd-branch weka cvs logout
Note: For compiling the source code, have a look here.
junit
The junit (http://www.junit.org/) unit tests can be checked out via the following module (use this instead of weka in above listed cvs commands):
tests
Specific version
If you want to retrieve a specific version of Weka and not the latest source code, you have to specify a tag with the checkout command (-r tag). Dots are replaced with dashes and for the developer version use the dev- prefix and for the book version stable-. A few examples:
- Weka 3.4.8
cvs co -r stable-3-4-8 weka
- Weka 3.5.3
cvs co -r dev-3-5-3 weka
Clients
Command line
The command line utilities can be downloaded here (http://ftp.gnu.org/non-gnu/cvs/binary/stable/). Normally, they're shipped with all the Linux distributions (also available through Cygwin (http://www.cygwin.com/)). Under Windows you will have to download a client (command line or GUI).
CrossVC/LinCVS
HOWTOs for CrossVC/LinCVS (http://www.lincvs.com/) are also available:
SmartCVS
Another free tool, though not open-source, is SmartCVS (http://smartcvs.com/):
WinCVS
These articles describe how to setup WinCVS (http://www.wincvs.org/) for the Weka CVS repository.
IDE
If you want to have a tight integration with the above mentioned CVS repository in your IDE, take a look at these HOWTOs:
Troubleshooting
- in case you're behind a firewall, make sure that your firewall isn't blocking port 2401 (default port for CVS)
Links
- CVS http://www.nongnu.org/cvs/
- CrossVC/LinCVS http://www.lincvs.com/
- SmartCVS http://smartcvs.com/
- TortoiseCVS http://sourceforge.net/projects/tortoisecvs/
- WinCVS http://www.wincvs.org/
- junit http://www.junit.org/
