Eclipse+3.4.x+(weka-src.jar)

toc

Since the Subversion structure changed in early November 2008, the structure of the changed as well. This affects the nightly snapshots and versions later than 3.4.13 and 3.5.8.

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

= up to 3.4.13 and 3.5.8 =

Extract the source code
> >
 * Create a directory for the source code, e.g., the following:
 * Extract the source code from the with any archive manager that can handle the [|ZIP] file format into the directory you just created (don't forget to re-recreate the folder structure when extracting).
 * change into the package and run the  from command-line for creating all the necessary directories:

Setup Eclipse
> //File -> New -> Project...//
 * Start up Eclipse
 * Create a new Java project

>


 * Name the project //Weka//
 * check //Create separate folders for source and class files// and use the following folders:
 * Source folder name:
 * Output folder name:

>

>
 * check //Create project from existing code// and use the following path:

>

> Weka/build/classes
 * Exclude the and  directories from the //build path// and make sure that the //default output folder// is the following directory (//Weka// is the project name):

>


 * Click on //Finish//

= newer than 3.4.13 and 3.5.8 =

Extract the source code
> >
 * Create a directory for the source code, e.g., the following:
 * Extract the source code from the with any archive manager that can handle the [|ZIP] file format into the directory you just created (don't forget to re-recreate the folder structure when extracting).
 * create a directory, if necessary (on the same level as )
 * run the (above the  directory) from command-line for creating all the necessary directories:

Setup Eclipse
> //File -> New -> Project...//
 * Start up Eclipse
 * Create a new Java project

>


 * Name the project //Weka//
 * check //Create separate folders for source and class files// and use the following folders:
 * Source folder name:
 * Output folder name:

>

>
 * check //Create project from existing code// and use the following path:

>

> Weka/build/classes
 * Exclude the directory from the //build path// and make sure that the //default output folder// is the following directory (//Weka// is the project name):

>


 * Click on //Finish//

= Links =
 * [|Eclipse homepage]
 * ANT - for more information on