Mercurial > cortex
diff java/build.xml @ 355:68df11a65b27
temporary java stuff to load native library.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 06 Mar 2013 17:13:27 +0000 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/java/build.xml Wed Mar 06 17:13:27 2013 +0000 1.3 @@ -0,0 +1,32 @@ 1.4 +<project name="cortex-opencv" default="dist" basedir="."> 1.5 + 1.6 + <property name="build" value="build"/> 1.7 + <property name="src" value="src"/> 1.8 + <property name="dist" value="dist"/> 1.9 + 1.10 + <target name="prepare"> 1.11 + <mkdir dir="${build}"/> 1.12 + <mkdir dir="${dist}"/> 1.13 + </target> 1.14 + 1.15 + <target name="compile" depends="prepare" > 1.16 + <javac srcdir="${src}" destdir="${build}" 1.17 + includeantruntime="false"/> 1.18 + </target> 1.19 + 1.20 + <target name="dist" depends="compile"> 1.21 + <jar jarfile="${dist}/cortex-opencv.jar"> 1.22 + <fileset dir="${build}"/> 1.23 + <fileset dir="${src}"/> 1.24 + </jar> 1.25 + </target> 1.26 + 1.27 + <target name="all" depends="dist"/> 1.28 + 1.29 + <target name="clean" > 1.30 + <delete dir="${build}"/> 1.31 + <delete dir="${dist}"/> 1.32 + </target> 1.33 + 1.34 +</project> 1.35 +