-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbuild.xml
497 lines (444 loc) · 24.8 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
<?xml version="1.0"?>
<!--
* This file is part of the Echo Extras Project.
* Copyright (C) 2005-2009 NextApp, Inc.
*
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
-->
<project name="echo3-extras" default="dist" basedir="." xmlns:artifact="antlib:org.apache.maven.artifact.ant">
<property environment="env"/>
<property file="custom-ant.properties"/>
<property file="ant.properties"/>
<patternset id="fileset.resources">
<include name="**/*properties"/>
<include name="**/*html"/>
<include name="**/*js"/>
<include name="**/*gif"/>
<include name="**/*jpg"/>
<include name="**/*png"/>
<include name="**/*xml"/>
<include name="**/*stylesheet"/>
</patternset>
<target name="-check.dependencies">
<available file="${dir.lib}/echo3-app-${echo.version}.jar" property="dependencies.present"/>
</target>
<target name="mvn.dependencies" depends="-mvn.inittasks"
description="Fetches the required dependencies from Maven Central into the lib dir">
<artifact:dependencies filesetId="dependency.fileset">
<dependency groupId="com.nextapp" artifactId="echo3-app" version="${echo.version}"/>
<dependency groupId="com.nextapp" artifactId="echo3-app" version="${echo.version}" classifier="sources"/>
<dependency groupId="com.nextapp" artifactId="echo3-webcontainer" version="${echo.version}"/>
<dependency groupId="com.nextapp" artifactId="echo3-webcontainer" version="${echo.version}" classifier="sources"/>
<dependency groupId="javax.servlet" artifactId="servlet-api" version="2.4"/>
<dependency groupId="javax.servlet" artifactId="servlet-api" version="2.4" classifier="sources"/>
<dependency groupId="junit" artifactId="junit" version="4.11" scope="test"/>
<dependency groupId="junit" artifactId="junit" version="4.11" scope="test" classifier="sources"/>
</artifact:dependencies>
<copy todir="${dir.lib}">
<fileset refid="dependency.fileset" />
<mapper type="flatten" />
</copy>
</target>
<target name="dependencies" depends="-check.dependencies" unless="dependencies.present"
description="Spot checks for dependency JARs availability and fetches via Maven Central if required">
<antcall target="mvn.dependencies"/>
</target>
<!-- Minimize -->
<target name="minimize" depends="clean" description="Removes all non-essential files, including Eclipse temporary/build output files">
<delete dir="${dir.temp}"/>
<delete dir="${dir.lib}"/>
</target>
<!-- Clean -->
<target name="clean"
description="Clears all generated files, including build directories, distributables, and documentation">
<delete dir="${dir.build}"/>
<delete dir="${dir.dist}"/>
<delete dir="${dir.javadoc}"/>
<delete dir="${dir.testoutput}"/>
<delete dir="${dir.release}"/>
</target>
<target name="compile.app" description="Compile Application source files" depends="dependencies">
<mkdir dir="${dir.build.server-java.app}"/>
<javac srcdir="${dir.src.server-java.app}" destdir="${dir.build.server-java.app}"
debug="${debug}" deprecation="yes" source="${ant.build.javac.source}" target="${ant.build.javac.target}"
includeantruntime="false">
<classpath>
<pathelement path="${echo3.app.lib.jar}"/>
</classpath>
</javac>
<copy todir="${dir.build.server-java.app}">
<fileset dir="${dir.src.server-java.app}">
<patternset refid="fileset.resources"/>
</fileset>
</copy>
</target>
<target name="dist.app" depends="clean,compile.app">
<mkdir dir="${dir.dist.lib}"/>
<jar jarfile="${dir.dist.lib}/${jarfile.extras.app}" basedir="${dir.build.server-java.app}"/>
<jar jarfile="${dir.dist.lib}/${srcfile.extras.app}" basedir="${dir.src.server-java.app}"/>
</target>
<target name="test.compile.app" depends="dist.app">
<mkdir dir="${dir.build.server-java.app-test}"/>
<javac srcdir="${dir.src.server-java.app-test}" destdir="${dir.build.server-java.app-test}"
debug="${debug}" deprecation="yes" source="${ant.build.javac.source}" target="${ant.build.javac.target}"
includeantruntime="false">
<classpath>
<pathelement path="${dir.dist.lib}/${jarfile.extras.app}"/>
<pathelement path="${junit.lib.jar}"/>
<pathelement path="${echo3.app.lib.jar}"/>
<pathelement path="${dir.dist.lib}/${jarfile.echo.app}"/>
</classpath>
</javac>
<copy todir="${dir.build.server-java.app-test}">
<fileset dir="${dir.src.server-java.app-test}">
<patternset refid="fileset.resources"/>
</fileset>
</copy>
</target>
<target name="test.app" depends="test.compile.app" description="Test Echo Extras app Framework">
<mkdir dir="${dir.testoutput.app-test}"/>
<junit printsummary="yes" haltonfailure="no">
<classpath>
<pathelement path="${echo3.app.lib.jar}"/>
<pathelement path="${dir.build.server-java.app}"/>
<pathelement path="${dir.build.server-java.app-test}"/>
<pathelement path="${dir.dist.lib}/${jarfile.echo.app}"/>
</classpath>
<formatter type="plain"/>
<batchtest fork="yes" todir="${dir.testoutput.app-test}">
<fileset dir="${dir.src.server-java.app-test}">
<include name="**/*Test*.java"/>
</fileset>
</batchtest>
</junit>
</target>
<target name="checkenv">
<available property="servlet.api.available" classname="javax.servlet.http.HttpServlet">
<classpath>
<pathelement path="${servlet.lib.jar}"/>
</classpath>
</available>
</target>
<target name="verify.servlet.api" depends="checkenv" unless="servlet.api.available">
<echo message="************************************************************"/>
<echo message="* Servlet API not found in build classpath *"/>
<echo message="************************************************************"/>
<echo message="Specified JAR = ${servlet.lib.jar}"/>
<fail message="${servlet.lib.msg}"/>
</target>
<target name="compile.webcontainer" depends="verify.servlet.api,compile.webcontainer.impl"
description="Compile Echo Web Application Container"/>
<target name="compile.webcontainer.impl" depends="verify.servlet.api, compile.app">
<mkdir dir="${dir.build.server-java.webcontainer}"/>
<javac srcdir="${dir.src.server-java.webcontainer}" destdir="${dir.build.server-java.webcontainer}"
debug="${debug}" deprecation="yes" source="${ant.build.javac.source}" target="${ant.build.javac.target}"
includeantruntime="false">
<classpath>
<pathelement path="${dir.build.server-java.app}"/>
<pathelement path="${echo3.webcontainer.lib.jar}"/>
<pathelement path="${echo3.app.lib.jar}"/>
<pathelement path="${servlet.lib.jar}"/>
</classpath>
</javac>
<copy todir="${dir.build.server-java.webcontainer}">
<fileset dir="${dir.src.server-java.webcontainer}">
<patternset refid="fileset.resources"/>
</fileset>
</copy>
<copy todir="${dir.build.server-java.webcontainer.res}">
<fileset dir="${dir.src.client.extras}">
<patternset refid="fileset.resources"/>
</fileset>
</copy>
</target>
<target name="dist.webcontainer" depends="clean,compile.webcontainer">
<mkdir dir="${dir.dist.lib}"/>
<jar jarfile="${dir.dist.lib}/${jarfile.extras.webcontainer}" basedir="${dir.build.server-java.webcontainer}"/>
<jar jarfile="${dir.dist.lib}/${srcfile.extras.webcontainer}" basedir="${dir.src.server-java.webcontainer}"/>
</target>
<target name="dist" depends="clean, dist.app, dist.webcontainer"/>
<target name="test" depends="test.app, jslint"/>
<target name="compile.testapp" depends="dist">
<mkdir dir="${dir.build.server-java.testapp}/WEB-INF/classes"/>
<mkdir dir="${dir.build.server-java.testapp}/WEB-INF/lib"/>
<copy todir="${dir.build.server-java.testapp}/WEB-INF/lib" file="${echo3.app.lib.jar}"/>
<copy todir="${dir.build.server-java.testapp}/WEB-INF/lib" file="${echo3.webcontainer.lib.jar}"/>
<copy todir="${dir.build.server-java.testapp}/WEB-INF/lib" file="${dir.dist.lib}/${jarfile.extras.app}"/>
<copy todir="${dir.build.server-java.testapp}/WEB-INF/lib" file="${dir.dist.lib}/${jarfile.extras.webcontainer}"/>
<copy todir="${dir.build.server-java.testapp}/WEB-INF">
<fileset dir="${dir.src.server-java.test-ia.deploy}"/>
</copy>
<copy todir="${dir.build.server-java.testapp}">
<fileset dir="${dir.src.server-java.test-ia.htdocs}"/>
</copy>
<javac srcdir="${dir.src.server-java.test-ia.lib}" destdir="${dir.build.server-java.testapp}/WEB-INF/classes"
debug="${debug}" deprecation="yes" source="${ant.build.javac.source}" target="${ant.build.javac.target}"
includeantruntime="false">
<classpath>
<pathelement path="${servlet.lib.jar}"/>
<pathelement path="${dir.dist.lib}/${jarfile.extras.app}"/>
<pathelement path="${dir.dist.lib}/${jarfile.extras.webcontainer}"/>
<pathelement path="${servlet.lib.jar}"/>
<pathelement path="${echo3.app.lib.jar}"/>
<pathelement path="${echo3.webcontainer.lib.jar}"/>
</classpath>
</javac>
<copy todir="${dir.build.server-java.testapp}/WEB-INF/classes">
<fileset dir="${dir.src.server-java.test-ia.lib}">
<patternset refid="fileset.resources"/>
</fileset>
</copy>
</target>
<target name="dist.testapp" depends="compile.testapp"
description="Builds a web archive of the interactive test application">
<mkdir dir="${dir.dist.testapp}"/>
<jar jarfile="${dir.dist.testapp}/${warfile.testapp}" basedir="${dir.build.server-java.testapp}"/>
</target>
<target name="doc.app"
description="Create public/protected JavaDoc Document for Echo Extras Library">
<mkdir dir="${dir.javadoc.app.public}"/>
<javadoc sourcepath="${dir.src.server-java.app}" packagenames="nextapp.echo.extras.app.*"
stylesheetfile="${javadoc.cssfile}"
destdir="${dir.javadoc.app.public}"
WindowTitle="${javadoc.windowtitle}"
DocTitle="${javadoc.doctitle.app}"
Overview="${dir.src.server-java.app}/nextapp/echo/extras/app/overview.html"
Header="${javadoc.header}">
<classpath>
<pathelement path="${echo3.app.lib.jar}"/>
</classpath>
</javadoc>
</target>
<target name="doc.app.private"
description="Create private JavaDoc Document for Echo Extras Library">
<mkdir dir="${dir.javadoc.app.private}"/>
<javadoc sourcepath="${dir.src.server-java.app}" packagenames="nextapp.echo.extras.app.*"
stylesheetfile="${javadoc.cssfile}"
destdir="${dir.javadoc.app.private}"
WindowTitle="${javadoc.windowtitle}"
DocTitle="${javadoc.doctitle.app}"
Overview="${dir.src.server-java.app}/nextapp/echo/extras/app/overview.html"
Header="${javadoc.header}"
Private="true">
<classpath>
<pathelement path="${echo3.app.lib.jar}"/>
</classpath>
</javadoc>
</target>
<target name="doc.webcontainer"
description="Create public/protected JavaDoc Document Echo Extras Library WebContainer">
<mkdir dir="${dir.javadoc.webcontainer.public}"/>
<javadoc sourcepath="${dir.src.server-java.app};${dir.src.server-java.webcontainer}"
packagenames="nextapp.echo.extras.webcontainer.*"
stylesheetfile="${javadoc.cssfile}"
destdir="${dir.javadoc.webcontainer.public}"
WindowTitle="${javadoc.windowtitle}"
DocTitle="${javadoc.doctitle.webcontainer}"
Overview="${dir.src.server-java.webcontainer}/nextapp/echo/extras/webcontainer/overview.html"
Header="${javadoc.header}">
<classpath>
<pathelement path="${echo3.app.lib.jar}"/>
<pathelement path="${echo3.webcontainer.lib.jar}"/>
<pathelement path="${servlet.lib.jar}"/>
</classpath>
</javadoc>
</target>
<target name="doc.webcontainer.private"
description="Create private JavaDoc Document for Echo Extras Library WebContainer">
<mkdir dir="${dir.javadoc.webcontainer.private}"/>
<javadoc sourcepath="${dir.src.server-java.app};${dir.src.server-java.webcontainer}"
packagenames="nextapp.echo.extras.webcontainer.*"
stylesheetfile="${javadoc.cssfile}"
destdir="${dir.javadoc.webcontainer.private}"
WindowTitle="${javadoc.windowtitle}"
DocTitle="${javadoc.doctitle.webcontainer}"
Overview="${dir.src.server-java.webcontainer}/nextapp/echo/extras/webcontainer/overview.html"
Header="${javadoc.header}"
Private="true">
<classpath>
<pathelement path="${echo3.app.lib.jar}"/>
<pathelement path="${echo3.webcontainer.lib.jar}"/>
<pathelement path="${servlet.lib.jar}"/>
</classpath>
</javadoc>
</target>
<target name="doc.public"
depends="doc.app, doc.webcontainer"/>
<target name="doc.private"
depends="doc.app.private, doc.webcontainer.private"/>
<target name="doc.jars" depends="doc.public" description="Builds the *-javadoc.jar files">
<jar jarfile="${dir.dist.lib}/${docfile.extras.app}" basedir="${dir.javadoc.app.public}"/>
<jar jarfile="${dir.dist.lib}/${docfile.extras.webcontainer}" basedir="${dir.javadoc.webcontainer.public}"/>
</target>
<target name="doc"
depends="doc.app, doc.app.private, doc.webcontainer, doc.webcontainer.private"/>
<target name="release" depends="clean, dist, dist.testapp, doc.public">
<mkdir dir="${dir.build.server-java.release.root}"/>
<mkdir dir="${dir.build.server-java.release.root}/SourceCode"/>
<mkdir dir="${dir.build.server-java.release.root}/SourceCode/src"/>
<mkdir dir="${dir.build.server-java.release.root}/Documentation"/>
<mkdir dir="${dir.build.server-java.release.root}/BinaryLibraries"/>
<mkdir dir="${dir.build.server-java.release.root}/BinaryApplications"/>
<mkdir dir="${dir.build.server-java.release.root}/Licensing"/>
<copy todir="${dir.build.server-java.release.root}" file="${dir.resource}/ReadMe.txt"/>
<!-- Source Code -->
<copy todir="${dir.build.server-java.release.root}/SourceCode/src">
<fileset dir="${dir.src}">
<exclude name=".svn/**"/>
</fileset>
</copy>
<copy todir="${dir.build.server-java.release.root}/SourceCode/resource">
<fileset dir="${dir.resource}">
<exclude name=".svn/**"/>
</fileset>
</copy>
<copy todir="${dir.build.server-java.release.root}/SourceCode">
<fileset file="build.xml"/>
<fileset file="ant.properties"/>
</copy>
<!-- Binary Libraries -->
<copy todir="${dir.build.server-java.release.root}/BinaryLibraries">
<fileset dir="${dir.dist.lib}"/>
</copy>
<!-- Binary Web Applications: Test Application -->
<copy todir="${dir.build.server-java.release.root}/BinaryApplications">
<fileset dir="${dir.dist.testapp}"/>
</copy>
<!-- Documentation -->
<copy todir="${dir.build.server-java.release.root}/Documentation/api/public">
<fileset dir="${dir.javadoc.public}"/>
</copy>
<copy todir="${dir.build.server-java.release.root}/Documentation">
<fileset dir="${dir.resource}/Documentation"/>
</copy>
<!-- Licensing -->
<copy todir="${dir.build.server-java.release.root}/Licensing">
<fileset dir="${dir.resource}/Licensing"/>
</copy>
<!-- Zip & TarGz -->
<mkdir dir="${dir.release}"/>
<zip zipfile="${dir.release}/${zipfile.release}" basedir="${dir.build.server-java.release}"/>
<tar tarfile="${dir.release}/${tarfile.release}" basedir="${dir.build.server-java.release}" longfile="gnu"/>
<gzip src="${dir.release}/${tarfile.release}" zipfile="${dir.release}/${tgzfile.release}"/>
<delete file="${dir.release}/${tarfile.release}"/>
</target>
<target name="-mvn.generate.pom">
<mkdir dir="${dir.build}/maven-pom"/>
<copy todir="${dir.build}/maven-pom" filtering="true" overwrite="true">
<fileset dir="resource/maven" includes="*.xml"/>
<filterset id="maven.pom.filters" begintoken="$${" endtoken="}">
<filter token="release.version" value="${release.version}"/>
<filter token="echo.version" value="${echo.version}"/>
</filterset>
</copy>
</target>
<target name="mvn.install" depends="dist, doc.jars, -mvn.generate.pom, -mvn.inittasks"
description="Installs the current release into the local maven repository">
<!-- Install Extras API module -->
<artifact:pom id="app-pom" file="${dir.build}/maven-pom/echo3extras-app-pom.xml" />
<artifact:install file="${dir.dist.lib}/${jarfile.extras.app}">
<pom refid="app-pom"/>
<attach file="${dir.dist.lib}/${srcfile.extras.app}" type="jar" classifier="sources"/>
<attach file="${dir.dist.lib}/${docfile.extras.app}" type="jar" classifier="javadoc"/>
</artifact:install>
<!-- Install Extras Web Servlet module -->
<artifact:pom id="webcontainer-pom" file="${dir.build}/maven-pom/echo3extras-webcontainer-pom.xml" />
<artifact:install file="${dir.dist.lib}/${jarfile.extras.webcontainer}">
<pom refid="webcontainer-pom"/>
<attach file="${dir.dist.lib}/${srcfile.extras.webcontainer}" type="jar" classifier="sources"/>
<attach file="${dir.dist.lib}/${docfile.extras.webcontainer}" type="jar" classifier="javadoc"/>
</artifact:install>
</target>
<target name="mvn.snapshot" depends="dist, doc.jars, -mvn.generate.pom, -mvn.inittasks"
description="Deploy snapshot version to configured Maven snapshot repository">
<!-- The artifact:deploy tasks do not repesct settings.xml for proxy/auth, so we use the mvn task -->
<!-- Deploy Echo API module. -->
<artifact:mvn>
<arg value="org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy-file" />
<arg value="-Durl=${maven.repository.snapshots.url}" />
<arg value="-DrepositoryId=${maven.repository.snapshots.id}" />
<arg value="-DpomFile=${dir.build}/maven-pom/echo3extras-app-pom.xml" />
<arg value="-Dfile=${dir.dist.lib}/${jarfile.extras.app}" />
<arg value="-Dsources=${dir.dist.lib}/${srcfile.extras.app}" />
<arg value="-Djavadoc=${dir.dist.lib}/${docfile.extras.app}" />
<arg value="-e" />
</artifact:mvn>
<artifact:mvn>
<arg value="org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy-file" />
<arg value="-Durl=${maven.repository.snapshots.url}" />
<arg value="-DrepositoryId=${maven.repository.snapshots.id}" />
<arg value="-DpomFile=${dir.build}/maven-pom/echo3extras-webcontainer-pom.xml" />
<arg value="-Dfile=${dir.dist.lib}/${jarfile.extras.webcontainer}" />
<arg value="-Dsources=${dir.dist.lib}/${srcfile.extras.webcontainer}" />
<arg value="-Djavadoc=${dir.dist.lib}/${docfile.extras.webcontainer}" />
<arg value="-e" />
</artifact:mvn>
</target>
<target name="mvn.stage" depends="dist, doc.jars, -mvn.generate.pom, -mvn.inittasks"
description="Deploy snapshot version to configured Maven snapshot repository">
<macrodef name="deploysigned">
<attribute name="module"/>
<attribute name="file"/>
<attribute name="classifier"/>
<sequential>
<artifact:mvn>
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
<arg value="-Durl=${maven.repository.staging.url}" />
<arg value="-DrepositoryId=${maven.repository.staging.id}" />
<arg value="-DpomFile=${dir.build}/maven-pom/echo3extras-@{module}-pom.xml" />
<arg value="-Dfile=${dir.dist.lib}/@{file}" />
<arg value="-Dclassifier=@{classifier}" />
<arg value="-e" />
<arg value="-Pgpg" />
</artifact:mvn>
</sequential>
</macrodef>
<deploysigned module="app" classifier="" file="${jarfile.extras.app}"/>
<deploysigned module="app" classifier="sources" file="${srcfile.extras.app}"/>
<deploysigned module="app" classifier="javadoc" file="${docfile.extras.app}"/>
<deploysigned module="webcontainer" classifier="" file="${jarfile.extras.webcontainer}"/>
<deploysigned module="webcontainer" classifier="sources" file="${srcfile.extras.webcontainer}"/>
<deploysigned module="webcontainer" classifier="javadoc" file="${docfile.extras.webcontainer}"/>
</target>
<target name="-mvn.inittasks" unless="mvntasks.initialized">
<taskdef resource="de/exxcellent/ant/tasks.properties" classpath="resource/maven/ant-exxtasks-1.0.jar"/>
<extendclasspath path="resource/maven/maven-ant-tasks-2.1.3.jar"/>
<available property="mvntasks.initialized" classname="org.apache.maven.project.MavenProject"/>
</target>
<target name="jslint.webcontainer">
<java fork="true" jar="${dir.resource.jslint}/rhino.jar" failonerror="true">
<arg value="${dir.resource.jslint}/jslint.js"/>
<arg value="${dir.src.server-java.webcontainer.res}/"/>
</java>
</target>
<target name="jslint.extras">
<java fork="true" jar="${dir.resource.jslint}/rhino.jar" failonerror="true">
<arg value="${dir.resource.jslint}/jslint.js"/>
<arg value="${dir.src.client.extras}/"/>
</java>
</target>
<target name="jslint" depends="jslint.extras,jslint.webcontainer">
</target>
</project>