Subversion

toc

= Subversion repository =

General
The Weka [|Subversion] repository is accessible and browseable via the following URL: > A Subversion repository has usually the following layout: code format="text" root | +- trunk | +- tags | +- branches code 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]//: > the tag for a release of the developer version, e.g., //dev-3-5-8// for Weka 3.5.8 > > the tag for a release of a stable version. The book version is one of those stable versions, e.g., //stable-3-4-13// for Weka 3.4.13. >



JUnit
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 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 module. For instance, for the developer version 3.5.8, you can find them here (below the tag): >

= Clients =

Commandline
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: >

You can also obtain the source code for a specific date. The option of the 🇸🇮 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: >

SmartSVN
[|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.

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

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

= Links =
 * [|Subversion on WikiPedia]
 * [|Subversion homepage]
 * [|TortoiseSVN homepage]
 * [|SmartSVN homepage]
 * [|JUnit homepage]