-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
537 lines (443 loc) · 24 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
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
<?xml version="1.0" encoding="UTF-8" ?>
<project name="Diffusive" default="make_release" basedir=".">
<!-- =====================================================================
S E T T I N G S
===================================================================== -->
<!--
version information
-->
<property name="version" value="0.2.1" />
<!--
set global properties for this build
-->
<property name="src" location="src" />
<property name="build" location="bin" />
<property name="dist" location="dist" />
<property name="release" location="Diffusive_v${version}" />
<property name="libs" value="lib" />
<property name="docs" value="docs" />
<property name="app_name" value="Diffusive" />
<property name="app_type_launcher" value="Launcher" />
<property name="app_type_server" value="Server" />
<property name="annotations_jar" value="Diffusive_Annotations_v${version}.jar" />
<property name="annotations_dir" value="org/microtitan/diffusive/annotations" />
<property name="tests_dir" value="org/microtitan/tests" />
<!--
set the run configuration files
-->
<property name="config" value="config"/>
<!-- =====================================================================
D E P E N D E N C I E S
===================================================================== -->
<!--
jUnit
-->
<property name="junit" value="junit-4.8.1.jar" />
<!--
log4j
-->
<property name="log4j" value="log4j-1.2.15.jar" />
<property name="log4j_config" value="log4j.xml" />
<!--
FreezeDry (serialization)
-->
<property name="freezedry" value="FreezeDry_0.2.6.jar" />
<property name="json" value="json-20120228.jar" />
<!--
Atom (Abdera, messages)
-->
<property name="abdera_core" value="abdera-core-1.1.2.jar" />
<property name="abdera_i18n" value="abdera-i18n-1.1.2.jar" />
<property name="abdera_parser" value="abdera-parser-1.1.2.jar" />
<property name="axiom_api" value="axiom-api-1.2.10.jar" />
<property name="axiom_impl" value="axiom-impl-1.2.10.jar" />
<property name="commons-logging" value="commons-logging-1.0.4.jar" />
<!--
Jersey (JSR 311, JAX-RS)
-->
<property name="grizzly_framework" value="grizzly-framework-2-2.2.19.jar" />
<property name="grizzly_http" value="grizzly-http-all-2.2.19.jar" />
<property name="jersey-bundle" value="jersey-bundle-1.16.jar" />
<property name="jersey_grizzly" value="jersey-grizzly2-1-1.16.jar" />
<!--
Jersey JSON support (Jackson)
-->
<property name="jackson_core" value="jackson-core-asl-1.9.2.jar" />
<property name="jackson_jax_rs" value="jackson-jaxrs-1.9.2.jar" />
<property name="jackson_mapper" value="jackson-mapper-asl-1.9.2.jar" />
<!--
Javassist (byte-code engineering)
-->
<property name="javassist" value="javassist.jar" />
<!--
Apache Commons IO (stream conversions)
-->
<property name="commons_io" value="commons-io-2.4.jar" />
<!--
JOpt-Simple (command-line options parsing for DiffuserLauncher, RestfulDiffusiveServer
and the configuration utilities)
-->
<property name="jopt_simple" value="jopt-simple-4.3.jar" />
<!-- =====================================================================
B U I L D C O N F I G U R A T I O N
===================================================================== -->
<!--
java libs directory for building one giant jar file containing all
the dependencies
-->
<property environment="env"/>
<property name="dependencies" value="dependencies"/>
<property name="java-libs" value="${env.JAVA_LIBS}" />
<property name="json-libs" value="json"/>
<property name="abdera-libs" value="abdera" />
<property name="jersey-libs" value="jersey" />
<property name="jersey-json-libs" value="${jersey-libs}/jersey_json" />
<property name="javassist-libs" value="javassist" />
<property name="commons-io-libs" value="apache_commons_io" />
<property name="jar_class_path" value="${dependencies}/${junit}
${dependencies}/${log4j}
${dependencies}/${freezedry}
${dependencies}/${json}
${dependencies}/${abdera_core}
${dependencies}/${abdera_i18n}
${dependencies}/${abdera_parser}
${dependencies}/${axiom_api}
${dependencies}/${axiom_impl}
${dependencies}/${commons-logging}
${dependencies}/${grizzly_framework}
${dependencies}/${grizzly_http}
${dependencies}/${jersey_grizzly}
${dependencies}/${jersey-bundle}
${dependencies}/${jackson_core}
${dependencies}/${jackson_jax_rs}
${dependencies}/${jackson_mapper}
${dependencies}/${javassist}
${dependencies}/${commons_io}
${dependencies}/${jopt_simple}" />
<!--
jar dependencies when building a jar that looks in a lib directory for
the dependencies at runtime
-->
<property name="class_path" value="${junit}
${log4j}
${freezedry}
${json}
${abdera_core}
${abdera_i18n}
${abdera_parser}
${axiom_api}
${axiom_impl}
${commons-logging}
${grizzly_framework}
${grizzly_http}
${jersey_grizzly}
${jersey-bundle}
${jackson_core}
${jackson_jax_rs}
${jackson_mapper}
${javassist}
${commons_io}
${jopt_simple}"/>
<!-- =====================================================================
T A R G E T S
===================================================================== -->
<!--
Target: init
Sets up the directories for building the jars
-->
<target name="init" description="sets up directories for building">
<mkdir dir="${src}" />
<mkdir dir="${build}" />
<mkdir dir="${dist}" />
</target>
<!--
Target: copy_dependencies
-->
<target name="copy_dependencies" depends="init" description="copies the dependencies into lib">
<mkdir dir="${dist}/lib" />
<copy file="${java-libs}/${junit}" todir="${dist}/lib" />
<copy file="${java-libs}/${log4j}" todir="${dist}/lib" />
<copy file="${java-libs}/${freezedry}" todir="${dist}/lib" />
<copy file="${java-libs}/${json-libs}/${json}" todir="${dist}/lib" />
<copy file="${java-libs}/${abdera-libs}/${abdera_core}" todir="${dist}/lib" />
<copy file="${java-libs}/${abdera-libs}/${abdera_i18n}" todir="${dist}/lib" />
<copy file="${java-libs}/${abdera-libs}/${abdera_parser}" todir="${dist}/lib" />
<copy file="${java-libs}/${abdera-libs}/${axiom_api}" todir="${dist}/lib" />
<copy file="${java-libs}/${abdera-libs}/${axiom_impl}" todir="${dist}/lib" />
<copy file="${java-libs}/${abdera-libs}/${commons-logging}" todir="${dist}/lib" />
<copy file="${java-libs}/${jersey-libs}/${grizzly_framework}" todir="${dist}/lib" />
<copy file="${java-libs}/${jersey-libs}/${grizzly_http}" todir="${dist}/lib" />
<copy file="${java-libs}/${jersey-libs}/${grizzly_http_server}" todir="${dist}/lib" />
<copy file="${java-libs}/${jersey-libs}/${jersey_grizzly}" todir="${dist}/lib" />
<copy file="${java-libs}/${jersey-libs}/${jersey-bundle}" todir="${dist}/lib" />
<copy file="${java-libs}/${jersey-json-libs}/${jackson_core}" todir="${dist}/lib" />
<copy file="${java-libs}/${jersey-json-libs}/${jackson_jax_rs}" todir="${dist}/lib" />
<copy file="${java-libs}/${jersey-json-libs}/${jackson_mapper}" todir="${dist}/lib" />
<copy file="${java-libs}/${javassist-libs}/${javassist}" todir="${dist}/lib" />
<copy file="${java-libs}/${commons-io-libs}/${commons_io}" todir="${dist}/lib" />
<copy file="${java-libs}/${jopt_simple}" todir="${dist}/lib" />
</target>
<!--
Target: clean_dist
removes the distribution directory and all its contents
-->
<target name="clean_dist" description="removes the dist directory">
<delete dir="${dist}" failonerror="false"/>
</target>
<!--
Target: configure_logging
copies the log4j logging configuration files into the distribution directory
-->
<target name="configure_logging" description="copies to log4j.properties file to the dist directory">
<copy file="log4j.xml" todir="${dist}" failonerror="false" />
</target>
<!--
Target: make_launcher_jar
builds a jar that contains only the Diffusive classes
-->
<property name="jars" value="jars" />
<property name="launcher_jar_file" value="${app_name}_${app_type_launcher}_${version}.jar" />
<target name="make_launcher_jar" depends="clean_dist, init, configure_logging" description="build the launcher jar file containing only Diffusive classes">
<echo>***** Building diffusive launcher jar file for ${app_name} *****</echo>
<echo>Base Directory: ${basedir}</echo>
<echo>Directory containing classes: ${build}</echo>
<echo>Directory to contain jar: ${dist}/${jars}</echo>
<echo>Directory contianing external libraries: ${env.JAVA_LIBS}</echo>
<jar destfile="${dist}/${jars}/${launcher_jar_file}">
<fileset dir="${build}" includes="**/*.class" excludes="${tests_dir}/**" />
<fileset dir="${build}" includes="${log4j_config}" />
<manifest>
<attribute name="Ant" value="${user.name}" />
<!-- Information about the program itself -->
<attribute name="Implementation-Vendor" value="Rob Philipp" />
<attribute name="Implementation-Title" value="${app_name}" />
<attribute name="Implementation-Version" value="${version}" />
<!-- Runtime information -->
<attribute name="Main-Class" value="org/microtitan/diffusive/launcher/DiffusiveLauncher" />
<attribute name="Class-Path" value="${jar_class_path}" />
</manifest>
</jar>
</target>
<!--
Target: make_server_jar
builds a jar that contains only the Diffusive classes
-->
<property name="jars" value="jars" />
<property name="server_jar_file" value="${app_name}_${app_type_server}_${version}.jar" />
<target name="make_server_jar" depends="clean_dist, init, configure_logging" description="build the server jar file containing only Diffusive classes">
<echo>***** Building RESTful diffusive server jar file for ${app_name} *****</echo>
<echo>Base Directory: ${basedir}</echo>
<echo>Directory containing classes: ${build}</echo>
<echo>Directory to contain jar: ${dist}/${jars}</echo>
<echo>Directory containing external libraries: ${env.JAVA_LIBS}</echo>
<jar destfile="${dist}/${jars}/${server_jar_file}">
<fileset dir="${build}" includes="**/*.class" excludes="${tests_dir}/**" />
<fileset dir="${build}" includes="${log4j_config}" />
<manifest>
<attribute name="Ant" value="${user.name}" />
<!-- Information about the program itself -->
<attribute name="Implementation-Vendor" value="Rob Philipp" />
<attribute name="Implementation-Title" value="${app_name}" />
<attribute name="Implementation-Version" value="${version}" />
<!-- Runtime information -->
<attribute name="Main-Class" value="org/microtitan/diffusive/diffuser/restful/server/RestfulDiffuserServer" />
<attribute name="Class-Path" value="${jar_class_path}" />
</manifest>
</jar>
</target>
<!--
Target: make_combined_launcher_jar
builds a single launcher jar that contains all the dependent jar files
-->
<property name="single_jar" value="single_jar" />
<target name="make_combined_launcher_jar" depends="clean_dist, init, configure_logging" description="build a jar file that contains all the dependent code">
<echo>***** Building single jar file for ${app_name} *****</echo>
<echo>Base Directory: ${basedir}</echo>
<echo>Directory containing classes: ${build}</echo>
<echo>Directory to contain jar: ${dist}/${single_jar}</echo>
<echo>Directory contianing external libraries: ${env.JAVA_LIBS}</echo>
<jar destfile="${dist}/${single_jar}/${launcher_jar_file}">
<fileset dir="${build}" includes="**/*.class" />
<fileset dir="${build}" includes="${log4j_config}" />
<zipfileset src="${java-libs}/${log4j}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${junit}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${freezedry}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${json-libs}/${json}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${abdera-libs}/${abdera_core}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${abdera-libs}/${abdera_i18n}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${abdera-libs}/${abdera_parser}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${abdera-libs}/${axiom_api}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${abdera-libs}/${axiom_impl}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${abdera-libs}/${commons-logging}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-libs}/${grizzly_framework}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-libs}/${grizzly_http}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-libs}/${jersey_grizzly}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-libs}/${jersey-bundle}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-json-libs}/${jackson_core}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-json-libs}/${jackson_jax_rs}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-json-libs}/${jackson_mapper}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${javassist-libs}/${javassist}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${commons-io-libs}/${commons_io}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jopt_simple}" excludes="META-INF/*" />
<manifest>
<attribute name="Ant" value="${user.name}" />
<!-- Information about the program itself -->
<attribute name="Implementation-Vendor" value="Rob Philipp" />
<attribute name="Implementation-Title" value="${app_name}" />
<attribute name="Implementation-Version" value="${version}" />
<!-- Runtime information -->
<attribute name="Main-Class" value="org/microtitan/diffusive/launcher/DiffusiveLauncher" />
<attribute name="Class-Path" value="${jar_class_path}" />
</manifest>
</jar>
</target>
<!--
Target: make_combined_server_jar
builds a single RESTful diffuser server jar that contains all the dependent jar files
-->
<property name="single_jar" value="single_jar" />
<target name="make_combined_server_jar" depends="clean_dist, init, configure_logging" description="build a jar file that contains all the dependent code">
<echo>***** Building single jar file for ${app_name} *****</echo>
<echo>Base Directory: ${basedir}</echo>
<echo>Directory containing classes: ${build}</echo>
<echo>Directory to contain jar: ${dist}/${single_jar}</echo>
<echo>Directory contianing external libraries: ${env.JAVA_LIBS}</echo>
<jar destfile="${dist}/${single_jar}/${server_jar_file}" filesetmanifest="merge">
<fileset dir="${build}" includes="**/*.class" />
<fileset dir="${build}" includes="${log4j_config}" />
<zipfileset src="${java-libs}/${log4j}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${junit}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${freezedry}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${json-libs}/${json}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${abdera-libs}/${abdera_core}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${abdera-libs}/${abdera_i18n}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${abdera-libs}/${abdera_parser}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${abdera-libs}/${axiom_api}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${abdera-libs}/${axiom_impl}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${abdera-libs}/${commons-logging}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-libs}/${grizzly_framework}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-libs}/${grizzly_http}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-libs}/${jersey_grizzly}" excludes="META-INF/maven/* META-INF/MANIFEST.MF" />
<zipfileset src="${java-libs}/${jersey-libs}/${jersey-bundle}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-json-libs}/${jackson_core}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-json-libs}/${jackson_jax_rs}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jersey-json-libs}/${jackson_mapper}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${javassist-libs}/${javassist}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${commons-io-libs}/${commons_io}" excludes="META-INF/*" />
<zipfileset src="${java-libs}/${jopt_simple}" excludes="META-INF/*" />
<manifest>
<attribute name="Ant" value="${user.name}" />
<!-- Information about the program itself -->
<attribute name="Implementation-Vendor" value="Rob Philipp" />
<attribute name="Implementation-Title" value="${app_name}" />
<attribute name="Implementation-Version" value="${version}" />
<!-- Runtime information -->
<attribute name="Main-Class" value="org/microtitan/diffusive/diffuser/restful/server/RestfulDiffuserServer" />
<attribute name="Class-Path" value="${jar_class_path}" />
</manifest>
</jar>
</target>
<!--
Target: make_example_jar
builds a jar that contains only the example classes org.microtitan.tests
-->
<property name="example_jar" value="example_${version}.jar" />
<target name="make_example_jar" depends="configure_logging" description="build the jar containing the example code">
<echo>***** Building example code jar file for ${app_name} *****</echo>
<echo>Base Directory: ${basedir}</echo>
<echo>Directory containing classes: ${build}</echo>
<echo>Directory to contain jar: ${dist}/${jars}</echo>
<echo>Directory contianing external libraries: ${env.JAVA_LIBS}</echo>
<jar destfile="${dist}/${jars}/${example_jar}">
<fileset dir="${build}" includes="org/microtitan/tests/**/*.class" />
<fileset dir="${build}" includes="${log4j_config}" />
<manifest>
<attribute name="Ant" value="${user.name}" />
<!-- Information about the program itself -->
<attribute name="Implementation-Vendor" value="Rob Philipp" />
<attribute name="Implementation-Title" value="${app_name}" />
<attribute name="Implementation-Version" value="${version}" />
<!-- Runtime information -->
</manifest>
</jar>
</target>
<!--
Target: make_annotation_jar
builds a jar that contains the diffusive annotations in org.microtitan.diffusive.annotations
-->
<target name="make_annotations_jar" depends="init" description="build the jar containing the diffusive annotations">
<echo>***** Building diffusive annotations jar file for ${app_name} *****</echo>
<echo>Base Directory: ${basedir}</echo>
<echo>Directory containing classes: ${build}/${annotations_dir}</echo>
<echo>Directory to contain jar: ${dist}/${jars}</echo>
<echo>Directory contianing external libraries: ${env.JAVA_LIBS}</echo>
<jar destfile="${dist}/${jars}/${annotations_jar}">
<fileset dir="${build}" includes="${annotations_dir}/**/*.class" />
<manifest>
<attribute name="Ant" value="${user.name}" />
<!-- Information about the program itself -->
<attribute name="Implementation-Vendor" value="Rob Philipp" />
<attribute name="Implementation-Title" value="${app_name}" />
<attribute name="Implementation-Version" value="${version}" />
<!-- Runtime information -->
</manifest>
</jar>
</target>
<!--
Target: make_release
creates the directory with the release code and zip files. calls the dependencies for make the freeze dry jars
-->
<property name="examples" value="examples" />
<property name="release" location="${dist}/${app_name}_v${version}" />
<target name="make_release"
depends="make_launcher_jar, make_server_jar, make_example_jar, make_annotations_jar"
description="builds the single and diffusive jars and creates the release structure">
<property name="rel_src" value="src" />
<!-- remove the release directory (Diffusive_vX.X.X) if it already exists -->
<delete dir="${release}" failonerror="false"/>
<!-- create the release directory and its subdirectorys: src, single_jar, jars -->
<mkdir dir="${release}" />
<mkdir dir="${release}/${jars}" />
<mkdir dir="${release}/${rel_src}" />
<!-- copy the log4j configuration files into the appropriate directories -->
<copy file="log4j.xml" todir="${release}/${jars}" />
<copy file="log4j.xml" todir="${release}/${rel_src}" />
<!-- copy the run configurations to the top-level directory -->
<copy todir="${release}/${jars}/${config}"><fileset dir="${config}" includes="**/*.xml" /></copy>
<copy todir="${release}/${rel_src}/${config}"><fileset dir="${config}" includes="**/*.xml" /></copy>
<!-- copy the this build file to the release src directory -->
<copy file="build.xml" todir="${release}/${rel_src}" />
<!-- copy the multiple jars to the jars release directory -->
<copy file="${dist}/${jars}/${launcher_jar_file}" todir="${release}/${jars}" />
<copy file="${dist}/${jars}/${server_jar_file}" todir="${release}/${jars}" />
<copy file="${dist}/${jars}/${annotations_jar}" todir="${release}/${jars}" />
<copy file="${java-libs}/${junit}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${log4j}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${freezedry}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${json-libs}/${json}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${abdera-libs}/${abdera_core}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${abdera-libs}/${abdera_i18n}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${abdera-libs}/${abdera_parser}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${abdera-libs}/${axiom_api}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${abdera-libs}/${axiom_impl}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${abdera-libs}/${commons-logging}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${jersey-libs}/${grizzly_framework}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${jersey-libs}/${grizzly_http}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${jersey-libs}/${jersey_grizzly}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${jersey-libs}/${jersey-bundle}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${jersey-json-libs}/${jackson_core}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${jersey-json-libs}/${jackson_jax_rs}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${jersey-json-libs}/${jackson_mapper}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${javassist-libs}/${javassist}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${commons-io-libs}/${commons_io}" todir="${release}/${jars}/${dependencies}" />
<copy file="${java-libs}/${jopt_simple}" todir="${release}/${jars}/${dependencies}" />
<zip destfile="${release}/${jars}/${app_name}_${version}.zip" basedir="${release}/${jars}" includes="*.*" />
<!-- copy the soure files into the release source directory, and zip everything up -->
<copy todir="${release}/${rel_src}"><fileset dir="${src}" includes="**/*.java" /></copy>
<zip destfile="${release}/${rel_src}/${app_name}_src_${version}.zip" basedir="${release}/${rel_src}" includes="**/*.java, **/*.xml" />
<!-- copy the example files the examples -->
<mkdir dir="${release}/${examples}" />
<copy todir="${release}/${examples}"><fileset dir="${examples}" includes="**/*.*" /></copy>
<copy file="${dist}/${jars}/${example_jar}" todir="${release}/${examples}" />
</target>
</project>