Ant
What is ANT? This is how the ANT homepage defines its tool:
Apache Ant is a Java-based build tool. In theory, it is kind of like Make, but without Make's wrinkles.
Basics#
- the ANT build file is based on XML
- the usual name for the build file is
build.xml - invocation - the usual build file needs not be specified explicitly, if it's in the current directory; if not target is specified, the default one is used
- displaying all the available targets of a build file
Weka and ANT#
- a build file for Weka is available from git (it has been included in the
weka-src.jarsince version 3.4.8 and 3.5.3) - it is located in the
wekadirectory -
some targets of interest
-
clean- Removes the build, dist and reports directories; also any class files in the source tree compile- Compile weka and deposit class files in${path_modifier}/build/classesdocs- Make javadocs into {${path_modifier}/doc}}exejar- Create an executable jar file in${path_modifier}/dist