Mercurial > cortex
annotate java/build.xml @ 363:9fa92af29c3a
saving ...
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 07 Mar 2013 05:36:17 +0000 |
parents | 68df11a65b27 |
children |
rev | line source |
---|---|
rlm@355 | 1 <project name="cortex-opencv" default="dist" basedir="."> |
rlm@355 | 2 |
rlm@355 | 3 <property name="build" value="build"/> |
rlm@355 | 4 <property name="src" value="src"/> |
rlm@355 | 5 <property name="dist" value="dist"/> |
rlm@355 | 6 |
rlm@355 | 7 <target name="prepare"> |
rlm@355 | 8 <mkdir dir="${build}"/> |
rlm@355 | 9 <mkdir dir="${dist}"/> |
rlm@355 | 10 </target> |
rlm@355 | 11 |
rlm@355 | 12 <target name="compile" depends="prepare" > |
rlm@355 | 13 <javac srcdir="${src}" destdir="${build}" |
rlm@355 | 14 includeantruntime="false"/> |
rlm@355 | 15 </target> |
rlm@355 | 16 |
rlm@355 | 17 <target name="dist" depends="compile"> |
rlm@355 | 18 <jar jarfile="${dist}/cortex-opencv.jar"> |
rlm@355 | 19 <fileset dir="${build}"/> |
rlm@355 | 20 <fileset dir="${src}"/> |
rlm@355 | 21 </jar> |
rlm@355 | 22 </target> |
rlm@355 | 23 |
rlm@355 | 24 <target name="all" depends="dist"/> |
rlm@355 | 25 |
rlm@355 | 26 <target name="clean" > |
rlm@355 | 27 <delete dir="${build}"/> |
rlm@355 | 28 <delete dir="${dist}"/> |
rlm@355 | 29 </target> |
rlm@355 | 30 |
rlm@355 | 31 </project> |
rlm@355 | 32 |