forked from typetools/annotation-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
83 lines (63 loc) · 2.31 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
73
74
75
76
77
78
79
80
81
82
83
<project name="annotation-tools" default="all">
<property file="${user.home}/.annotations-tools.properties" />
<property file="build.properties" />
<!-- default location of projects, has effect only if not previously set -->
<property name="asmx" location="asmx"/>
<property name="scene-lib" location="scene-lib"/>
<property name="afu" location="annotation-file-utilities"/>
<target name="all" description="Compile and tests"
depends="compile,test"/>
<target name="compile" description="Compile all annotation tools"
depends="compile-all"/>
<target name="test" description="Test all the tools"
depends="test-all"/>
<target name="clean" depends="clean-all"/>
<target name="compile-asmx">
<ant dir="${asmx}" target="compile">
<property name="product.noshrink" value="true"/>
</ant>
</target>
<!-- TODO: Get this working -->
<!-- Known to fail -->
<target name="test-asmx">
<ant dir="${asmx}" target="test"/>
</target>
<target name="compile-scene-lib">
<ant dir="${scene-lib}" target="bin"/>
</target>
<target name="javadoc-scene-lib">
<ant dir="${scene-lib}" target="javadoc"/>
</target>
<target name="test-scene-lib">
<ant dir="${scene-lib}" target="test"/>
</target>
<target name="compile-afu">
<ant dir="${afu}" target="jarfile"/>
</target>
<target name="javadoc-afu">
<ant dir="${afu}" target="javadoc"/>
</target>
<target name="test-afu">
<ant dir="${afu}" target="run-tests"/>
</target>
<target name="compile-all"
depends="compile-asmx,compile-scene-lib,compile-afu"/>
<!-- TODO: Add asmx tests when they work -->
<target name="test-all"
depends="test-scene-lib,test-afu"/>
<target name="clean-all">
<ant dir="${asmx}" target="clean"/>
<ant dir="${scene-lib}" target="clean"/>
<ant dir="${afu}" target="clean"/>
</target>
<target name="javadoc" depends="javadoc-scene-lib,javadoc-afu">
</target>
<target name="tags-scene-lib">
<ant dir="${scene-lib}" target="tags"/>
</target>
<target name="tags-afu">
<ant dir="${afu}" target="tags"/>
</target>
<target name="tags" depends="tags-scene-lib,tags-afu">
</target>
</project>