the content of build.xml is the following:
<project name="CRF" default="dist" basedir=".">
<description>
crf tool build file
</description>
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="lib" location="lib"/>
<property name="doc" location="doc"/>
<!-- <property name="stylesheet" value="stylesheet.css"/> -->
<property name="link" value="http://java.sun.com/j2se/1.4.1/docs/api"/>
<property name="windowtitle" value="CRF- API specification"/>
<property name="compile.debug" value="true"/>
<path id="compile.classpath">
<pathelement location="${build}"/>
<pathelement location="lib/LBFGS.jar"/>
<pathelement location="lib/colt.jar"/>
<pathelement location="lib/CRF-Trove_3.0.2.jar"/>
</path>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<mkdir dir="${build}"/>
<mkdir dir="${doc}"/>
</target>
<target name="compile" depends="init"
description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}" debug="${compile.debug}"
classpathref="compile.classpath"/>
</target>
<target name="docs" depends="compile" description="generates documentation" >
<javadoc sourcepath="${src}"
defaultexcludes="yes"
destdir="${doc}"
version="true"
use="true"
public="true"
windowtitle="CRF API"
packagenames="iitb.*"
classpathref="compile.classpath"
>
<doctitle><![CDATA[<h1>CRF API Specification</h1>]]></doctitle>
<bottom><![CDATA[<font size="-1">[URL=mailto:sunita@iitb.ac.in]Submit a bug or feature[/URL]. </font>]]></bottom>
</javadoc>
</target>
<target name="dist" depends="compile"
description="generate the distribution" >
<!-- Create the distribution directory -->
<!-- Put everything in ${build} into the CRF.jar file -->
<jar jarfile="${lib}/CRF.jar" basedir="${build}"/>
</target>
<target name="clean"
description="clean up" >
<delete file="${build}/iitb/*/*.class"/>
<delete file="${lib}/CRF.jar"/>
</target>
</project>