-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.xml
executable file
·376 lines (330 loc) · 14.6 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
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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project [
]>
<!-- ====================================================================== -->
<!-- -->
<!-- JBoss, the OpenSource J2EE webOS -->
<!-- -->
<!-- Distributable under LGPL license. -->
<!-- See terms of license at http://www.gnu.org. -->
<!-- -->
<!-- ====================================================================== -->
<project default="main" name="JBoss/EJB3 Tutorials">
<target name="main">
<!-- TODO: Uncomment individual tutorials as and when they are ready -->
<antcall target="asynch" inheritRefs="true"/>
<antcall target="blob" inheritRefs="true"/>
<antcall target="callbacks" inheritRefs="true"/>
<antcall target="cachedentity" inheritRefs="true"/>
<antcall target="composite" inheritRefs="true"/>
<antcall target="consumer" inheritRefs="true"/>
<antcall target="consumer_deployment_descriptor" inheritRefs="true"/>
<antcall target="dependency" inheritRefs="true"/>
<antcall target="enterprise_app_ejb_injection" inheritRefs="true"/>
<antcall target="ejb21_client_adaptors" inheritRefs="true"/>
<antcall target="embeddable" inheritRefs="true"/>
<antcall target="entity" inheritRefs="true"/>
<antcall target="extended_pc" inheritRefs="true"/>
<antcall target="injection" inheritRefs="true"/>
<antcall target="interceptor" inheritRefs="true"/>
<antcall target="jboss_deployment_descriptor" inheritRefs="true"/>
<antcall target="jca_inflow_quartz" inheritRefs="true"/>
<antcall target="jndibinding" inheritRefs="true"/>
<antcall target="mdb" inheritRefs="true"/>
<antcall target="merge" inheritRefs="true"/>
<antcall target="reference21_30" inheritRefs="true"/>
<antcall target="relationships" inheritRefs="true"/>
<antcall target="resource_ref" inheritRefs="true"/>
<antcall target="secondary" inheritRefs="true"/>
<antcall target="security" inheritRefs="true"/>
<antcall target="service" inheritRefs="true"/>
<antcall target="service_deployment_descriptor" inheritRefs="true"/>
<antcall target="singleinheritance" inheritRefs="true"/>
<antcall target="stateful" inheritRefs="true"/>
<antcall target="stateful_deployment_descriptor" inheritRefs="true"/>
<antcall target="stateless" inheritRefs="true"/>
<antcall target="stateless_deployment_descriptor" inheritRefs="true"/>
<antcall target="timer" inheritRefs="true"/>
</target>
<target name="asynch">
<echo message="---------------- Running asynch ------------"/>
<ant dir="asynch" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="asynch" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="asynch" antfile="build.xml" target="clean"/>
</target>
<target name="blob">
<echo message="---------------- Running blob ------------"/>
<ant dir="blob" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="blob" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="blob" antfile="build.xml" target="clean"/>
</target>
<target name="callbacks">
<echo message="---------------- Running callbacks ------------"/>
<ant dir="callbacks" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="callbacks" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="callbacks" antfile="build.xml" target="clean"/>
</target>
<target name="cachedentity">
<echo message="---------------- Running cachedentity ------------"/>
<ant dir="cachedentity" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="cachedentity" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="cachedentity" antfile="build.xml" target="clean"/>
</target>
<target name="composite">
<echo message="---------------- Running composite ------------"/>
<ant dir="composite" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="composite" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="composite" antfile="build.xml" target="clean"/>
</target>
<target name="consumer">
<echo message="---------------- Running consumer ------------"/>
<ant dir="consumer" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="consumer" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="consumer" antfile="build.xml" target="clean"/>
</target>
<target name="consumer_deployment_descriptor">
<echo message="---------------- Running consumer_deployment_descriptor ------------"/>
<ant dir="consumer_deployment_descriptor" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="consumer_deployment_descriptor" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="consumer_deployment_descriptor" antfile="build.xml" target="clean"/>
</target>
<target name="dependency">
<echo message="---------------- Running dependency ------------"/>
<ant dir="dependency" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="dependency" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="dependency" antfile="build.xml" target="clean"/>
</target>
<target name="embeddable">
<echo message="---------------- Running embeddable ------------"/>
<ant dir="embeddable" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="embeddable" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="embeddable" antfile="build.xml" target="clean"/>
</target>
<target name="enterprise_app_ejb_injection">
<echo message="---------------- Running enterprise_app_ejb_injection ------------"/>
<ant dir="enterprise_app_ejb_injection" antfile="build.xml"/>
<sleep seconds="4"/>
<ant dir="enterprise_app_ejb_injection" antfile="build.xml" target="clean"/>
</target>
<target name="ejb21_client_adaptors">
<echo message="---------------- Running ejb21_client_adaptors ------------"/>
<ant dir="ejb21_client_adaptors" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="ejb21_client_adaptors" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="ejb21_client_adaptors" antfile="build.xml" target="clean"/>
</target>
<target name="entity">
<echo message="---------------- Running entity ------------"/>
<ant dir="entity" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="entity" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="entity" antfile="build.xml" target="clean"/>
</target>
<target name="extended_pc">
<echo message="---------------- Running extended_pc ------------"/>
<ant dir="extended_pc" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="extended_pc" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="extended_pc" antfile="build.xml" target="clean"/>
</target>
<target name="injection">
<echo message="---------------- Running injection ------------"/>
<ant dir="injection" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="injection" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="injection" antfile="build.xml" target="clean"/>
</target>
<target name="interceptor">
<echo message="---------------- Running interceptor ------------"/>
<ant dir="interceptor" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="interceptor" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="interceptor" antfile="build.xml" target="clean"/>
</target>
<target name="jboss_deployment_descriptor">
<echo message="---------------- Running jboss_deployment_descriptor ------------"/>
<ant dir="jboss_deployment_descriptor" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="jboss_deployment_descriptor" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="jboss_deployment_descriptor" antfile="build.xml" target="clean"/>
</target>
<target name="jca_inflow_quartz">
<echo message="---------------- Running jca_inflow_quartz ------------"/>
<ant dir="jca_inflow_quartz" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="jca_inflow_quartz" antfile="build.xml" target="clean"/>
</target>
<target name="jndibinding">
<echo message="---------------- Running jndibinding ------------"/>
<ant dir="jndibinding" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="jndibinding" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="jndibinding" antfile="build.xml" target="clean"/>
</target>
<target name="joininheritance">
<echo message="---------------- Running joininheritance ------------"/>
<ant dir="joininheritance" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="joininheritance" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="joininheritance" antfile="build.xml" target="clean"/>
</target>
<target name="mdb">
<echo message="---------------- Running mdb ------------"/>
<ant dir="mdb" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="mdb" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="mdb" antfile="build.xml" target="clean"/>
</target>
<target name="mdb_deployment_descriptor">
<echo message="---------------- Running mdb_deployment_descriptor ------------"/>
<ant dir="mdb_deployment_descriptor" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="mdb_deployment_descriptor" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="mdb_deployment_descriptor" antfile="build.xml" target="clean"/>
</target>
<target name="merge">
<echo message="---------------- Running merge ------------"/>
<ant dir="merge" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="merge" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="merge" antfile="build.xml" target="clean"/>
</target>
<target name="reference21_30">
<echo message="---------------- Running reference21_30 ------------"/>
<ant dir="reference21_30" antfile="build.xml"/>
<sleep seconds="6"/>
<ant dir="reference21_30" antfile="build.xml" target="clean"/>
</target>
<target name="relationships">
<echo message="---------------- Running relationships ------------"/>
<ant dir="relationships" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="relationships" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="relationships" antfile="build.xml" target="clean"/>
</target>
<target name="resource_ref">
<echo message="---------------- Running resource_ref ------------"/>
<ant dir="resource_ref" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="resource_ref" antfile="build.xml" target="clean"/>
</target>
<target name="secondary">
<echo message="---------------- Running secondary ------------"/>
<ant dir="secondary" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="secondary" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="secondary" antfile="build.xml" target="clean"/>
</target>
<target name="security">
<echo message="---------------- Running security ------------"/>
<ant dir="security" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="security" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="security" antfile="build.xml" target="clean"/>
</target>
<target name="service">
<echo message="---------------- Running service ------------"/>
<ant dir="service" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="service" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="service" antfile="build.xml" target="clean"/>
</target>
<target name="service_deployment_descriptor">
<echo message="---------------- Running service_deployment_descriptor ------------"/>
<ant dir="service_deployment_descriptor" antfile="build.xml"/>
<sleep seconds="5"/>
<ant dir="service_deployment_descriptor" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="service_deployment_descriptor" antfile="build.xml" target="clean"/>
</target>
<target name="singleinheritance">
<echo message="---------------- Running singleinheritance ------------"/>
<ant dir="singleinheritance" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="singleinheritance" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="singleinheritance" antfile="build.xml" target="clean"/>
</target>
<target name="stateful">
<echo message="---------------- Running stateful ------------"/>
<ant dir="stateful" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="stateful" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="stateful" antfile="build.xml" target="clean"/>
</target>
<target name="stateful_deployment_descriptor">
<echo message="---------------- Running stateful_deployment_descriptor ------------"/>
<ant dir="stateful_deployment_descriptor" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="stateful_deployment_descriptor" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="stateful_deployment_descriptor" antfile="build.xml" target="clean"/>
</target>
<target name="stateless">
<echo message="---------------- Running stateless ------------"/>
<ant dir="stateless" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="stateless" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="stateless" antfile="build.xml" target="clean"/>
</target>
<target name="stateless_deployment_descriptor">
<echo message="---------------- Running stateless_deployment_descriptor ------------"/>
<ant dir="stateless_deployment_descriptor" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="stateless_deployment_descriptor" antfile="build.xml" target="run"/>
<sleep seconds="4"/>
<ant dir="stateless_deployment_descriptor" antfile="build.xml" target="clean"/>
</target>
<target name="tableperinheritance">
<echo message="---------------- Running tableperinheritance ------------"/>
<ant dir="tableperinheritance" antfile="build.xml"/>
<sleep seconds="10"/>
<!-- TODO: Bug in HSQLDB, so commenting out temporarily -->
<!-- ant dir="tableperinheritance" antfile="build.xml" target="run"/ -->
<sleep seconds="4"/>
<ant dir="tableperinheritance" antfile="build.xml" target="clean"/>
</target>
<target name="timer">
<echo message="---------------- Running timer ------------"/>
<ant dir="timer" antfile="build.xml"/>
<sleep seconds="10"/>
<ant dir="timer" antfile="build.xml" target="run"/>
<sleep seconds="8"/>
<ant dir="timer" antfile="build.xml" target="clean"/>
</target>
</project>