Netbeans+6.0+(Subversion)

toc

Since the structure of the Subversion repository changed after November 12, 2008, you will find two sections here of how to get Weka setup using Subversion. Also, you might want to adapt the Subversion URL, in case you want to checkout a certain version of Weka (e.g., a release or at a certain date). There is no need for any user credentials for accessing the subversion server, since anonymous access is available.

The Example setup used in this HOWTO is for a Linux/Unix based operating system. If you are using Windows, you will have to adapt the paths accordingly (using backslashes instead forward slashes).

= Requirements =
 * ANT
 * Java 1.4 or later for Weka 3.4.x
 * Java 1.5 or later for Weka 3.5.x or later

 = before November 12, 2008 = This example setup here checks out the 3.5.8 release of Weka. The release's base URL is as follows: >

Setup Netbeans
> //File -> Project//
 * Create new //Java Application//

>


 * Enter the project details
 * Project name: //weka//
 * Project location: ///tmp//
 * Uncheck //Create Main class//

>


 * Click on //Finish//

Checkout
> //Versioning -> Subversion -> Checkout//
 * Bring up the checkout dialog

>
 * Use the following URL for the checkout (we only want to checkout the //weka// module, hence we add //weka// to aforementioned base URL):

>

>
 * Check out the source code into the following directory (the source code directory of our Netbeans project):

>

> //Build -> Build Main Project//
 * Click on //Finish//
 * Build the project

 = after November 12, 2008 = This example setup here checks out the most up-to-date version of Weka. The base URL is as follows: >

Checkout
> //Versioning -> Subversion -> Checkout//
 * Bring up the checkout dialog

>
 * And enter the following URL (you have to add //weka// to aforementioned base URL):

>


 * In this example, we want to check out the code into, hence use the following setup:
 * Local folder: ////

>


 * Click on //Finish//

Setup Netbeans
See article Netbeans 6.0 (weka-src.jar), section newer than 3.4.13 and 3.5.8 for details. Skip the creation of the directory and the extraction of the data from the //Extract the source code// section there.