forked from wocommunity/wonder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
121 lines (107 loc) · 4.55 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<project name="Wonder" default="usage">
<!--
this file is just a tiny wrapper around the core file Build/build/build.xml
more info about the builds can be found there
-->
<target name="clean">
<ant antFile="Build/build/build.xml" target="clean" />
</target>
<target name="frameworks">
<ant antFile="Build/build/build.xml" target="frameworks.all">
<property name="build.action" value="build" />
<property name="wonder.patch" value="54" />
</ant>
</target>
<target name="frameworks.install">
<ant antFile="Build/build/build.xml" target="frameworks.all">
<property name="build.action" value="install" />
</ant>
<ant antFile="Build/build/build.xml" target="frameworks.all">
<property name="build.action" value="web" />
</ant>
</target>
<target name="tests">
<ant antFile="Build/build/build.xml" target="tests.all">
<property name="build.action" value="build" />
<property name="wonder.development" value="false" />
<property name="wonder.patch" value="54" />
</ant>
</target>
<target name="applications">
<ant antFile="Build/build/build.xml" target="applications.all">
<property name="build.action" value="build" />
<property name="wonder.development" value="false" />
<property name="wonder.patch" value="54" />
</ant>
</target>
<target name="applications.install">
<ant antFile="Build/build/build.xml" target="applications.all">
<property name="build.action" value="install" />
</ant>
<ant antFile="Build/build/build.xml" target="applications.all">
<property name="build.action" value="web" />
</ant>
</target>
<!-- Build just the JavaMonitor.woa and wotaskd.woa applications -->
<target name="deployment.tools">
<ant antFile="Build/build/build.xml" target="wotaskd.all">
<property name="build.action" value="build" />
<property name="wonder.development" value="false" />
</ant>
<ant antFile="Build/build/build.xml" target="JavaMonitor.all">
<property name="build.action" value="build" />
<property name="wonder.development" value="false" />
</ant>
</target>
<target name="examples">
<ant antFile="Build/build/build.xml" target="examples.all">
<property name="build.action" value="build" />
<property name="wonder.development" value="false" />
</ant>
</target>
<target name="examples.install">
<ant antFile="Build/build/build.xml" target="examples.all">
<property name="build.action" value="install" />
</ant>
<ant antFile="Build/build/build.xml" target="examples.all">
<property name="build.action" value="web" />
</ant>
</target>
<target name="build" depends="frameworks,applications,examples" />
<target name="plugins">
<ant antFile="Build/build/build.xml" target="plugins.all">
<property name="build.action" value="build" />
</ant>
</target>
<target name="usage">
<echo message="please use the sequence:" />
<echo message=" ant frameworks" />
<echo message=" sudo ant frameworks.install" />
<echo message=" ant applications" />
<echo message=" sudo ant applications.install" />
<echo message=" ant examples" />
<echo message=" sudo ant examples.install" />
<echo message="or, if you can write into your install directory:" />
<echo message=" ant all" />
</target>
<target name="docs">
<ant antFile="Build/build/build-doc.xml" target="api">
<property name="dist.base" value="dist" />
<property name="project.version" value="5.0" />
</ant>
</target>
<target name="docs-clean">
<ant antFile="Build/build/build-doc.xml" target="clean">
<property name="dist.base" value="dist" />
</ant>
</target>
<target name="dist">
<ant antFile="Build/build/build.xml" target="dist">
<property name="dist.base" value="dist" />
<property name="project.version" value="5.0" />
</ant>
</target>
<target name="tests.run"><ant antFile="Build/build/build.xml" target="tests.run" /></target>
<target name="all" depends="clean, frameworks, frameworks.install, applications, applications.install, examples, examples.install">
</target>
</project>