<project name="text" default="build">
  <property name="build.dir" value="build"/>
  <property name="src.dir" value="src"/>

  <path id="class.path">
    <pathelement location="${build.dir}"/>
    <pathelement location="/rayde/MMTX-2.4A/nls/mmtx/lib/mmtxProject.jar"/>
    <pathelement location="/rayde/MMTX-2.4A/nls/mmtx"/>
    <pathelement location="/rayde/MMTX-2.4A/nls/mmtx/config"/>
  </path>

  <target name="prepare" description="set up necessary directories and configuration files">
    <mkdir dir="${build.dir}"/>
  </target>

  <target name="build" depends="prepare">
    <javac srcdir="${src.dir}" destdir="${build.dir}" classpathref="class.path" fork="yes" debug="on">
       <exclude name="**/holdit/**/*"/>
       <exclude name="**/*-holdit/**/*"/>
    </javac>
  </target>

  <target name="clean">
    <delete dir="${build.dir}"/>
  </target>
</project>
