annotate java/build.xml @ 523:d00096b6bf17

added sound introspection abilities.
author Robert McIntyre <rlm@mit.edu>
date Sat, 23 Jun 2012 20:34:14 -0500
parents 09b3bc0b71b5
children 7ef5c73ea8fa
rev   line source
rlm@44 1 <project name="gb-bindings" default="dist" basedir=".">
rlm@44 2
rlm@44 3 <property name="build" value="build"/>
rlm@44 4 <property name="src" value="src"/>
rlm@44 5 <property name="dist" value="dist"/>
rlm@44 6 <property name="headers" value="headers"/>
rlm@44 7 <property name="artifacts" value="../artifacts"/>
rlm@44 8
rlm@44 9 <target name="prepare">
rlm@44 10 <mkdir dir="${build}"/>
rlm@44 11 <mkdir dir="${headers}"/>
rlm@44 12 <mkdir dir="${dist}"/>
rlm@44 13 </target>
rlm@44 14
rlm@44 15 <target name="compile" depends="prepare" >
rlm@44 16 <javac srcdir="${src}" destdir="${build}"
rlm@44 17 includeantruntime="false"/>
rlm@44 18 </target>
rlm@44 19
rlm@44 20 <target name="native" depends="prepare, compile" >
rlm@44 21 <javah class="com.aurellem.gb.Gb"
rlm@44 22 destdir="${headers}"
rlm@44 23 classpath="${build}"/>
rlm@44 24 </target>
rlm@44 25
rlm@488 26 <target name="dist" depends="native">
rlm@44 27 <jar jarfile="${dist}/gb-bindings.jar">
rlm@44 28 <fileset dir="${build}"/>
rlm@44 29 <fileset dir="${src}"/>
rlm@44 30 </jar>
rlm@44 31 </target>
rlm@44 32
rlm@488 33 <target name="all" depends="dist"/>
rlm@44 34
rlm@44 35 <target name="clean" >
rlm@44 36 <delete dir="${build}"/>
rlm@44 37 <delete dir="${dist}"/>
rlm@44 38 <delete dir="${headers}"/>
rlm@44 39 </target>
rlm@44 40
rlm@44 41 </project>
rlm@44 42