view java/build.xml @ 602:0e30fd920e6a

fix silly glitch.
author Robert McIntyre <rlm@mit.edu>
date Sun, 02 Sep 2012 09:28:08 -0500
parents 7ef5c73ea8fa
children
line wrap: on
line source
1 <project name="gb-bindings" default="dist" basedir=".">
3 <property name="build" value="build"/>
4 <property name="src" value="src"/>
5 <property name="dist" value="dist"/>
6 <property name="headers" value="headers"/>
7 <property name="artifacts" value="../artifacts"/>
8 <property name="lib" value="lib"/>
10 <path id="classpath">
11 <pathelement path="${lib}/tritonus_aos-0.3.6.jar"/>
12 <pathelement path="${lib}/tritonus_share-0.3.6.jar"/>
13 </path>
16 <target name="prepare">
17 <mkdir dir="${build}"/>
18 <mkdir dir="${headers}"/>
19 <mkdir dir="${dist}"/>
20 </target>
22 <target name="compile" depends="prepare" >
23 <javac srcdir="${src}" destdir="${build}"
24 classpathref="classpath"
25 includeantruntime="false"/>
26 </target>
28 <target name="native" depends="prepare, compile" >
29 <javah class="com.aurellem.gb.Gb"
30 destdir="${headers}"
31 classpath="${build}"/>
32 </target>
34 <target name="dist" depends="native">
35 <jar jarfile="${dist}/gb-bindings.jar">
36 <fileset dir="${build}"/>
37 <fileset dir="${src}"/>
38 </jar>
39 </target>
41 <target name="all" depends="dist"/>
43 <target name="clean" >
44 <delete dir="${build}"/>
45 <delete dir="${dist}"/>
46 <delete dir="${headers}"/>
47 </target>
49 </project>