Mercurial > vba-clojure
view java/build.xml @ 490:151c96d60921
edit to image.clj
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 11 Jun 2012 00:53:20 -0500 |
parents | 09b3bc0b71b5 |
children | 7ef5c73ea8fa |
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"/>9 <target name="prepare">10 <mkdir dir="${build}"/>11 <mkdir dir="${headers}"/>12 <mkdir dir="${dist}"/>13 </target>15 <target name="compile" depends="prepare" >16 <javac srcdir="${src}" destdir="${build}"17 includeantruntime="false"/>18 </target>20 <target name="native" depends="prepare, compile" >21 <javah class="com.aurellem.gb.Gb"22 destdir="${headers}"23 classpath="${build}"/>24 </target>26 <target name="dist" depends="native">27 <jar jarfile="${dist}/gb-bindings.jar">28 <fileset dir="${build}"/>29 <fileset dir="${src}"/>30 </jar>31 </target>33 <target name="all" depends="dist"/>35 <target name="clean" >36 <delete dir="${build}"/>37 <delete dir="${dist}"/>38 <delete dir="${headers}"/>39 </target>41 </project>