-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
494 lines (426 loc) · 22.9 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
<!--
Ant build script to build the cinnamon server using distributed libs.
Place this script in the parent directory of Server/.
Or run it with eclipse and supply the parameter
Base direcotry == ${workspace_loc:/}
-->
<project name="Cinnamon">
<description>
build file for the Cinnamon server
</description>
<property name="app.name" value="cinnamon"/>
<property environment="env"/>
<!-- the build properties file expects you to set the following environment vars:
1. CINNAMON2_SOURCE: the path to the parent directory which contains the source directories of the modules.
2. JAVA_LIB_HOME: the path to the directory which contains all required java libraries
3. GRAILS_HOME: the path to your Grails install, at least version 2.1.1 is required.
-->
<property file="cinnamon.build.properties"/>
<property name="java.source" value="1.7"/>
<property name="java.target" value="1.7"/>
<property name="java.compiler.args" value=""/>
<!-- to build for Java 1.6 targets:
<property name="java.source" value="1.6"/>
<property name="java.target" value="1.6"/>
<property name="java.bootclasspath" value="/home/ingo/workspace2/oldJava/java-6-sun/jre/lib/rt.jar"/>
<property name="java.compiler.args" value="-Xbootclasspath/p:${java.bootclasspath}"/>
-->
<property name="compile.debug" value="true"/>
<path id="compile.classpath">
<pathelement location="${hibernate.home}/hibernate3.jar"/>
<fileset dir="${hibernate.lib.required}" includes="*.jar" excludes="dom4j* slf4j* commons-collections*"/>
<pathelement location="${hibernate.lib.jpa}"/>
<pathelement location="${lib.servlet_api}"/>
<pathelement location="${lib.testng}"/>
<pathelement location="${lib.commons.httpclient}"/>
<pathelement location="${lib.slf4j.api}"/>
<fileset dir="${lib.logback}" includes="logback-c*.jar" excludes="*sources.jar"/>
<pathelement location="${lib.dom4j}"/>
<pathelement location="${lib.xmlunit}"/>
<pathelement location="${lib.lucene}"/>
<pathelement location="${lib.lucene.xmlquery}"/>
<pathelement location="${lib.lucene.regex}"/>
<pathelement location="${lib.commons.io}"/>
<pathelement location="${lib.commons.compress}"/>
<pathelement location="${lib.javamail}"/>
<pathelement location="${lib.velocity}"/>
<pathelement location="${lib.tika.core}"/>
<pathelement location="${lib.tika.parsers}"/>
<pathelement location="${lib.groovy}"/>
</path>
<path id="cinnamon.classpath">
<fileset dir="${lib.commons.httpclient.home}" includes="commons-httpclient-3.1.jar"/>
<fileset dir="${lib.commons.fileupload.path}" includes="${lib.commons.fileupload.name}"/>
<fileset dir="${lib.commons.io.home}" includes="${lib.commons.io}"/>
<fileset dir="${lib.home}" includes="servlet-api*.jar"/>
<!-- include previously generated support libs: -->
<fileset dir="${server.home}/lib" includes="*.jar"/>
<fileset dir="${hibernate.home}" includes="*.jar" excludes="hibernate-testing*"/>
</path>
<!-- target: usePostgres -->
<!--
You should copy persistence.example.xml to persistence.source.xml
and make any necessary changes there.
When building for Postgres, MSSQL2000 or MSSQL, you can add useX to before
the prepare target in your call to ant.
-->
<target name="copyPersistenceSource">
<copy todir="${server.home}/META-INF" overwrite="true">
<fileset dir="${server.home}/META-INF/">
<include name="persistence.source.xml"/>
</fileset>
<mapper type="glob" from="persistence.source.xml" to="persistence.xml"/>
</copy>
</target>
<!-- target usePostgres -->
<target name="usePostgres" depends="copyPersistenceSource">
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.dialect@"
value="org.hibernate.dialect.PostgreSQLDialect"/>
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.connection.driver_class@"
value="org.postgresql.Driver"/>
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.jdbc.use_streams_for_binary@"
value="false"/>
<property name="lib.database" value="${lib.postgres}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.database}"/>
</target>
<!-- target useMSSQL2000 -->
<target name="useMSSQL2000" depends="copyPersistenceSource">
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.dialect@"
value="org.hibernate.dialect.SQLServerDialect"/>
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.connection.driver_class@"
value="net.sourceforge.jtds.jdbc.Driver"/>
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.jdbc.use_streams_for_binary@"
value="true"/>
<property name="lib.database" value="${lib.jtds.home}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.jtds}"/>
</target>
<!-- target useMSSQL (2005) -->
<target name="useMSSQL" depends="copyPersistenceSource">
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.dialect@"
value="server.data.MSSQLServerNativeDialect"/>
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.connection.driver_class@"
value="net.sourceforge.jtds.jdbc.Driver"/>
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.jdbc.use_streams_for_binary@"
value="true"/>
<property name="lib.database" value="${lib.jtds.home}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.jtds}"/>
</target>
<!-- target useMSSQL (2008) -->
<target name="useMSSQL2008" depends="copyPersistenceSource">
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.dialect@"
value="org.hibernate.dialect.SQLServerDialect"/>
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.connection.driver_class@"
value="net.sourceforge.jtds.jdbc.Driver"/>
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.jdbc.use_streams_for_binary@"
value="true"/>
<property name="lib.database" value="${lib.jtds}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.jtds}"/>
</target>
<!-- target useMySQL -->
<target name="useMySQL" depends="copyPersistenceSource">
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.dialect@"
value="org.hibernate.dialect.MySQLInnoDBDialect"/>
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.connection.driver_class@"
value="com.mysql.jdbc.Driver"/>
<replace file="${server.home}/META-INF/persistence.xml" token="@hibernate.jdbc.use_streams_for_binary@"
value="true"/>
<property name="lib.database" value="${lib.mysql}"/>
</target>
<!-- - - - - - - - - - - - - - - - - -
target: prepare
- - - - - - - - - - - - - - - - - -->
<!--
The "prepare" target is used to create the "build" destination directory,
and copy the static contents of your web application to it. If you need
to copy static files from external dependencies, you can customize the
contents of this task.
Normally, this task is executed indirectly when needed.
-->
<target name="prepare">
<mkdir dir="${utils.build}"/>
<mkdir dir="${utils.build.classes}"/>
<mkdir dir="${entitylib.build}"/>
<mkdir dir="${entitylib.build.classes}"/>
<mkdir dir="${cinnamonBase.build}"/>
<mkdir dir="${cinnamonBase.build}/classes"/>
<!-- Create build directories as needed -->
<mkdir dir="${build.home}"/>
<mkdir dir="${build.home}/META-INF"/>
<mkdir dir="${build.home}/WEB-INF"/>
<mkdir dir="${build.home}/WEB-INF/classes"/>
<!-- Copy external dependencies as required -->
<mkdir dir="${build.home}/WEB-INF/classes/META-INF"/>
<copy todir="${build.home}/WEB-INF/classes/META-INF" file="${server.home}/META-INF/persistence.xml"/>
<!-- <copy todir="${build.home}/WEB-INF/classes" file="${server.home}/logback-test.xml"/> -->
<mkdir dir="${build.home}/WEB-INF/lib"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.commons.codec}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.commons.collections}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.commons.fileupload}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.commons.httpclient}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.commons.io}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.commons.logging}"/>
<!-- needed by httpclient -->
<copy todir="${build.home}/WEB-INF/lib" file="${lib.jaxen}"/>
<!-- needed by dom4j -->
<copy todir="${build.home}/WEB-INF/lib" file="${lib.dom4j}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.lucene}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.lucene.xmlquery}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.lucene.regex}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${hibernate.home}/hibernate3.jar"/>
<copy todir="${build.home}/WEB-INF/lib" file="${hibernate.lib.jpa}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.slf4j.api}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.logback.core}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.logback.classic}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.c3p0}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.javamail}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.velocity}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.velocity.dep}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.groovy}"/>
<!-- tika dependencies: -->
<copy todir="${build.home}/WEB-INF/lib" file="${lib.tika.core}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.tika.parsers}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.pdfbox}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.jempbox}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.fontbox}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.tagsoup}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.geronimo-stax-api}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.metadata-extractor}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.poi}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.poi.ooxml}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.poi.ooxml.schemas}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.poi.scratchpad}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.asm}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.xml-apis}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.xbean}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.xbean_xpath}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.xbean.resolver}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.xbean.xmlpublic}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.xbean.jsr173_api}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.xbean.qname}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.bouncyCastle.bcmail}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.bouncyCastle.provider}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.icu4j}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.boilerpipe}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${lib.netcdf}"/>
<copy todir="${build.home}/WEB-INF/classes" file="${entitylib.home}/c3p0.properties"/>
<copy todir="${build.home}/WEB-INF/lib">
<fileset dir="${hibernate.lib.required}"
includes="*.jar"
excludes="commons-collections*.jar slf4j* dom4j*"
/>
</copy>
</target>
<!-- =================================
target: all
================================= -->
<target name="all" depends="clean, prepare, compile" description="Clean build and dist directories, then compile"/>
<!-- =================================
target: clean
================================= -->
<target name="clean" description="Delete old build and dist directories">
<delete dir="${cinnamonBase.build}"/>
<delete dir="${utils.build}"/>
<delete dir="${entitylib.build}"/>
<delete dir="${build.home}"/>
<delete dir="${dist.home}"/>
<delete dir="${safran.build}"/>
</target>
<!-- - - - - - - - - - - - - - - - - -
target: compile.utils
- - - - - - - - - - - - - - - - - -->
<target name="compile.utils" description="compile the Cinnamon utility lib">
<javac srcdir="${utils.src}"
destdir="${utils.build.classes}"
source="${java.source}" target="${java.target}"
debug="${compile.debug}" includeantruntime="false">
<compilerarg value="${java.compiler.args}" compiler="javac1.6"/>
<classpath>
<path refid="compile.classpath"/>
<pathelement location="${cinnamonBase.jar}"/>
</classpath>
</javac>
<copy todir="${utils.build.classes}" file="${entitylib.home}/c3p0.properties"/>
<copy todir="${utils.build}/lib" file="${lib.c3p0}"/>
<jar destfile="${utils.jar}" basedir="${utils.build.classes}">
<zipgroupfileset dir="${utils.build}/lib/">
<include name="**/*.jar"/>
</zipgroupfileset>
<include name="**/*.**"/>
<include name="**/META-INF/*.xml"/>
</jar>
<copy todir="${server.home}/lib" file="${utils.jar}"/>
<copy todir="${dandelion.lib}" file="${utils.jar}"/>
</target>
<target name="compile.base" description="compile the Cinnamon base lib">
<javac srcdir="${cinnamonBase.src}"
destdir="${cinnamonBase.build.classes}"
source="${java.source}" target="${java.target}"
debug="${compile.debug}" includeantruntime="false">
<compilerarg value="${java.compiler.args}" compiler="javac1.6"/>
<classpath>
<path refid="compile.classpath"/>
</classpath>
</javac>
<jar destfile="${cinnamonBase.jar}" basedir="${cinnamonBase.build.classes}">
<include name="**/*.class"/>
</jar>
<copy todir="${server.home}/lib" file="${cinnamonBase.jar}"/>
<copy todir="${safran.home}/lib" file="${cinnamonBase.jar}"/>
<copy todir="${dandelion.lib}" file="${cinnamonBase.jar}"/>
</target>
<!-- - - - - - - - - - - - - - - - - -
target: compile.entitylib
- - - - - - - - - - - - - - - - - -->
<target name="compile.entitylib" description="compile the entitylib">
<!-- Compile package EntityLib -->
<javac srcdir="${entitylib.src}"
destdir="${entitylib.build.classes}"
source="${java.source}" target="${java.target}"
debug="${compile.debug}" includeantruntime="false">
<compilerarg value="${java.compiler.args}" compiler="javac1.6"/>
<classpath>
<path refid="compile.classpath"/>
<pathelement location="${utils.jar}"/>
<pathelement location="${cinnamonBase.jar}"/>
</classpath>
</javac>
<copy todir="${entitylib.build}/lib" file="${lib.commons.compress}"/>
<jar destfile="${entitylib.jar}" basedir="${entitylib.build.classes}">
<zipgroupfileset dir="${entitylib.build}/lib/">
<include name="**/*.jar"/>
</zipgroupfileset>
<include name="**/*.class"/>
<include name="**/META-INF/*.xml"/>
</jar>
<copy todir="${server.home}/lib" file="${entitylib.jar}"/>
<copy todir="${dandelion.lib}" file="${entitylib.jar}"/>
</target>
<!-- =================================
target: javadoc
================================= -->
<!--
The "javadoc" target creates Javadoc API documentation for the Java
classes included in your application. Normally, this is only required
when preparing a distribution release, but is available as a separate
target in case the developer wants to create Javadocs independently.
-->
<target name="javadoc" description="Create Javadoc API documentation">
<mkdir dir="${server.home}/doc/api"/>
<javadoc destdir="${server.home}/doc/api" packagenames="*" private="true">
<fileset dir="${server.src}" defaultexcludes="yes"/>
<fileset dir="${entitylib.src}" defaultexcludes="yes"/>
<fileset dir="${utils.src}" defaultexcludes="yes"/>
<fileset dir="${safran.src}" defaultexcludes="yes"/>
<fileset dir="${cinnamonBase.src}" defaultexcludes="yes"/>
<classpath>
<pathelement location="${lib.testng}"/>
<path refid="compile.classpath"/>
<path refid="cinnamon.classpath"/>
<pathelement location="${utils.jar}"/>
<pathelement location="${entitylib.jar}"/>
<pathelement location="${cinnamonBase.jar}"/>
</classpath>
<header>
<![CDATA[<a target="_top" href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=196124&type=2" width="125" height="37" border="0" alt="SourceForge.net_Logo" /></a>]]></header>
<bottom>
<![CDATA[Return to the <a target="_top" href="http://cinnamon.sf.net">cinnamon</a> content management system homepage]]></bottom>
</javadoc>
</target>
<!-- =================================
target: compile
================================= -->
<target name="compile" depends="compile.base, compile.utils, compile.entitylib" description="Compile Java sources">
<!-- copy libs -->
<copy todir="${build.home}/WEB-INF/lib" file="${utils.jar}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${entitylib.jar}"/>
<copy todir="${build.home}/WEB-INF/lib" file="${cinnamonBase.jar}"/>
<!-- Compile Java classes as necessary -->
<javac srcdir="${server.src}"
destdir="${build.home}/WEB-INF/classes"
source="${java.source}" target="${java.target}"
debug="${compile.debug}" includeantruntime="false">
<compilerarg value="${java.compiler.args}" compiler="javac1.6"/>
<sourcepath>
<pathelement location="${utils.src}"/>
</sourcepath>
<classpath>
<path refid="compile.classpath"/>
<path refid="cinnamon.classpath"/>
</classpath>
</javac>
<!-- Copy application resources -->
<copy todir="${build.home}/WEB-INF/classes">
<fileset dir="${server.src}" excludes="**/*.java"/>
</copy>
<!-- copy web.xml usw. -->
<copy todir="${build.home}/WEB-INF">
<fileset dir="${server.home}/WEB-INF/" includes="*.xml"/>
</copy>
<copy todir="${build.home}/META-INF">
<fileset dir="${server.home}/META-INF/" includes="persistence.xml"/>
</copy>
</target>
<!-- =================================
target: dist
================================= -->
<!--
The "dist" target creates a binary distribution of your application
in a directory structure ready to be archived in a tar.gz or zip file.
Note that this target depends on two others:
* "compile" so that the entire web application (including external
dependencies) will have been assembled
//disabled - is only needed for public dist. * "javadoc" so that the application Javadocs will have been created
-->
<target name="dist" depends="clean, prepare, usePostgres, compile, versionInfo" description="Create binary distribution">
<!-- Copy documentation subdirectories -->
<mkdir dir="${dist.home}/doc/api"/>
<copy todir="${dist.home}/doc/api">
<fileset dir="${server.home}/doc/api"/>
</copy>
<!-- Create application WAR file -->
<jar destfile="${dist.home}/${app.name}.war" basedir="${build.home}"
excludes="**/slf4j-api-1.5.2* **/slf4j-api.jar **/javassist.jar **/dom4j.jar **/jta.jar"
/>
</target>
<target name="makeJar" depends="dist" description="create cinnamon.jar without dependencies.">
<jar basedir="${build.home}/WEB-INF/classes" destfile="${dist.home}/${app.name}.jar">
<exclude name="**/logback-test.xml"/>
<manifest>
<attribute name="Main-Class" value="server.MailSender"/>
</manifest>
</jar>
</target>
<target name="dist_mssql2008" depends="clean, prepare, useMSSQL2008, compile, versionInfo"
description="create public version for MSSQL-2008 dependencies.">
<!-- Copy documentation subdirectories -->
<mkdir dir="${dist.home}/doc/api"/>
<copy todir="${dist.home}/doc/api">
<fileset dir="${server.home}/doc/api"/>
</copy>
<!-- Create application WAR file -->
<jar destfile="${dist.home}/${app.name}.war" basedir="${build.home}"
excludes="**/slf4j-api-1.5.2* **/slf4j-api.jar **/javassist.jar **/dom4j.jar **/jta.jar"
/>
</target>
<target name="makeFullJar" depends="dist" description="create cinnamon.jar with all dependencies">
<jar destfile="${dist.home}/${app.name}_full.jar" basedir="${build.home}/WEB-INF/classes"
excludes="**/slf4j-api-1.5.2* **/slf4j-api.jar **/javassist.jar **/dom4j.jar **/jta.jar"
>
<zipgroupfileset dir="${build.home}/WEB-INF/lib/">
<include name="**/*.jar"/>
</zipgroupfileset>
<metainf dir="${server.home}/META-INF" includes="**/persistence.xml" />
<include name="**/*.class"/>
<manifest>
<attribute name="Main-Class" value="server.MailSender"/>
</manifest>
</jar>
</target>
<target name="versionInfo">
<propertyfile
file="${server.home}/version.properties" comment="Build version info">
<entry key="buildDate" type="date" value="now"/>
<entry key="buildNum" default="0" type="int" operation="+" value="1"/>
</propertyfile>
</target>
</project>