java-fsm.build.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openaifsm Show documentation
Show all versions of openaifsm Show documentation
OpenAI FSM is used by Apache cTAKES.
It was originally developed out of sourceforge openAI group
The newest version!
<project name="OpenAI Finite State Machine (OAFiSM)" default="compile" basedir="."> <!-- set global properties for this build --> <property name="project" value= "OAFiSM - OpenAI Finite State Machine"/> <property name="version" value="0.1-beta"/> <property name="src" value="./code"/> <property name="class" value="./class"/> <property name="distname" value="openai-fsm"/> <property name="jarfile" value="./${distname}.jar"/> <property name="manifest" value="./manifest.mf"/> <property name="tarfile" value="./${distname}-${version}.tar"/> <property name="gzipfile" value="./${distname}-${version}.tgz"/> <property name="examples" value="./examples"/> <property name="doc" value="doc"/> <!-- initialization --> <target name="init"> <mkdir dir="${class}"/> <mkdir dir="${doc}"/> </target> <!-- compilation --> <target name="compile" depends="init"> <javac srcdir="${src}" destdir="${class}" debug="false" optimize="true"/> </target> <!-- debug compilation --> <target name="debug" depends="init"> <javac srcdir="${src}" destdir="${class}" debug="true"/> </target> <!-- jarring up the package --> <target name="jar" depends="compile"> <jar jarfile="${jarfile}" basedir="${class}" manifest="${manifest}"/> </target> <!-- javadoc generation --> <target name="doc" depends="init"> <javadoc sourcepath="${src}" packagenames="net.openai.util.fsm.*" destdir="${doc}" version="true" author="true" Windowtitle="${project}"/> </target> <!-- clean the package --> <target name="clean"> <delete dir="${class}"/> <delete file="${jarfile}"/> <delete> <fileset dir="${examples}" includes="*.class"/> </delete> </target> <!-- clean the package and docs --> <target name="realclean" depends="clean"> <delete dir="${doc}"/> </target> <!-- examples compilation --> <target name="examples" depends="compile"> <javac srcdir="${examples}" destdir="${examples}" classpath="class" optimize="true"/> </target> <!-- examples compilation --> <target name="debugexamples" depends="debug"> <javac srcdir="${examples}" destdir="${examples}" classpath="class" debug="true"/> </target> <!-- everything --> <target name="all" depends="init,compile,jar,doc,examples"/> <!-- for distribution --> <target name="dist" depends="realclean,all"/> </project>