/[pdpsoft]/branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/build.xml
ViewVC logotype

Contents of /branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1868 - (show annotations) (download)
Wed Jul 28 13:51:45 2010 UTC (11 years, 4 months ago) by wvengen
File MIME type: text/plain
File size: 21673 byte(s)
release 1.9
1 <?xml version="1.0" encoding="utf-8"?>
2 <project name="jgridstart" default="compile">
3 <description>jGridstart build file</description>
4
5 <!--
6 - Property definitions
7 -->
8 <!-- display name -->
9 <property name="target.title" value="jGridstart"/>
10 <!-- internal name -->
11 <property name="target.name" value="${ant.project.name}"/>
12 <!-- the program's version -->
13 <property name="target.version" value="1.9"/>
14 <!-- main class to execute -->
15 <property name="target.main" value="nl.nikhef.jgridstart.gui.Main"/>
16 <!-- java virtual machine version to compile for -->
17 <property name="target.jvmversion" value="1.5"/>
18
19 <!-- Java Web Start base url (for use in JNLP files) -->
20 <property name="wwwbase" value="http://www.nikhef.nl/~wvengen/jgridstart-devel/"/>
21
22 <!-- location of source files -->
23 <property name="dir.src" location="src"/>
24 <!-- location of compiled classes -->
25 <property name="dir.build" location="bin"/>
26 <!-- location of output files for deployment -->
27 <property name="dir.dist" location="deployment"/>
28 <!-- location of thirdparty libraries -->
29 <property name="dir.thirdparty" location="thirdparty"/>
30 <!-- location of javadoc output -->
31 <property name="dir.javadoc" location="doc"/>
32 <!-- location of junit test output -->
33 <property name="dir.testreports" location="testreports"/>
34 <!-- location of screenshot output -->
35 <property name="dir.screenshots" location="screenshots"/>
36 <property name="screenshots.main" value="nl.nikhef.jgridstart.gui.util.GUIScreenshotsTest"/>
37
38 <!-- extra tool definitions -->
39 <property name="browsertool.target.name" value="browsertool"/>
40 <property name="browsertool.target.main" value="nl.nikhef.jgridstart.install.BrowserTool"/>
41
42 <property name="tests.target.name" value="tests"/>
43 <property name="tests.target.main" value="nl.nikhef.jgridstart.AllTests"/>
44 <property name="tests.guitarget.name" value="testgui"/>
45 <property name="tests.guitarget.main" value="nl.nikhef.jgridstart.logging.UserTestRunner"/>
46
47 <!-- reference to property file defining the properties
48 - keystore.file java keystore file
49 - keystore.passwd password for accessing the java keystore
50 - keystore.alias alias pointing to certificate to sign with
51 - if the property file cannot be found or does not define a keystore.file
52 - that points to a file, a self-signed certificate is generated so you can
53 - get started easily. For production, of course, you'll need your own
54 - secure certificate that users can trust.
55 - An example keystore.properties could be as follows:
56 - keystore.file = ${dir.keystore}/keystore.ks
57 - keystore.alias = default
58 - keystore.passwd = mysecret
59 -->
60 <property name="dir.keystore" location=".."/>
61 <property file="${dir.keystore}/keystore.properties"/>
62
63 <!--
64 - dependencies
65 -->
66
67 <property name="dep.bouncycastle" location="${dir.thirdparty}/bouncycastle/bcprov-jdk15-144.jar"/>
68 <property name="target.bouncycastle" value="bcprov-144"/>
69 <basename property="dep.bouncycastle.basename" file="${dep.bouncycastle}"/>
70 <property name="dep.bouncycastle.smime" location="${dir.thirdparty}/bouncycastle/bcmail-jdk15-144.jar"/>
71 <property name="dep.bouncycastle.tsp" location="${dir.thirdparty}/bouncycastle/bctsp-jdk15-144.jar"/>
72 <property name="dep.javamail" location="${dir.thirdparty}/bouncycastle/mail-1.4.3.jar"/>
73 <property name="dep.commons-cli" location="${dir.thirdparty}/commons/commons-cli-1.2.jar"/>
74 <property name="dep.commons-lang" location="${dir.thirdparty}/commons/commons-lang-2.4.jar"/>
75 <property name="dep.commons-exec" location="${dir.thirdparty}/commons/commons-exec-1.0.jar"/>
76 <property name="dep.junit" location="${dir.thirdparty}/junit/junit-4.7.jar"/>
77 <property name="dep.abbot" location="${dir.thirdparty}/junit/abbot.jar"/>
78 <property name="dep.swingworker" location="${dir.thirdparty}/swingworker/swing-worker-1.2.jar"/>
79 <property name="dep.xhtmlrenderer" location="${dir.thirdparty}/flyingsaucer/core-renderer-minimal.jar"/>
80 <property name="dep.itext" location="${dir.thirdparty}/flyingsaucer/iText-2.0.8.jar"/>
81 <property name="dep.winregistry" location="${dir.thirdparty}/winregistry/WinRegistry-3.4.jar"/>
82 <property name="dep.apiviz" location="${dir.thirdparty}/javadoc/apiviz-1.3.0.GA.jar"/>
83
84 <!-- java activation framework; trickery to make it build on java6 and run on java5 too
85 (see target jar.small-add.activation) -->
86 <property name="dep.activation" location="${dir.thirdparty}/bouncycastle/activation.jar"/>
87 <condition property="dep.activation.pgfilter" value="!javax/activation/**,!com/sun/activation/**" else="**">
88 <available classname="javax.activation.DataSource"/>
89 </condition>
90
91 <!-- Compile-time dependencies -->
92 <path id="path.dependencies">
93 <pathelement location="${dep.bouncycastle}"/>
94 <pathelement location="${dep.bouncycastle.smime}"/>
95 <pathelement location="${dep.javamail}"/>
96 <pathelement location="${dep.activation}"/>
97 <pathelement location="${dep.commons-lang}"/>
98 <pathelement location="${dep.commons-cli}"/>
99 <pathelement location="${dep.commons-exec}"/>
100 <pathelement location="${dep.swingworker}"/>
101 <pathelement location="${dep.xhtmlrenderer}"/>
102 <pathelement location="${dep.itext}"/>
103 <pathelement location="${dep.winregistry}"/>
104 <pathelement location="${dep.junit}"/>
105 <pathelement location="${dep.abbot}"/>
106 </path>
107
108 <patternset id="distfiles">
109 <!-- exclude non-production files -->
110 <exclude name="**/test*"/>
111 <exclude name="**/*test/**"/>
112 <exclude name="**/*tests/**"/>
113 <exclude name="**/package.html"/>
114 <exclude name="**/*Test.class"/>
115 <exclude name="**/*Test$*.class"/>
116 <exclude name="**/AllTests.class"/>
117 <exclude name="**/AllTests$*.class"/>
118 <exclude name="**/CVS"/>
119 <exclude name="**/.svn"/>
120 </patternset>
121
122 <!-- files from dependencies to merge into main distribution jar -->
123 <resources id="depfiles">
124 <zipfileset src="${dep.commons-lang}" includes="**/*.class"/>
125 <zipfileset src="${dep.commons-cli}" includes="**/*.class"/>
126 <zipfileset src="${dep.commons-exec}" includes="**/*.class"/>
127 <zipfileset src="${dep.swingworker}" includes="**/*.class"/>
128 <zipfileset src="${dep.xhtmlrenderer}">
129 <include name="**/*.class"/>
130 <exclude name="**/tool/**"/>
131 <exclude name="**/swt/**"/>
132 <exclude name="**/SWT**"/>
133 </zipfileset>
134 <zipfileset src="${dep.itext}">
135 <include name="**/*.class"/>
136 <include name="**/fonts/*"/>
137 <exclude name="**/tools/**"/>
138 </zipfileset>
139 <zipfileset src="${dep.winregistry}" includes="**/*.class"/>
140 <zipfileset src="${dep.bouncycastle.smime}" includes="**/*.class"/>
141 <zipfileset src="${dep.bouncycastle.tsp}" includes="**/*.class"/>
142 <zipfileset src="${dep.javamail}" includes="**/*.class"/>
143 <zipfileset src="${dep.activation}" includes="**/*.class"/>
144 </resources>
145
146
147 <!--
148 - Initialisation and other setup
149 -->
150
151 <!-- keystore; create one with test certificate if not supplied -->
152 <available file="${keystore.file}" type="file" property="keystore.available"/>
153 <target name="keystore" unless="keystore.available">
154 <tempfile property="keystore.file" prefix="keystore" suffix=".ks"/>
155 <property name="keystore.tempfile" value="${keystore.file}"/>
156 <property name="keystore.alias" value="default"/>
157 <property name="keystore.passwd" value="xyz12345"/>
158 <genkey alias="${keystore.alias}" storepass="${keystore.passwd}" keystore="${keystore.file}"
159 validity="1" dname="CN=Test, OU=Test, O=Test, C=Test"/>
160 <property name="keystore.available" value="true"/>
161 </target>
162
163 <!-- proguard -->
164 <taskdef resource="proguard/ant/task.properties"
165 classpath="${dir.thirdparty}/proguard/proguard.jar"/>
166 <!-- subversion -->
167 <typedef resource="org/tigris/subversion/svnant/svnantlib.xml">
168 <classpath><fileset dir="${dir.thirdparty}/svnant">
169 <include name="*.jar"/>
170 </fileset></classpath>
171 </typedef>
172 <!-- timestamp -->
173 <target name="init">
174 <tstamp/>
175 </target>
176
177 <!--
178 - Compilation target
179 -->
180 <target name="compile" depends="init">
181 <mkdir dir="${dir.build}"/>
182 <!-- compile java sources -->
183 <javac srcdir="${dir.src}" destdir="${dir.build}" target="${target.jvmversion}" debug="on">
184 <classpath refid="path.dependencies" />
185 </javac>
186 <!-- copy resources; skip VCS dirs (and other hidden .*) -->
187 <copy todir="${dir.build}">
188 <fileset dir="${dir.src}">
189 <exclude name="**/*.java"/>
190 <exclude name="**/CVS"/>
191 <exclude name="**/.*"/>
192 <exclude name="resources/conf/global.properties"/>
193 </fileset>
194 </copy>
195 <!-- set global variables from build -->
196 <svn failonerror="false"><wcVersion path="." prefix="svn."/></svn>
197 <property name="target.revision" value="${svn.revision.range}"/>
198 <copy file="${dir.src}/resources/conf/global.properties"
199 tofile="${dir.build}/resources/conf/global.properties">
200 <filterchain>
201 <replacetokens>
202 <token key="jgridstart.version" value="${target.version}"/>
203 <token key="jgridstart.revision" value="${target.revision}"/>
204 </replacetokens>
205 </filterchain>
206 </copy>
207 </target>
208
209 <!--
210 - Full JAR creation target
211 -->
212 <target name="jar.large" depends="compile,jar.bcprov">
213 <jar jarfile="${dir.dist}/${target.name}.large.jar">
214 <manifest>
215 <attribute name="Built-By" value="${user.name}"/>
216 <attribute name="Main-Class" value="${target.main}"/>
217 <attribute name="Class-Path" value="${target.bouncycastle}.jar"/>
218 </manifest>
219 <fileset dir="${dir.build}">
220 <patternset refid="distfiles"/>
221 </fileset>
222 <resources refid="depfiles"/>
223 </jar>
224 </target>
225
226 <!--
227 - ProGuard-minimised JAR creation
228 -->
229 <target name="jar.small" depends="jar.large">
230 <!-- minimize jar file; skipnonpubliclibraryclasses needed for java1.6 -->
231 <proguard obfuscate="false" skipnonpubliclibraryclasses="false" verbose="true">
232 <!-- filter out activation classes when building on java6 to avoid clashing with
233 system classes. These are added at the end when needed to make sure it runs
234 on java5 as well -->
235 <injar file="${dir.dist}/${target.name}.large.jar" filter="${dep.activation.pgfilter}"/>
236 <outjar file="${dir.dist}/${target.name}.small.jar"/>
237 <libraryjar file="${java.home}/lib/rt.jar"/>
238 <libraryjar file="${java.home}/lib/jce.jar"/>
239 <libraryjar file="${java.home}/lib/jsse.jar"/>
240 <libraryjar file="${dep.bouncycastle}"/>
241 <libraryjar file="${dep.junit}"/>
242 <libraryjar file="${dep.abbot}"/>
243 <!-- program entry point, keep this! -->
244 <keepclasseswithmembers access="public">
245 <method access="public static" type="void" name="main" parameters="java.lang.String[]"/>
246 </keepclasseswithmembers>
247 <!-- Somehow xhtmlrenderer classes are stripped too much, this is a workaround. Error e.g.
248 "Invalid index 2 in LocalVariableTable in class file org/xhtmlrenderer/render/Box" -->
249 <keepclasseswithmembers name="org.xhtmlrenderer.render.Box"> <method name="*"/></keepclasseswithmembers>
250 <keepclasseswithmembers name="org.xhtmlrenderer.swing.NaiveUserAgent"> <method name="*"/></keepclasseswithmembers>
251 <keepclasseswithmembers name="org.xhtmlrenderer.css.**"> <method name="*"/></keepclasseswithmembers>
252 <keepclasseswithmembers name="org.xhtmlrenderer.newtable.**"> <method name="*"/></keepclasseswithmembers>
253 <keepclasseswithmembers name="org.xhtmlrenderer.resource.XMLResource**"> <method name="*"/></keepclasseswithmembers>
254 <!-- xhtmlrenderer descriptor classes that proguard warns about otherwise -->
255 <keepclasseswithmembers name="org.xhtmlrenderer.render.**"> <method name="*"/></keepclasseswithmembers>
256 <keepclasseswithmembers name="org.xhtmlrenderer.layout.**"> <method name="*"/></keepclasseswithmembers>
257 <keepclasseswithmembers name="org.xhtmlrenderer.extend.OutputDevice"> <method name="*"/></keepclasseswithmembers>
258 <keepclasseswithmembers name="org.xhtmlrenderer.extend.FontContext"> <method name="*"/></keepclasseswithmembers>
259 <!-- logging is dynamically configured -->
260 <keepclasseswithmembers access="public" name="org.xhtmlrenderer.util.XRSimpleLogFormatter"> <method name="*"/></keepclasseswithmembers>
261 <keepclasseswithmembers access="public" name="org.xhtmlrenderer.util.Configuration"> <method name="*"/></keepclasseswithmembers>
262 <!-- CA class used is set in configfile -->
263 <keepclasseswithmembers name="nl.nikhef.jgridstart.ca.**"> <method name="*"/></keepclasseswithmembers>
264 <!-- S/MIME does some dynamic loading as well, and the "Invalid index 2 in LocalVariableTable"
265 error can appear again; disable some optimisations to solve the latter. -->
266 <optimizations filter="!code/simplification/variable,!method/marking/static"/>
267 <keepclasseswithmembers name="com.sun.mail.handlers.**"> <method name="*"/></keepclasseswithmembers>
268 <keepclasseswithmembers name="org.bouncycastle.mail.smime.handlers.**"> <method name="*"/></keepclasseswithmembers>
269 <!-- S/MIME descriptor classes that proguard warns about otherwise -->
270 <keepclasseswithmembers name="javax.activation.DataSource"><method name="*"/></keepclasseswithmembers>
271 <keepclasseswithmembers name="javax.mail.internet.MimePart"> <method name="*"/></keepclasseswithmembers>
272 <keepclasseswithmembers name="javax.mail.internet.MimeBodyPart"> <method name="*"/></keepclasseswithmembers>
273 <keepclasseswithmembers name="javax.activation.ActivationDataFlavor"> <method name="*"/></keepclasseswithmembers>
274 </proguard>
275 <!-- add activation framework when building on java6 -->
276 <antcall target="jar.small-add.activation"/>
277 </target>
278
279 <!--
280 - Target to add java activation framework to small jar
281 - Since the java activation framework is present on java6, we can't include it in
282 - the proguard step. But to make the resulting jar work on java6 as well, the
283 - framework still needs to be present in the final jar. This target adds these
284 - classes only if they're not already present in the final small jar.
285 -->
286 <target name="jar.small-add.activation">
287 <condition property="dep.activation.needpostadd">
288 <not>
289 <available classname="javax.activation.DataSource" classpath="${dir.dist}/${target.name}.small.jar" ignoresystemclasses="true"/>
290 </not>
291 </condition>
292 <antcall target="jar.small-add.activation-do"/>
293 </target>
294 <target name="jar.small-add.activation-do" if="dep.activation.needpostadd">
295 <jar destfile="${dir.dist}/${target.name}.small.jar" update="true" duplicate="fail">
296 <zipfileset src="${dep.activation}" includes="**/*.class"/>
297 </jar>
298 </target>
299
300 <!--
301 - BouncyCastle copy target (dependency as external jar)
302 -->
303 <target name="jar.bcprov">
304 <!-- copy bouncycastle jar to deployment area; also sign it -->
305 <copy file="${dep.bouncycastle}" tofile="${dir.dist}/${target.bouncycastle}.jar"/>
306 </target>
307
308 <!--
309 - Distribution creation target
310 -->
311 <target name="dist" depends="keystore,jar.small,jar.testgui,jar.bcprov">
312 <!-- copy large/small jar to distribution -->
313 <copy file="${dir.dist}/${target.name}.small.jar" tofile="${dir.dist}/${target.name}.jar"/>
314 <!-- sign, required for java web start -->
315 <signjar keystore="${keystore.file}" jar="${dir.dist}/${target.name}.jar"
316 alias="${keystore.alias}" storepass="${keystore.passwd}"/>
317 <!-- substitute variables in java web start files -->
318 <copy file="${dir.dist}/${target.name}.jnlp.in" tofile="${dir.dist}/${target.name}.jnlp" />
319 <copy file="${dir.dist}/bcprov.jnlp.in" tofile="${dir.dist}/${target.bouncycastle}.jnlp" />
320 <copy file="${dir.dist}/${tests.guitarget.name}.jnlp.in" tofile="${dir.dist}/${tests.guitarget.name}.jnlp" />
321 <replace dir="${dir.dist}">
322 <include name="${target.name}.jnlp"/>
323 <include name="${target.bouncycastle}.jnlp"/>
324 <include name="${tests.guitarget.name}.jnlp"/>
325 <replacefilter token="@wwwbase@" value="${wwwbase}"/>
326 <replacefilter token="@main@" value="${target.main}"/>
327 <replacefilter token="@tests.main@" value="${tests.guitarget.main}"/>
328 <replacefilter token="@tests.name@" value="${tests.guitarget.name}"/>
329 <replacefilter token="@bouncycastle@" value="${target.bouncycastle}"/>
330 </replace>
331 <signjar keystore="${keystore.file}" jar="${dir.dist}/${target.bouncycastle}.jar"
332 alias="${keystore.alias}" storepass="${keystore.passwd}"/>
333 <delete file="${keystore.tempfile}" quiet="true"/>
334 </target>
335
336 <!--
337 - Cleaning target
338 -->
339 <target name="clean">
340 <delete dir="${dir.build}"/>
341 <delete file="${dir.dist}/${target.name}.jar"/>
342 <delete file="${dir.dist}/${target.name}.large.jar"/>
343 <delete file="${dir.dist}/${target.name}.small.jar"/>
344 <delete file="${dir.dist}/${target.name}.jnlp"/>
345 <delete file="${dir.dist}/${target.bouncycastle}.jnlp"/>
346 <delete file="${dir.dist}/${target.bouncycastle}.jar"/>
347 <delete file="${dir.dist}/${browsertool.target.name}.jar"/>
348 <delete file="${dir.dist}/${tests.target.name}.jar"/>
349 <delete file="${dir.dist}/${tests.guitarget.name}.jnlp"/>
350 <delete file="${dir.dist}/${tests.guitarget.name}.jar"/>
351 </target>
352
353 <!--
354 - extra targets
355 -->
356 <!-- browsertool -->
357 <target name="browsertool" depends="compile">
358 <jar jarfile="${dir.dist}/${browsertool.target.name}.jar">
359 <manifest>
360 <attribute name="Built-By" value="${user.name}"/>
361 <attribute name="Main-Class" value="${browsertool.target.main}"/>
362 </manifest>
363 <fileset dir="${dir.build}">
364 <patternset refid="distfiles"/>
365 <include name="nl/nikhef/jgridstart/install/**"/>
366 <include name="nl/nikhef/jgridstart/util/**"/>
367 </fileset>
368 <zipfileset src="${dep.commons-lang}" includes="**/*.class"/>
369 <zipfileset src="${dep.commons-cli}" includes="**/*.class"/>
370 <zipfileset src="${dep.commons-exec}" includes="**/*.class"/>
371 <zipfileset src="${dep.winregistry}" includes="**/*.class"/>
372 </jar>
373 <!-- sign it, required for java web start -->
374 <signjar keystore="${keystore.file}" jar="${dir.dist}/${browsertool.name}.jar"
375 alias="${keystore.alias}" storepass="${keystore.passwd}"/>
376 </target>
377
378 <!-- archive with unit tests -->
379 <target name="jar.tests" depends="compile">
380 <jar jarfile="${dir.dist}/${tests.target.name}.jar">
381 <manifest>
382 <attribute name="Built-By" value="${user.name}"/>
383 <attribute name="Main-Class" value="${tests.target.main}"/>
384 <attribute name="Class-Path" value="${target.bouncycastle}.jar"/>
385 </manifest>
386 <fileset dir="${dir.build}"/>
387 <resources refid="depfiles"/>
388 <zipfileset src="${dep.junit}" excludes="LICENSE.txt"/>
389 <zipfileset src="${dep.abbot}"/>
390 </jar>
391 </target>
392
393 <!-- user test runner -->
394 <target name="jar.testgui" depends="jar.tests,keystore">
395 <!-- create file with jar names -->
396 <echo file="${dir.build}/nl/nikhef/jgridstart/logging/testjars.txt">
397 ${tests.target.name}.jar
398 ${dep.bouncycastle.basename}
399 </echo>
400 <!-- and build jars -->
401 <jar jarfile="${dir.dist}/${tests.guitarget.name}.jar">
402 <manifest>
403 <attribute name="Built-By" value="${user.name}"/>
404 <attribute name="Main-Class" value="${tests.guitarget.main}"/>
405 </manifest>
406 <!-- the files for the runner -->
407 <fileset dir="${dir.build}">
408 <include name="nl/nikhef/jgridstart/logging/UserTestRunner*.class"/>
409 <include name="nl/nikhef/jgridstart/util/ConnectionUtils*.class"/>
410 <include name="nl/nikhef/jgridstart/util/FileUtils*.class"/>
411 <include name="nl/nikhef/jgridstart/logging/testjars.txt"/>
412 </fileset>
413 <zipfileset src="${dep.commons-lang}" includes="org/**"/>
414 <zipfileset src="${dep.commons-exec}" includes="**/*.class"/>
415 <!-- and jars with all stuff that will be unpacked later -->
416 <fileset file="${dir.dist}/${tests.target.name}.jar"/>
417 <fileset file="${dep.bouncycastle}" />
418 </jar>
419 <signjar keystore="${keystore.file}" jar="${dir.dist}/${tests.guitarget.name}.jar"
420 alias="${keystore.alias}" storepass="${keystore.passwd}"/>
421 </target>
422
423 <!-- javadoc with APIviz, needs graphviz >= 2.20 -->
424 <target name="javadoc" depends="compile">
425 <javadoc
426 destdir="${dir.javadoc}"
427 classpathref="path.dependencies"
428 access="protected" source="${target.jvmversion}"
429 doclet="org.jboss.apiviz.APIviz" docletpath="${dep.apiviz}" additionalparam="-sourceclasspath ${dir.build}">
430 <sourcefiles>
431 <fileset dir="${dir.src}">
432 <include name="**/*.java"/>
433 <exclude name="**/*Test.*"/>
434 <exclude name="**/AllTests.*"/>
435 </fileset>
436 </sourcefiles>
437 <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
438 <link href="http://bouncycastle.org/docs/docs1.4/"/>
439 <link href="http://bouncycastle.org/docs/mdocs1.4/"/>
440 <link href="http://commons.apache.org/lang/api-release/"/>
441 <link href="http://commons.apache.org/cli/api-1.2/"/>
442 <link href="http://commons.apache.org/exec/apidocs/"/>
443 <link href="http://junit.org/apidocs/"/>
444 <link href="http://abbot.sourceforge.net/doc/api/"/>
445 <link href="https://swingworker.dev.java.net/nonav/javadoc/"/>
446 <link href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/user/"/>
447 <link href="http://api.itextpdf.com/"/>
448 <link href="http://java.sun.com/products/javamail/javadocs/"/>
449 <!-- no online javadoc found for WinRegistry -->
450 </javadoc>
451 </target>
452
453 <!-- test report -->
454 <target name="testreport" depends="compile">
455 <junit fork="yes" haltonfailure="no">
456 <test fork="yes" todir="${dir.testreports}" name="nl.nikhef.jgridstart.AllTests"/>
457 <formatter type="xml"/>
458 <classpath refid="path.dependencies"/>
459 <classpath path="${dir.build}"/>
460 </junit>
461 </target>
462
463 <!-- generate screenshots for documentation -->
464 <target name="screenshots" depends="compile">
465 <java classname="${screenshots.main}" fork="yes">
466 <arg value="${dir.screenshots}"/>
467 <classpath refid="path.dependencies"/>
468 <classpath path="${dir.build}"/>
469 </java>
470 </target>
471
472 </project>

Properties

Name Value
svn:mime-type text/plain

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28