This repository was archived by the owner on Apr 20, 2023. It is now read-only.
forked from ControlSystemStudio/phoebus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
137 lines (128 loc) · 5.13 KB
/
build.xml
File metadata and controls
137 lines (128 loc) · 5.13 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!-- Ant build file for building Phoebus
All external dependencies need to be
provided as jar files ../dependencies/lib
-->
<project name="Phoebus" default="services">
<target name="clean" description="Remove all artifacts">
<ant target="clean" dir="core/framework"/>
<ant target="clean" dir="core/util"/>
<ant target="clean" dir="core/email"/>
<ant target="clean" dir="core/formula"/>
<ant target="clean" dir="core/pva"/>
<ant target="clean" dir="core/pv"/>
<ant target="clean" dir="core/security"/>
<ant target="clean" dir="core/ui"/>
<ant target="clean" dir="core/logbook"/>
<ant target="clean" dir="core/types"/>
<ant target="clean" dir="app/diag"/>
<ant target="clean" dir="app/email"/>
<ant target="clean" dir="app/filebrowser"/>
<ant target="clean" dir="app/probe"/>
<ant target="clean" dir="app/logbook/inmemory"/>
<ant target="clean" dir="app/logbook/utility"/>
<ant target="clean" dir="app/logbook/ui"/>
<ant target="clean" dir="app/log-configuration"/>
<ant target="clean" dir="app/pvtree"/>
<ant target="clean" dir="app/pvtable"/>
<ant target="clean" dir="app/rtplot"/>
<ant target="clean" dir="app/databrowser"/>
<ant target="clean" dir="app/3dViewer"/>
<ant target="clean" dir="app/perfmon"/>
<ant target="clean" dir="app/pace"/>
<ant target="clean" dir="app/display/model"/>
<ant target="clean" dir="app/display/representation"/>
<ant target="clean" dir="app/display/representation-javafx"/>
<ant target="clean" dir="app/display/runtime"/>
<ant target="clean" dir="app/display/editor"/>
<ant target="clean" dir="app/display/convert-medm"/>
<ant target="clean" dir="app/display/convert-edm"/>
<ant target="clean" dir="app/scan/model"/>
<ant target="clean" dir="app/scan/client"/>
<ant target="clean" dir="app/scan/ui"/>
<ant target="clean" dir="app/alarm/model"/>
<ant target="clean" dir="app/alarm/ui"/>
<ant target="clean" dir="app/update"/>
<ant target="clean" dir="app/console"/>
<ant target="clean" dir="phoebus-product"/>
<ant target="clean" dir="services/scan-server"/>
<ant target="clean" dir="services/alarm-server"/>
<ant target="clean" dir="services/alarm-logger"/>
<ant target="clean" dir="services/archive-engine"/>
<!-- If above list is complete, each project should have deleted its output.
Just in case, another way to delete all target dirs
_except_ dependencies
-->
<delete includeEmptyDirs="true">
<fileset dir="core" includes="**/target/**"/>
<fileset dir="app" includes="**/target/**"/>
<fileset dir="services" includes="**/target/**"/>
</delete>
</target>
<target name="core" description="Build core modules">
<!-- Set ${DSTAMP} -->
<tstamp/>
<!--
<echo message="App classpath: ${toString:app-classpath}"/>
-->
<ant dir="core/framework"/>
<ant dir="core/util"/>
<ant dir="core/email"/>
<ant dir="core/formula"/>
<ant dir="core/pva"/>
<ant dir="core/pv"/>
<ant dir="core/security"/>
<ant dir="core/ui"/>
<ant dir="core/logbook"/>
<ant dir="core/types"/>
</target>
<target name="app" depends="core" description="Build app modules">
<ant dir="app/diag"/>
<ant dir="app/email"/>
<ant dir="app/filebrowser"/>
<ant dir="app/probe"/>
<ant dir="app/logbook/inmemory"/>
<ant dir="app/logbook/utility"/>
<ant dir="app/logbook/ui"/>
<ant dir="app/log-configuration"/>
<ant dir="app/pvtree"/>
<ant dir="app/pvtable"/>
<ant dir="app/rtplot"/>
<ant dir="app/databrowser"/>
<ant dir="app/3dViewer"/>
<ant dir="app/perfmon"/>
<ant dir="app/pace"/>
<ant dir="app/display/model"/>
<ant dir="app/display/representation"/>
<ant dir="app/display/representation-javafx"/>
<ant dir="app/display/runtime"/>
<ant dir="app/display/editor"/>
<ant dir="app/display/convert-medm"/>
<ant dir="app/display/convert-edm"/>
<ant dir="app/scan/model"/>
<ant dir="app/scan/client"/>
<ant dir="app/scan/ui"/>
<ant dir="app/alarm/model"/>
<ant dir="app/alarm/ui"/>
<ant dir="app/update"/>
<ant dir="app/console"/>
</target>
<target name="product" depends="app" description="Assemble product">
<ant target="product" dir="phoebus-product"/>
</target>
<target name="services" depends="product" description="Assemble services">
<ant target="service-scan-server" dir="services/scan-server"/>
<ant target="service-alarm-server" dir="services/alarm-server"/>
<ant target="service-alarm-logger" dir="services/alarm-logger"/>
<ant target="service-archive-engine" dir="services/archive-engine"/>
</target>
<target name="dist" depends="services" description="Pack for distribution">
<ant target="dist" dir="phoebus-product"/>
<ant target="dist" dir="services/scan-server"/>
<ant target="dist" dir="services/alarm-server"/>
<ant target="dist" dir="services/alarm-logger"/>
<ant target="dist" dir="services/archive-engine"/>
</target>
<target name="run" depends="product" description="Run the product">
<ant target="run" dir="phoebus-product"/>
</target>
</project>