Subversion repository


The Weka Subversion repository is accessible and browseable via the following URL:
A Subversion repository has usually the following layout:
 +- trunk
 +- tags
 +- branches
Where trunk contains the main trunk of the development, tags snapshots in time of the repository (e.g., when a new version got released) and branches development branches that forked off the main trunk at some stage (e.g., legacy versions that still get bugfixed).

Source code

The latest version of the Weka source code can be obtained with this URL:
If you want to obtain the source code of the book version, use this URL:

Specific version

Whenever a release of Weka is generated, the repository gets tagged:


Weka's JUnit tests are no longer a separate module (as it was the case before the migration to Subversion). They are now located in the src/test directory of the Weka source code tree.
But if you are looking for JUnit tests of versions 3.4.13 (book version)/3.5.8 (developer version) or even earlier versions, then you have to check out the tests module. For instance, for the developer version 3.5.8, you can find them here (below the dev-3-5-8 tag):



Modern Linux distributions already come with Subversion either pre-installed or easily installed via the package manager of the distribution. If that shouldn't be case, or if you are using Windows, you have to download the appropriate client from Subversion's homepage.

A checkout of the current developer version of Weka looks like this:
  • svn co

You can also obtain the source code for a specific date. The -r option of the svn command-line client can also take dates (format: YYYYMMDD) instead of only revision numbers. In order to distinguish the dates from revision numbers, you have to enclose the date within curly brackets:
  • svn co -r {20080716}


SmartSVN is a Java-based, graphical, cross-platform client for Subversion. Though it is not open-source/free software, the foundation version is for free.


Under Windows, TortoiseCVS was a CVS client, neatly integrated into the Windows Explorer. TortoiseSVN is the equivalent for Subversion.


If you want to have a tight integration with the Weka Subversion repository in your IDE, take a look at these HOWTOs: