view java/build.xml @ 385:aea7ebf61cde

lol
author r
date Sun, 12 May 2013 02:23:41 +0000
parents 68df11a65b27
children
line wrap: on
line source
1 <project name="cortex-opencv" default="dist" basedir=".">
3 <property name="build" value="build"/>
4 <property name="src" value="src"/>
5 <property name="dist" value="dist"/>
7 <target name="prepare">
8 <mkdir dir="${build}"/>
9 <mkdir dir="${dist}"/>
10 </target>
12 <target name="compile" depends="prepare" >
13 <javac srcdir="${src}" destdir="${build}"
14 includeantruntime="false"/>
15 </target>
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>
24 <target name="all" depends="dist"/>
26 <target name="clean" >
27 <delete dir="${build}"/>
28 <delete dir="${dist}"/>
29 </target>
31 </project>