-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathbuild.xml
More file actions
91 lines (78 loc) · 3.04 KB
/
Copy pathbuild.xml
File metadata and controls
91 lines (78 loc) · 3.04 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Leap Motion library for Processing.
Copyright (c) 2012-2015 held jointly by the individual authors.
This file is part of Leap Motion library for Processing.
Leap Motion library for Processing is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Leap Motion library for Processing is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Leap Motion library for Processing. If not, see
<http://www.gnu.org/licenses/>.
-->
<project name="leap-motion-processing" default="library">
<path id="project.classpath">
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
</path>
<target name="init">
<mkdir dir="docs"/>
<mkdir dir="classes"/>
<mkdir dir="LeapMotion"/>
<mkdir dir="LeapMotion/library"/>
</target>
<target name="compile" depends="init">
<javac srcdir="src" destdir="classes" source="1.7" target="1.7" includeantruntime="false">
<classpath refid="project.classpath"/>
</javac>
</target>
<target name="javadoc" depends="init">
<javadoc destdir="docs" source="1.7">
<fileset dir="src" includes="**/*.java"/>
<classpath refid="project.classpath"/>
<link href="http://docs.oracle.com/javase/7/docs/api/"/>
<link href="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/"/>
<bottom>Copyright (c) 2012-2015 held jointly by the individual authors. Licensed under the <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License<a> (GPL), version 3 or later.</bottom>
</javadoc>
</target>
<target name="jar" depends="compile">
<jar destfile="LeapMotion.jar" basedir="classes"/>
</target>
<target name="library" depends="jar,javadoc">
<copy file="COPYING" todir="LeapMotion"/>
<copy file="README.md" todir="LeapMotion"/>
<copy file="library.properties" todir="LeapMotion"/>
<copy todir="LeapMotion">
<fileset dir=".">
<include name="docs/**"/>
<include name="examples/**"/>
<include name="src/**"/>
</fileset>
</copy>
<copy file="LeapMotion.jar" todir="LeapMotion/library"/>
<copy todir="LeapMotion/library">
<fileset dir="lib" includes="Leap*"/>
</copy>
<copy todir="LeapMotion/library">
<fileset dir="lib">
<include name="linux/**"/>
<include name="linux64/**"/>
<include name="macosx/**"/>
<include name="windows/**"/>
<include name="windows64/**"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="docs"/>
<delete dir="classes"/>
<delete dir="LeapMotion"/>
<delete file="LeapMotion.jar"/>
</target>
</project>