fixed commutativity rule
[cdsspec-compiler.git] / build.xml
1 <project name="SpecCheckerCompiler" default="compile" basedir=".">
2   <!-- Compile variables -->
3   <property name="src" location="src"/>
4   <property name="build" location="classes"/>
5   <property name="lib" location="lib/javacc.jar"/>
6
7   <target name="init">
8   <!-- Create the build directory -->
9     <mkdir dir="${build}"/>
10   </target>
11
12   <target name="compile" depends="init"
13         description="compile the source">
14     <!-- Compile the code from ${src} into ${build} -->
15     <javac srcdir="${src}" destdir="${build}" classpath="${lib}"
16                 includeantruntime="false" />
17   </target>
18
19   <target name="clean"
20         description="clean up">
21     <!-- Delete the ${build} directory trees -->
22     <delete dir="${build}"/>
23   </target>
24 </project>