forked from NLeSC/vbrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modules.xml
240 lines (175 loc) · 7.82 KB
/
modules.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<project name="vbrowser-modules" default="doModules" basedir=".">
<import file="build.xml" />
<target name="module-check">
<property name="sourcepath" value="${project.sourcedir}/${name}" />
<available property="module.exists" file="${sourcepath}/build.xml" />
<!-- component info -->
<echo message="==============================================================" />
<echo message="=== Build Component: ${name}: ${target}" />
<echo message="==============================================================" />
<echo message=" project root = ${project.root}" />
<echo message=" project dist = ${project.dist}" />
<echo message=" project sourceroot = ${project.sourcedir}" />
<echo message=" component name = ${name}" />
<echo message=" component scm.path = ${scm.path}" />
<echo message=" component sourcepath = ${sourcepath}" />
</target>
<!--
Build Component
name : Component Name
target : Target component (directory)
-->
<target name="module-build" depends="module-check">
<fail unless="module.exists" message="*** Component: ${name} at ${sourcepath} is missing or scm checkout went wrong (missing build.xml file ?)" />
<!-- default target: can be overriden by previous target-->
<property name="target" value="dist-install" />
<ant antfile="build.xml" dir="${sourcepath}" target="${target}">
</ant>
</target>
<target name="doModules" depends="vlet-all" />
<target name="doModules-test" depends="vlet-modules-test" />
<target name="vlet-modules-test" depends="init">
<antcall target="module-build">
<param name="name" value="nl.esciencecenter.ptk" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
</target>
<target name="vlet-all" depends="init,vlet-core,vlet-vrs-xenon,vlet-vfs-adaptors,vlet-vbrowser,vlet-vbrowser-plugins,vlet-doc.userguide">
</target>
<target name="vlet-xenon-all" depends="init,vlet-core,vlet-vrs-xenon,vlet-vfs-adaptors,vlet-vbrowser,vlet-vbrowser-plugins,vlet-doc.userguide">
</target>
<target name="vlet-auxlibs" depends="init">
<!-- <antcall target="module-build">
<param name="name" value="cog.jglobus-1.4" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall> -->
</target>
<target name="vlet-platinum" depends="init,vlet-auxlibs">
<antcall target="module-build">
<param name="name" value="vlet-platinum" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
</target>
<target name="vlet-core" depends="init,vlet-auxlibs,vlet-platinum">
<antcall target="module-build">
<param name="name" value="vlet-vrs.core" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
<antcall target="module-build">
<param name="name" value="vlet-vrs.infors" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
</target>
<target name="vlet-vfs-globus" depends="vlet-core">
<antcall target="module-build">
<param name="name" value="org.apache.axis-1.4" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
<antcall target="module-build">
<param name="name" value="vlet-grid.globus" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
<antcall target="module-build">
<param name="name" value="vlet-vfs.gftp" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
</target>
<target name="vlet-vrs-xenon" depends="vlet-core">
<antcall target="module-build">
<param name="name" value="nlesc-vbrowser.vrs.xenon" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
</target>
<target name="vlet-vfs-ssh" depends="vlet-core">
<antcall target="module-build">
<param name="name" value="vlet-vfs.jcraft.ssh" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
</target>
<target name="vlet-vfs-lfc-srm" depends="vlet-vfs-globus">
<antcall target="module-build">
<param name="name" value="glite-lbl.srm" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
<antcall target="module-build">
<param name="name" value="vlet-vfs.srm" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
<antcall target="module-build">
<param name="name" value="glite-lfc" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
<antcall target="module-build">
<param name="name" value="vlet-vfs.lfc" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
</target>
<!-- <target name="vlet-vfs-adaptors" depends="vlet-vrs-xenon,vlet-vfs-globus,vlet-vfs-lfc-srm"/> -->
<target name="vlet-vfs-adaptors" depends="vlet-vfs-ssh,vlet-vfs-globus,vlet-vfs-lfc-srm" />
<!--
===========================================
UI Modules
===========================================
-->
<target name="vlet-vbrowser" depends="vlet-core,vlet-platinum">
<antcall target="module-build">
<param name="name" value="vlet-gui.vbrowser" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
</target>
<target name="vlet-vbrowser-plugins" depends="vlet-vbrowser">
<antcall target="module-build">
<param name="name" value="vlet-gui.lobo.viewer" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
<antcall target="module-build">
<param name="name" value="vlet-gui.pedal" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
</target>
<!-- =================================================================== -->
<!-- VLET documentation -->
<!-- =================================================================== -->
<!--
Conditional target: latexdocs can only be created on Linux
-->
<target name="check-build-userguide">
<!-- set if not set -->
<property name=" " value="yes" />
<condition property="do.build.doc.userguide">
<and>
<!-- yes/true strings: -->
<istrue value="${project.build.doc.userguide}" />
<not>
<os family="windows" />
</not>
</and>
</condition>
<echo message=" project.build.doc.userguide =${project.build.doc.userguide} " />
<echo message=" do.build.doc.userguide =${do.build.doc.userguide} " />
</target>
<target name="vlet-doc.userguide" if="do.build.doc.userguide" depends="vlet-core,check-build-userguide">
<antcall target="module-build">
<param name="name" value="doc.userguide" />
<param name="version" value="" />
<param name="scm.path" value="" />
</antcall>
</target>
</project>