Mercurial > cortex
comparison 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 |
comparison
equal
deleted
inserted
replaced
354:8d08646eaf99 | 355:68df11a65b27 |
---|---|
1 <project name="cortex-opencv" default="dist" basedir="."> | |
2 | |
3 <property name="build" value="build"/> | |
4 <property name="src" value="src"/> | |
5 <property name="dist" value="dist"/> | |
6 | |
7 <target name="prepare"> | |
8 <mkdir dir="${build}"/> | |
9 <mkdir dir="${dist}"/> | |
10 </target> | |
11 | |
12 <target name="compile" depends="prepare" > | |
13 <javac srcdir="${src}" destdir="${build}" | |
14 includeantruntime="false"/> | |
15 </target> | |
16 | |
17 <target name="dist" depends="compile"> | |
18 <jar jarfile="${dist}/cortex-opencv.jar"> | |
19 <fileset dir="${build}"/> | |
20 <fileset dir="${src}"/> | |
21 </jar> | |
22 </target> | |
23 | |
24 <target name="all" depends="dist"/> | |
25 | |
26 <target name="clean" > | |
27 <delete dir="${build}"/> | |
28 <delete dir="${dist}"/> | |
29 </target> | |
30 | |
31 </project> | |
32 |