-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
72 lines (71 loc) · 3.1 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="build" name="tabletop_kinect">
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.7"/>
<property name="source" value="1.7"/>
<path id="tabletop_kinect.classpath">
<pathelement location="bin"/>
<pathelement location="lib/vecmath.jar"/>
<pathelement location="lib/javacpp.jar"/>
<pathelement location="lib/javacv-os.jar"/>
<pathelement location="lib/javacv.jar"/>
<pathelement location="lib/org.OpenNI.jar"/>
<pathelement location="lib/commons-cli-1.2.jar"/>
<pathelement location="lib/j3dcore.jar"/>
<pathelement location="lib/j3dutils.jar"/>
<pathelement location="lib/j3dcore-ogl.dll"/>
</path>
<target name="init">
<mkdir dir="bin"/>
<copy includeemptydirs="false" todir="bin">
<fileset dir="src">
<exclude name="**/*.launch"/>
<exclude name="**/*.java"/>
</fileset>
</copy>
<copy includeemptydirs="false" todir="bin">
<fileset dir="test">
<exclude name="**/*.launch"/>
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="bin"/>
</target>
<target depends="clean" name="cleanall"/>
<target depends="build-subprojects,build-project" name="build"/>
<target name="build-subprojects"/>
<target depends="init" name="build-project">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac includeantruntime="false" debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
<src path="src"/>
<classpath refid="tabletop_kinect.classpath"/>
</javac>
</target>
<target name="HandTrackingApp">
<java classname="edu.mit.yingyin.tabletop.apps.HandTrackingApp" failonerror="true" fork="yes">
<classpath refid="tabletop_kinect.classpath"/>
<sysproperty key="java.library.path" value="${java.library.path}${path.separator}lib"/>
<jvmarg value="-Djava.util.logging.config.file=config/logging.properties"/>
</java>
</target>
<target name="DiecticGestureTest">
<java classname="edu.mit.yingyin.tabletop.apps.DiecticGestureTest" failonerror="true" fork="yes">
<classpath refid="tabletop_kinect.classpath"/>
<jvmarg value="-Djava.util.logging.config.file=config/logging.properties"/>
</java>
</target>
<target name="CalibrationApp">
<java classname="edu.mit.yingyin.tabletop.apps.CalibrationApp" failonerror="true" fork="yes">
<classpath refid="tabletop_kinect.classpath"/>
<arg value="config/calibration.properties"/>
</java>
</target>
<target name="CheckerboardTestApp">
<java classname="edu.mit.yingyin.tabletop.apps.CheckerboardTestApp" failonerror="true" fork="yes">
<classpath refid="tabletop_kinect.classpath"/>
</java>
</target>
</project>