-
Notifications
You must be signed in to change notification settings - Fork 1
/
build-core.xml
75 lines (62 loc) · 3.11 KB
/
build-core.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
73
74
75
<?xml version="1.0" encoding="UTF-8"?>
<project name="picode" default="picode-jar" basedir=".">
<!-- ****Properties**** -->
<!-- Software version -->
<property name="picode-version" value="0.2.0" />
<!-- Dependent class pathes -->
<!-- <property name="jdi.classpath" value="./processing/lib/com.ibm.icu_4.4.2.v20110823.jar; ./processing/lib/jdi.jar; ./processing/lib/jdimodel.jar; ./processing/lib/org.eclipse.osgi_3.8.1.v20120830-144521.jar"/> -->
<property name="jdi.classpath" value="./processing/lib/tools.jar"/>
<property name="pde.classpath" value="./lib/core/library/core.jar; ${jdi.classpath}; ./processing/lib/ant.jar; ./processing/lib/ant-launcher.jar; ./processing/lib/antlr.jar; ./processing/lib/apple.jar; ./processing/lib/jna.jar; ./processing/lib/org-netbeans-swing-outline.jar; ./processing/lib/ecj.jar"/>
<property name="phybots.classpath" value="./lib/phybots/library/phybots-core-1.0.2.jar; ./lib/phybots/library/connector-1.0.6.jar; ./lib/phybots/library/capture-1.0.3.jar; ./lib/phybots/library/bluecove-2.1.1-SNAPSHOT.jar" />
<property name="kinect.classpath" value="./lib/kinect/library/kinect.jar; ./lib/kinect/library/libthrift-0.9.0.jar; ./lib/kinect/library/slf4j-api-1.5.8.jar; ./lib/kinect/library/slf4j-simple-1.5.8.jar" />
<property name="picode-classpath" value="./bin; ${pde.classpath}; ${phybots.classpath}; ${kinect.classpath}" />
<!-- Source directory -->
<property name="picode-src.dir" value="src" />
<property name="picode-src-core.dir" value="src.core" />
<!-- Classes destination directory -->
<property name="picode-classes.dir" value="bin" />
<property name="picode-classes-core.dir" value="bin.core" />
<!-- Javadoc destination -->
<property name="picode-javadoc.dir" value="docs" />
<!-- Jar file name -->
<property name="picode-jar.dir" value="lib/picode/library/" />
<property name="picode-jar.name" value="picode.jar" />
<!-- ****Targets**** -->
<!-- Jar -->
<target name="picode-jar" depends="picode-compile">
<mkdir dir="${picode-jar.dir}"/>
<jar jarfile="${picode-jar.dir}${picode-jar.name}" >
<fileset dir="${picode-classes-core.dir}" />
<fileset dir="${picode-src-core.dir}" />
</jar>
</target>
<!-- Compile -->
<target name="picode-compile">
<mkdir dir="${picode-classes-core.dir}" />
<javac srcdir="${picode-src-core.dir}" destdir="${picode-classes-core.dir}"
target="1.6"
source="1.6"
optimize="on"
classpath="${picode-classpath}" />
</target>
<!-- Javadoc -->
<target name="picode-javadoc">
<javadoc
sourcepath="${picode-src-core.dir}"
excludepackagenames="com.phybots.picode.api.remote"
destdir="${picode-javadoc.dir}"
charset="UTF-8"
encoding="UTF-8"
docencoding="UTF-8"
locale="en_US"
classpath="${picode-classpath}"
bottom="<center>Copyright by Jun Kato (arc@dmz) at <a href="http://junkato.jp/" target="_top">http://junkato.jp/</a></center>">
</javadoc>
</target>
<!-- Clean -->
<target name="picode-clean">
<delete dir="${picode-classes-core.dir}" />
<delete dir="${picode-javadoc.dir}" />
<delete file="${picode-jar.dir}${picode-jar.name}" />
</target>
</project>