/[cvs]/jsr166/build.xml
ViewVC logotype

Annotation of /jsr166/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.130 - (hide annotations)
Mon Jan 28 22:00:34 2013 UTC (6 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.129: +17 -0 lines
File MIME type: text/xml
add lint target

1 tim 1.18 <project name="jsr166" default="usage">
2 tim 1.1
3     <description>
4 tim 1.29 ------------------------------------------------------------------------------
5     Build file for JSR-166
6 tim 1.18
7 tim 1.29 Usage: ant [target]
8    
9     User-specific settings are read from user.properties.
10 tim 1.32 See user.properties.sample for an explanation of some useful settings.
11 jsr166 1.98
12     The repository contains all dependencies except for ant and the JDK
13     itself. Because the JDK version matters and because different
14     targets require different JDKs, we assume that users have created a
15     hierarchy containing:
16     $HOME/jdk/jdk6
17     $HOME/jdk/jdk7
18     $HOME/jdk/jdk8
19 jsr166 1.99 where each of the above is a JDK or a symlink to same, and
20     $HOME/jdk/src/jdk6
21     $HOME/jdk/src/jdk7
22     $HOME/jdk/src/jdk8
23     where each of the above is a complete JDK source tree
24     (e.g. mercurial forest) or a symlink to same.
25 tim 1.29 ------------------------------------------------------------------------------
26 tim 1.18 </description>
27 tim 1.11
28 jsr166 1.129 <target name="usage" description="Display main targets by running 'ant -projecthelp'">
29     <java classname="org.apache.tools.ant.Main">
30     <arg value="-projecthelp" />
31     </java>
32 tim 1.29 </target>
33 tim 1.3
34 tim 1.11
35 tim 1.27 <!-- User-specific settings -->
36 tim 1.23 <property file="user.properties"/>
37 tim 1.27
38 tim 1.1
39     <!-- Compilation options -->
40 jsr166 1.114 <property name="build.sourcelevel" value="6"/>
41 tim 1.1 <property name="build.debug" value="true"/>
42     <property name="build.debuglevel" value="source,lines,vars"/>
43 tim 1.13 <property name="build.deprecation" value="false"/>
44 jsr166 1.130 <property name="build.javadoc.access" value="protected"/>
45 tim 1.1
46     <!-- Build locations -->
47 jsr166 1.79 <property name="build.dir" location="build"/>
48     <property name="build.classes.dir" location="${build.dir}/classes"/>
49     <property name="build.testcases.dir" location="${build.dir}/testcases"/>
50     <property name="build.loops.dir" location="${build.dir}/loops"/>
51     <property name="build.reports.dir" location="${build.dir}/reports"/>
52 jsr166 1.92
53 jsr166 1.109 <property name="build.4jdk7.dir" location="${build.dir}/jsr166-4jdk7"/>
54     <property name="build.4jdk7.classes.dir" location="${build.4jdk7.dir}/classes"/>
55 jsr166 1.113 <property name="build.4jdk7.tck.classes.dir" location="${build.4jdk7.dir}/tck-classes"/>
56 jsr166 1.109 <property name="build.4jdk7.docs.dir" location="${build.4jdk7.dir}/docs"/>
57 jsr166 1.92
58 jsr166 1.79 <property name="build.jsr166x.dir" location="${build.dir}/jsr166x"/>
59     <property name="build.jsr166y.dir" location="${build.dir}/jsr166y"/>
60 dl 1.90 <property name="build.jsr166e.dir" location="${build.dir}/jsr166e"/>
61 jsr166 1.79 <property name="build.extra166y.dir" location="${build.dir}/extra166y"/>
62 dl 1.76
63 jsr166 1.126 <property name="build.jsr166x.classes.dir" location="${build.jsr166x.dir}/classes"/>
64     <property name="build.jsr166y.classes.dir" location="${build.jsr166y.dir}/classes"/>
65     <property name="build.jsr166e.classes.dir" location="${build.jsr166e.dir}/classes"/>
66     <property name="build.extra166y.classes.dir" location="${build.extra166y.dir}/classes"/>
67 jsr166 1.114
68 jsr166 1.118 <!-- JDK locations -->
69 jsr166 1.92 <property name="jdks.home" location="${user.home}/jdk"/>
70 jsr166 1.93
71     <macrodef name="defjdklocations">
72     <attribute name="v"/>
73     <sequential>
74 jsr166 1.99 <property name="jdk@{v}.home" location="${jdks.home}/jdk@{v}"/>
75     <property name="java@{v}" location="${jdk@{v}.home}/bin/java"/>
76     <property name="javac@{v}" location="${jdk@{v}.home}/bin/javac"/>
77     <property name="javadoc@{v}" location="${jdk@{v}.home}/bin/javadoc"/>
78     <property name="jdk@{v}src.dir" location="${jdks.home}/src/jdk@{v}/jdk/src/share/classes"/>
79 jsr166 1.118 <local name="boot.jar.dir"/>
80     <property name="boot.jar.dir" location="${jdk@{v}.home}/jre/lib"/>
81     <path id="bootclasspath@{v}">
82     <pathelement path="${boot.jar.dir}/resources.jar"/>
83     <pathelement path="${boot.jar.dir}/rt.jar"/>
84     <pathelement path="${boot.jar.dir}/jsse.jar"/>
85     <pathelement path="${boot.jar.dir}/jce.jar"/>
86     <pathelement path="${boot.jar.dir}/charsets.jar"/>
87     </path>
88     <property name="bootclasspath@{v}" value="${toString:bootclasspath@{v}}"/>
89 jsr166 1.93 </sequential>
90     </macrodef>
91    
92 jsr166 1.125 <macrodef name="mirror-dir">
93     <attribute name="src"/>
94     <attribute name="dst"/>
95     <sequential>
96     <delete dir="@{dst}"/>
97     <mkdir dir="@{dst}"/>
98     <copy todir="@{dst}" preservelastmodified="true">
99     <fileset dir="@{src}"/>
100     </copy>
101     </sequential>
102     </macrodef>
103    
104 jsr166 1.93 <defjdklocations v="6"/>
105     <defjdklocations v="7"/>
106     <defjdklocations v="8"/>
107 jsr166 1.92
108 tim 1.1 <!-- Source locations -->
109 tim 1.22 <property name="src.dir" location="${basedir}/src/main"/>
110     <property name="test.src.dir" location="${basedir}/src/test"/>
111 jsr166 1.65 <property name="loops.src.dir" location="${basedir}/src/loops"/>
112 tim 1.60 <property name="tck.src.dir" location="${test.src.dir}/tck"/>
113 tim 1.62 <property name="jtreg.src.dir" location="${test.src.dir}/jtreg"/>
114 tim 1.1 <property name="lib.dir" location="${basedir}/lib"/>
115 tim 1.9 <property name="dist.dir" location="${basedir}/dist"/>
116 dl 1.70 <property name="topsrc.dir" location="${basedir}/src"/>
117 jsr166 1.99 <property name="4jdk7src.dir" location="${topsrc.dir}/jdk7"/>
118 jsr166 1.92 <property name="jsr166xsrc.dir" location="${topsrc.dir}/jsr166x"/>
119     <property name="jsr166ysrc.dir" location="${topsrc.dir}/jsr166y"/>
120     <property name="jsr166esrc.dir" location="${topsrc.dir}/jsr166e"/>
121     <property name="extra166ysrc.dir" location="${topsrc.dir}/extra166y"/>
122 jsr166 1.91
123 jsr166 1.125 <!-- Javadoc locations -->
124 jsr166 1.127 <property name="docs.dir" location="${build.dir}/docs"/>
125     <property name="4jdk7docs.dir" location="${build.4jdk7.dir}/docs"/>
126     <property name="jsr166xdocs.dir" location="${build.jsr166x.dir}/docs"/>
127     <property name="jsr166ydocs.dir" location="${build.jsr166y.dir}/docs"/>
128     <property name="jsr166edocs.dir" location="${build.jsr166e.dir}/docs"/>
129     <property name="extra166ydocs.dir" location="${build.extra166y.dir}/docs"/>
130    
131     <property name="dist.docs.dir" location="${dist.dir}/docs"/>
132     <property name="dist.4jdk7docs.dir" location="${dist.dir}/jsr166-4jdk7docs"/>
133     <property name="dist.jsr166xdocs.dir" location="${dist.dir}/jsr166xdocs"/>
134     <property name="dist.jsr166ydocs.dir" location="${dist.dir}/jsr166ydocs"/>
135     <property name="dist.jsr166edocs.dir" location="${dist.dir}/jsr166edocs"/>
136     <property name="dist.extra166ydocs.dir" location="${dist.dir}/extra166ydocs"/>
137 tim 1.1
138     <!-- Jar locations -->
139 jsr166 1.109 <property name="product.jar" location="${build.dir}/jsr166.jar"/>
140     <property name="4jdk7product.jar" location="${build.4jdk7.dir}/jsr166-4jdk7.jar"/>
141     <property name="jsr166x.jar" location="${build.jsr166x.dir}/jsr166x.jar"/>
142     <property name="jsr166y.jar" location="${build.jsr166y.dir}/jsr166y.jar"/>
143     <property name="jsr166e.jar" location="${build.jsr166e.dir}/jsr166e.jar"/>
144     <property name="extra166y.jar" location="${build.extra166y.dir}/extra166y.jar"/>
145 jsr166 1.106 <property name="junit.jar" location="${lib.dir}/junit.jar"/>
146 jsr166 1.65
147 jsr166 1.91 <!-- Canonical location of jdk API docs, to use with javadoc link attribute -->
148     <property name="jdkapi5docs.url" value="http://docs.oracle.com/javase/1.5.0/docs/api/"/>
149     <property name="jdkapi6docs.url" value="http://docs.oracle.com/javase/6/docs/api/"/>
150     <property name="jdkapi7docs.url" value="http://docs.oracle.com/javase/7/docs/api/"/>
151    
152     <property name="jdkapi8docs.url" value="http://download.java.net/jdk8/docs/api/"/>
153 jsr166 1.123 <!-- The below does not yet exist as of 2013-01 -->
154 jsr166 1.91 <!-- <property name="jdkapi8docs.url" value="http://docs.oracle.com/javase/8/docs/api/"/> -->
155 jsr166 1.107
156     <!-- Default jdk api doc location (latest stable release seems best) -->
157 jsr166 1.91 <property name="jdkapidocs.url" value="${jdkapi7docs.url}"/>
158    
159 jsr166 1.115 <!-- Define the "jtreg" task -->
160     <!-- See the docs in "jtreg -onlineHelp" -->
161     <taskdef name="jtreg" classname="com.sun.javatest.regtest.Main$$Ant"
162     classpath="${lib.dir}/jtreg.jar" />
163    
164 tim 1.59 <!-- Test classpath -->
165     <path id="test.classpath">
166     <pathelement location="${build.testcases.dir}"/>
167     <pathelement location="${junit.jar}"/>
168     </path>
169 tim 1.28
170 jsr166 1.118 <macrodef name="run-tck-tests">
171 jsr166 1.122 <attribute name="tck.src.dir" default="${tck.src.dir}"/>
172     <attribute name="source" default="6"/>
173 jsr166 1.118 <attribute name="target"/>
174     <attribute name="workdir"/>
175 jsr166 1.122 <attribute name="classes"/>
176 jsr166 1.118 <attribute name="jvmflags" default=""/>
177     <sequential>
178    
179     <mkdir dir="@{workdir}/tck-classes"/>
180    
181 jsr166 1.122 <javac srcdir="@{tck.src.dir}"
182 jsr166 1.118 destdir="@{workdir}/tck-classes"
183     debug="${build.debug}"
184     debuglevel="${build.debuglevel}"
185     deprecation="${build.deprecation}"
186 jsr166 1.122 source="@{source}"
187 jsr166 1.118 classpath="${junit.jar}"
188 jsr166 1.122 bootclasspath="@{classes}:${bootclasspath@{source}}"
189 jsr166 1.118 includeAntRuntime="false"
190     includeJavaRuntime="false"
191     executable="${javac@{target}}"
192     fork="true">
193    
194 jsr166 1.121 <include name="*.java"/>
195 jsr166 1.118 <compilerarg value="-XDignore.symbol.file=true"/>
196     <compilerarg value="-Xlint:all,-unchecked,-rawtypes,-serial,-deprecation"/>
197     <compilerarg line="${build.args}"/>
198    
199     </javac>
200    
201     <java classname="JSR166TestCase"
202     failonerror="true"
203     jvm="${java@{target}}"
204     fork="true">
205 jsr166 1.122 <jvmarg value="-Xbootclasspath/p:@{classes}"/>
206 jsr166 1.118 <jvmarg line="@{jvmflags}"/>
207     <classpath>
208     <pathelement location="${junit.jar}"/>
209     <pathelement location="@{workdir}/tck-classes"/>
210     </classpath>
211     </java>
212    
213     </sequential>
214     </macrodef>
215    
216 jsr166 1.65 <!-- ALoops classpath -->
217     <path id="loops.classpath">
218     <pathelement location="${build.loops.dir}"/>
219     </path>
220    
221 jsr166 1.100 <!-- Support @jls tag, used in jdk8+ javadoc -->
222 jsr166 1.120 <property name="javadoc.jls.cite" value="The Java&amp;trade; Language Specification"/>
223 jsr166 1.100 <property name="javadoc.jls.option" value="jls:a:See &lt;cite&gt;${javadoc.jls.cite}&lt;/cite&gt;:"/>
224 tim 1.28
225 tim 1.59 <!-- Main targets -->
226 tim 1.28
227 dl 1.80 <target name="dists"
228 jsr166 1.107 depends="dist, 4jdk7dist, jsr166edist, jsr166ydist, extra166ydist, jsr166xdist"
229 dl 1.80 description="Builds all public jars and docs"/>
230 tim 1.11
231 tim 1.28 <target name="compile"
232 jsr166 1.100 depends="configure-compiler"
233 jsr166 1.102 description="Compiles src/main sources to build dir">
234 tim 1.27
235 tim 1.1 <mkdir dir="${build.classes.dir}"/>
236 tim 1.27
237 tim 1.60 <javac srcdir="${src.dir}"
238 jsr166 1.100 destdir="${build.classes.dir}"
239     debug="${build.debug}"
240     debuglevel="${build.debuglevel}"
241     deprecation="${build.deprecation}"
242     classpath=""
243     includeAntRuntime="false"
244     includeJavaRuntime="false"
245     executable="${javac8}"
246     fork="true">
247 tim 1.1
248 jsr166 1.68 <include name="**/*.java"/>
249 dl 1.83 <compilerarg value="-XDignore.symbol.file=true"/>
250 jsr166 1.100 <compilerarg value="-Xlint:all"/>
251 dl 1.73 <compilerarg line="${build.args}"/>
252 tim 1.1
253     </javac>
254     </target>
255    
256    
257 tim 1.28 <target name="jar"
258 tim 1.59 depends="compile"
259     description="Builds library jar from compiled sources">
260    
261     <jar destfile="${product.jar}">
262     <fileset dir="${build.classes.dir}"/>
263     </jar>
264     </target>
265    
266 tim 1.1
267 tim 1.28 <target name="test"
268 jsr166 1.103 depends="configure-tests, report-tests"
269 tim 1.29 description="Runs all tests (requires JUnit 3.8.1 in ${ant.home}/lib)" />
270 tim 1.1
271    
272 tim 1.59 <target name="docs"
273 jsr166 1.102 description="Builds javadocs for src/main to dist dir">
274 tim 1.59
275 jsr166 1.127 <delete dir="${docs.dir}"/>
276     <mkdir dir="${docs.dir}"/>
277 tim 1.59
278 jsr166 1.88 <!-- the packagenames="none" hack below prevents scanning the -->
279     <!-- sourcepath for packages -->
280    
281 jsr166 1.127 <javadoc destdir="${docs.dir}"
282 jsr166 1.88 packagenames="none"
283 jsr166 1.100 link="${jdkapi8docs.url}"
284 jsr166 1.88 overview="${src.dir}/intro.html"
285 jsr166 1.130 access="${build.javadoc.access}"
286 jsr166 1.119 sourcepath="${src.dir}:${jdk8src.dir}"
287 jsr166 1.100 classpath=""
288     executable="${javadoc8}">
289 jsr166 1.119 <fileset dir="${src.dir}" defaultexcludes="yes">
290     <include name="**/*.java"/>
291     </fileset>
292 jsr166 1.100 <arg value="-XDignore.symbol.file=true"/>
293     <arg value="-tag"/>
294     <arg value="${javadoc.jls.option}"/>
295 tim 1.59 </javadoc>
296     </target>
297    
298    
299 tim 1.28 <target name="dist"
300 jsr166 1.125 depends="dist-clean, dist-jar, dist-docs"
301 tim 1.16 description="Puts all distributable products in single hierarchy"/>
302 tim 1.1
303 tim 1.58
304 tim 1.42 <target name="release"
305     depends="dist"
306     description="Puts entire CVS tree, plus distribution productions, in a jar">
307    
308     <property name="release.jar" value="dist/jsr166-${version}-dist.jar"/>
309    
310     <jar basedir="${basedir}" destfile="${release.jar}">
311 tim 1.58 <!-- <exclude name="build/**"/> -->
312 tim 1.42 <exclude name="${release.jar}"/>
313     <exclude name="user.properties"/>
314     <exclude name="etc/notes/**"/>
315 tim 1.58 <exclude name="src/emulation/**"/>
316 tim 1.44 <exclude name="**/SyntaxTest.java"/>
317 tim 1.58 <exclude name="**/SuperfluousAbstract.java"/>
318 tim 1.42 </jar>
319     </target>
320 tim 1.1
321 tim 1.59
322 tim 1.11 <target name="clean"
323     description="Removes all build products">
324 tim 1.27
325 tim 1.11 <delete dir="${build.dir}"/>
326 tim 1.27
327 tim 1.1 </target>
328    
329    
330 tim 1.11 <target name="dist-clean"
331     description="Removes all build and distribution products">
332 tim 1.27
333 tim 1.11 <delete dir="${dist.dir}"/>
334 tim 1.27
335 tim 1.9 </target>
336 tim 1.10
337    
338 tim 1.11 <!-- Internal targets -->
339 tim 1.9
340 tim 1.16
341 tim 1.28 <target name="dist-jar"
342     depends="clean, jar">
343 tim 1.11 <copy file="${product.jar}" todir="${dist.dir}"/>
344 jsr166 1.125 </target>
345 tim 1.27
346 jsr166 1.125 <target name="dist-docs"
347     depends="clean, docs">
348 jsr166 1.127 <mirror-dir src="${docs.dir}" dst="${dist.docs.dir}"/>
349 tim 1.11 </target>
350    
351    
352 tim 1.28 <target name="compile-tests"
353     depends="jar">
354 tim 1.27
355 tim 1.1 <mkdir dir="${build.testcases.dir}"/>
356 tim 1.37
357 tim 1.60 <javac srcdir="${tck.src.dir}"
358 jsr166 1.111 destdir="${build.testcases.dir}"
359     debug="${build.debug}"
360     debuglevel="${build.debuglevel}"
361     deprecation="${build.deprecation}"
362     source="6"
363     classpath="${junit.jar}"
364 jsr166 1.119 bootclasspath="@{product.jar}:${bootclasspath6}"
365 jsr166 1.111 includeAntRuntime="false"
366     includeJavaRuntime="false"
367     executable="${javac8}"
368     fork="true">
369 tim 1.60
370 jsr166 1.111 <include name="**/*.java"/>
371 dl 1.84 <compilerarg value="-XDignore.symbol.file=true"/>
372 jsr166 1.111 <compilerarg value="-Xlint:all,-unchecked,-rawtypes,-serial,-deprecation"/>
373 jsr166 1.118 <compilerarg line="${build.args}"/>
374 jsr166 1.65
375 tim 1.60 </javac>
376    
377     <javac srcdir="${test.src.dir}"
378 jsr166 1.111 destdir="${build.testcases.dir}"
379     debug="${build.debug}"
380     debuglevel="${build.debuglevel}"
381     deprecation="${build.deprecation}"
382     source="6"
383 jsr166 1.112 classpath=""
384 jsr166 1.119 bootclasspath="@{product.jar}:${bootclasspath6}"
385 jsr166 1.111 includeAntRuntime="false"
386     includeJavaRuntime="false"
387     executable="${javac8}"
388     fork="true">
389 tim 1.1
390 jsr166 1.111 <include name="jsr166/test/**/*.java"/>
391 dl 1.84 <compilerarg value="-XDignore.symbol.file=true"/>
392 jsr166 1.111 <compilerarg value="-Xlint:all,-unchecked,-rawtypes,-serial,-deprecation"/>
393 jsr166 1.118 <compilerarg line="${build.args}"/>
394 jsr166 1.65
395 tim 1.1 </javac>
396 tim 1.27
397 tim 1.62 <!--
398     <javac srcdir="${jtreg.src.dir}"
399     destdir="${build.testcases.dir}"
400     debug="${build.debug}"
401     debuglevel="${build.debuglevel}"
402     deprecation="${build.deprecation}"
403     source="${build.sourcelevel}"
404     fork="true">
405    
406 jsr166 1.118 <compilerarg value="-Xbootclasspath/p:${product.jar}"/>
407     <compilerarg value="-XDignore.symbol.file=true"/>
408 tim 1.62 <compilerarg line="${build.args}"/>
409 jsr166 1.65
410 tim 1.62 </javac>
411     -->
412    
413 tim 1.1 </target>
414 tim 1.11
415 tim 1.1
416 tim 1.28 <target name="run-tests"
417     depends="compile-tests">
418 tim 1.27
419     <!-- May be overridden by user.properties -->
420     <property name="testcase" value="*"/>
421    
422 tim 1.1 <mkdir dir="${build.reports.dir}"/>
423 tim 1.27
424 tim 1.1 <junit printsummary="true"
425     showoutput="true"
426     errorProperty="junit.failed"
427     failureProperty="junit.failed"
428 tim 1.12 dir="${build.reports.dir}"
429 jsr166 1.111 jvm="${java8}"
430 tim 1.12 fork="true">
431    
432 jsr166 1.111 <jvmarg value="-Xbootclasspath/p:${product.jar}"/>
433 tim 1.64 <jvmarg value="-server"/>
434     <jvmarg value="-showversion"/>
435 jsr166 1.65
436 tim 1.59 <classpath refid="test.classpath"/>
437 tim 1.1
438     <formatter type="xml"/>
439    
440 tim 1.62 <batchtest todir="${build.reports.dir}" unless="no.test.tck">
441 tim 1.60 <fileset dir="${tck.src.dir}">
442     <include name="**/${testcase}Test.java"/>
443     </fileset>
444 tim 1.62 </batchtest>
445 jsr166 1.65
446 tim 1.62 <batchtest todir="${build.reports.dir}" if="do.test.old">
447 tim 1.60 <fileset dir="${test.src.dir}">
448     <include name="jsr166/test/**/${testcase}Test.java"/>
449 tim 1.1 </fileset>
450     </batchtest>
451 tim 1.62
452 jsr166 1.65 <!--
453 tim 1.62 <batchtest todir="${build.reports.dir}" if="do.test.jtreg">
454     <fileset dir="${jtreg.src.dir}">
455     <include name="**/${testcase}Test.java"/>
456     </fileset>
457     </batchtest>
458     -->
459 tim 1.1
460     </junit>
461 tim 1.27
462 tim 1.1 </target>
463    
464    
465 tim 1.28 <target name="report-tests"
466     depends="run-tests">
467    
468 tim 1.54 <!-- Sets junit.report.format to frames if redirection is present,
469 tim 1.1 otherwise sets it to noframes. -->
470     <available property="junit.report.format"
471     value="frames"
472     classname="org.apache.xalan.lib.Redirect"
473     />
474     <property name="junit.report.format" value="noframes"/>
475    
476     <junitreport todir="${build.reports.dir}">
477     <fileset dir="${build.reports.dir}">
478     <include name="TEST-*.xml"/>
479     </fileset>
480 jsr166 1.75 <report format="${junit.report.format}" todir="${build.reports.dir}"
481 tim 1.1 />
482     </junitreport>
483    
484     <fail message="Test Cases Failed" if="junit.failed"/>
485 tim 1.28
486 tim 1.18 </target>
487    
488    
489 tim 1.32 <target name="configure-compiler">
490 tim 1.54
491     <property name="unchecked.option" value="-Xlint:unchecked"/>
492    
493     <condition property="warnunchecked.arg" value="${unchecked.option}">
494 tim 1.57 <istrue value="${build.warnunchecked}"/>
495 tim 1.32 </condition>
496    
497 tim 1.37 <property name="warnunchecked.arg" value=""/>
498 tim 1.34
499 tim 1.32
500     <!-- Common options in javac invocations -->
501 tim 1.57 <property name="build.args" value="${warnunchecked.arg}"/>
502 tim 1.33
503     </target>
504    
505    
506 tim 1.37 <target name="configure-tests"
507     depends="configure-compiler">
508 tim 1.28
509     <!-- junit.framework.Protectable is in JUnit 3.8.1 but not in 3.7 -->
510 tim 1.18 <available property="junit.available"
511 tim 1.28 classname="junit.framework.Protectable"/>
512    
513 tim 1.54 <!-- Xalan -->
514     <available property="xalan.available"
515     classname="org.apache.xalan.Version"/>
516    
517 jsr166 1.65
518 tim 1.59 <!-- Ant 1.6beta and later don't need or want this check -->
519 jsr166 1.65 <!--
520 tim 1.59 <fail message="Need JUnit 3.8.1 in ${ant.home}${file.separator}lib to run tests"
521     unless="junit.available"/>
522    
523 tim 1.54 <fail message="Need Xalan 2.5.1 jar in ${ant.home}${file.separator}lib to run tests"
524     unless="xalan.available"/>
525 tim 1.59 -->
526 tim 1.30
527 tim 1.28 </target>
528    
529    
530 jsr166 1.65 <!-- Various demos and test programs -->
531    
532    
533 jsr166 1.103 <target name="loops" depends="configure-compiler"
534 jsr166 1.65 description="Benchmark from Doug Lea's AQS paper">
535    
536     <mkdir dir="${build.loops.dir}"/>
537    
538     <javac srcdir="${loops.src.dir}"
539     destdir="${build.loops.dir}"
540     debug="${build.debug}"
541     debuglevel="${build.debuglevel}"
542     deprecation="${build.deprecation}"
543     source="${build.sourcelevel}"
544     fork="true">
545    
546     <compilerarg line="${build.args}"/>
547     <classpath refid="loops.classpath"/>
548 dl 1.84 <compilerarg value="-XDignore.symbol.file=true"/>
549 jsr166 1.65
550     </javac>
551    
552     <java classname="ALoops" fork="true">
553     <classpath refid="loops.classpath"/>
554     </java>
555    
556     </target>
557    
558    
559 jsr166 1.99 <!-- jsr166 4jdk7 -->
560 jsr166 1.92
561 jsr166 1.99 <target name="4jdk7compile"
562 jsr166 1.92 depends="configure-compiler"
563 jsr166 1.99 description="Compiles src/jdk7 sources, targeting jdk7">
564 jsr166 1.92
565 jsr166 1.99 <mkdir dir="${build.4jdk7.classes.dir}"/>
566 jsr166 1.92
567 jsr166 1.99 <javac srcdir="${4jdk7src.dir}"
568     destdir="${build.4jdk7.classes.dir}"
569 jsr166 1.92 debug="${build.debug}"
570     debuglevel="${build.debuglevel}"
571     deprecation="${build.deprecation}"
572 jsr166 1.107 source="6"
573 jsr166 1.92 classpath=""
574 jsr166 1.119 bootclasspath="${bootclasspath6}"
575 jsr166 1.92 includeAntRuntime="false"
576     includeJavaRuntime="false"
577 jsr166 1.97 executable="${javac7}"
578 jsr166 1.92 fork="true">
579    
580     <include name="**/*.java"/>
581     <compilerarg value="-XDignore.symbol.file=true"/>
582     <compilerarg value="-Xlint:all"/>
583 jsr166 1.118 <compilerarg line="${build.args}"/>
584 jsr166 1.92
585     </javac>
586 jsr166 1.118 </target>
587 jsr166 1.92
588 jsr166 1.116
589 jsr166 1.128 <target name="4jdk7jar"
590 jsr166 1.116 depends="4jdk7compile"
591     description="Builds library jar from compiled sources">
592    
593     <jar destfile="${4jdk7product.jar}">
594 jsr166 1.99 <fileset dir="${build.4jdk7.classes.dir}"/>
595 jsr166 1.97 </jar>
596    
597 jsr166 1.92 </target>
598    
599    
600 jsr166 1.99 <target name="4jdk7-test-tck"
601 jsr166 1.128 depends="4jdk7jar"
602 jsr166 1.99 description="Runs tck tests for jsr166-4jdk7 directly">
603 jsr166 1.116
604 jsr166 1.97 <run-tck-tests
605 jsr166 1.116 target="7"
606     workdir="${build.4jdk7.dir}"
607 jsr166 1.122 classes="${4jdk7product.jar}"/>
608 jsr166 1.97 </target>
609    
610    
611 jsr166 1.99 <target name="4jdk7-test-tck-junit"
612     depends="4jdk7compile"
613     description="Runs tck tests for jsr166-4jdk7 via junit task (experimental)">
614 jsr166 1.97
615     <junit printsummary="true"
616     showoutput="true"
617     errorProperty="junit.failed"
618     failureProperty="junit.failed"
619     includeantruntime="true"
620     jvm="${java7}"
621     fork="true">
622    
623 jsr166 1.99 <jvmarg value="-Xbootclasspath/p:${4jdk7product.jar}"/>
624 jsr166 1.97 <jvmarg value="-server"/>
625 jsr166 1.92
626 jsr166 1.97 <classpath>
627     <pathelement location="${junit.jar}"/>
628 jsr166 1.99 <pathelement location="${build.4jdk7.tck.classes.dir}"/>
629 jsr166 1.97 </classpath>
630 jsr166 1.92
631 jsr166 1.97 <formatter type="brief"/>
632 jsr166 1.92
633 jsr166 1.97 <test name="JSR166TestCase" haltonfailure="no">
634     </test>
635 jsr166 1.92
636 jsr166 1.97 </junit>
637 jsr166 1.92 </target>
638    
639 jsr166 1.115 <target name="4jdk7-test-jtreg"
640     depends="4jdk7compile"
641     description="Runs jtreg tests for jsr166-4jdk7 using the jtreg ant task">
642     <delete dir="${build.4jdk7.dir}/JTwork" quiet="true"/>
643     <delete dir="${build.4jdk7.dir}/JTreport" quiet="true"/>
644     <mkdir dir="${build.4jdk7.dir}/JTwork/scratch"/>
645     <mkdir dir="${build.4jdk7.dir}/JTreport"/>
646     <jtreg dir="${jtreg.src.dir}"
647     jdk="${jdk7.home}"
648     workDir="${build.4jdk7.dir}/JTwork"
649     reportDir="${build.4jdk7.dir}/JTreport">
650    
651     <arg value="-Xbootclasspath/p:${4jdk7product.jar}"/>
652     <arg value="-agentvm"/>
653     <arg value="-v:nopass,fail"/>
654     <arg value="-vmoptions:-esa -ea"/>
655     <arg value="-automatic"/>
656     <arg value="-k:!ignore"/>
657     </jtreg>
658     </target>
659    
660    
661     <target name="4jdk7-test"
662     depends="4jdk7-test-tck, 4jdk7-test-jtreg"
663     description="Runs tck and jtreg tests for jsr166-4jdk7">
664     </target>
665    
666 jsr166 1.92
667 jsr166 1.99 <target name="4jdk7docs"
668 jsr166 1.102 description="Builds javadocs for src/jdk7 to dist dir">
669 jsr166 1.92
670 jsr166 1.127 <delete dir="${4jdk7docs.dir}"/>
671     <mkdir dir="${4jdk7docs.dir}"/>
672 jsr166 1.92
673 jsr166 1.127 <javadoc destdir="${4jdk7docs.dir}"
674 jsr166 1.92 packagenames="none"
675     link="${jdkapi7docs.url}"
676 jsr166 1.99 overview="${4jdk7src.dir}/intro.html"
677 jsr166 1.130 access="${build.javadoc.access}"
678 jsr166 1.119 sourcepath="${4jdk7src.dir}:${jdk7src.dir}"
679 jsr166 1.92 classpath=""
680 jsr166 1.99 executable="${javadoc7}">
681     <fileset dir="${4jdk7src.dir}" defaultexcludes="yes">
682 jsr166 1.92 <include name="**/*.java"/>
683     </fileset>
684 jsr166 1.119 <arg value="-XDignore.symbol.file=true"/>
685 jsr166 1.92 </javadoc>
686     </target>
687    
688    
689 jsr166 1.99 <target name="4jdk7dist"
690 jsr166 1.125 depends="4jdk7dist-jar, 4jdk7dist-docs"
691 jsr166 1.92 description="Puts all distributable products in single hierarchy"/>
692    
693    
694 jsr166 1.99 <target name="4jdk7clean"
695 jsr166 1.109 description="Removes all 4jdk7 build products">
696 jsr166 1.92
697 jsr166 1.99 <delete dir="${build.4jdk7.dir}"/>
698 jsr166 1.92
699     </target>
700    
701    
702 jsr166 1.99 <target name="4jdk7dist-clean"
703 jsr166 1.92 description="Removes all build and distribution products">
704    
705     </target>
706    
707 jsr166 1.99 <target name="4jdk7dist-jar"
708 jsr166 1.128 depends="4jdk7clean, 4jdk7jar">
709 jsr166 1.125 <copy file="${4jdk7product.jar}" todir="${dist.dir}"/>
710     </target>
711 jsr166 1.92
712    
713 jsr166 1.125 <target name="4jdk7dist-docs"
714     depends="4jdk7clean, 4jdk7docs">
715 jsr166 1.127 <mirror-dir src="${4jdk7docs.dir}" dst="${dist.4jdk7docs.dir}"/>
716 jsr166 1.92 </target>
717    
718 jsr166 1.109
719 dl 1.70 <!-- jsr166x -->
720    
721     <target name="jsr166xcompile"
722 jsr166 1.103 depends="configure-compiler"
723 jsr166 1.105 description="Compiles jsr166x sources to build dir">
724 dl 1.70
725 jsr166 1.114 <mkdir dir="${build.jsr166x.classes.dir}"/>
726 dl 1.70
727 jsr166 1.105 <javac srcdir="${topsrc.dir}"
728 jsr166 1.114 destdir="${build.jsr166x.classes.dir}"
729 jsr166 1.105 debug="${build.debug}"
730     debuglevel="${build.debuglevel}"
731     deprecation="${build.deprecation}"
732     classpath=""
733 jsr166 1.119 bootclasspath="${bootclasspath6}"
734 jsr166 1.107 source="5"
735 jsr166 1.105 includeAntRuntime="false"
736     includeJavaRuntime="false"
737     executable="${javac7}"
738     fork="true">
739 dl 1.70
740 jsr166 1.105 <include name="jsr166x/**/*.java"/>
741 dl 1.84 <compilerarg value="-XDignore.symbol.file=true"/>
742 jsr166 1.105 <compilerarg value="-Xlint:all,-unchecked,-rawtypes"/>
743 jsr166 1.118 <compilerarg line="${build.args}"/>
744 dl 1.70
745     </javac>
746     </target>
747    
748    
749 jsr166 1.128 <target name="jsr166xjar"
750 dl 1.70 depends="jsr166xcompile"
751     description="Builds library jar from compiled sources">
752    
753 jsr166 1.106 <jar destfile="${jsr166x.jar}">
754 jsr166 1.114 <fileset dir="${build.jsr166x.classes.dir}"/>
755 dl 1.70 </jar>
756    
757     </target>
758    
759    
760     <target name="jsr166xdocs"
761 jsr166 1.102 description="Builds javadocs to dist dir">
762 dl 1.70
763 jsr166 1.127 <delete dir="${jsr166xdocs.dir}"/>
764     <mkdir dir="${jsr166xdocs.dir}"/>
765 dl 1.70
766 jsr166 1.127 <javadoc destdir="${jsr166xdocs.dir}"
767 jsr166 1.107 packagenames="jsr166x.*"
768 jsr166 1.91 link="${jdkapidocs.url}"
769 jsr166 1.130 access="${build.javadoc.access}"
770 jsr166 1.119 sourcepath="${topsrc.dir}:${jdk6src.dir}"
771     bootclasspath="${bootclasspath6}"
772 jsr166 1.107 source="5"
773 jsr166 1.118 executable="${javadoc7}">
774     <arg value="-XDignore.symbol.file=true"/>
775 dl 1.70
776 jsr166 1.118 </javadoc>
777 dl 1.70 </target>
778    
779    
780     <target name="jsr166xdist"
781 jsr166 1.125 depends="jsr166xdist-jar, jsr166xdist-docs"
782 dl 1.70 description="Puts all distributable products in single hierarchy"/>
783    
784    
785     <target name="jsr166xclean"
786 jsr166 1.109 description="Removes all jsr166x build products">
787 dl 1.70
788     <delete dir="${build.jsr166x.dir}"/>
789    
790     </target>
791    
792    
793     <target name="jsr166xdist-clean"
794     description="Removes all build and distribution products">
795    
796     </target>
797    
798    
799     <target name="jsr166xdist-jar"
800 jsr166 1.128 depends="jsr166xclean, jsr166xjar">
801 jsr166 1.106 <copy file="${jsr166x.jar}" todir="${dist.dir}"/>
802 jsr166 1.125 </target>
803 dl 1.70
804 jsr166 1.125 <target name="jsr166xdist-docs"
805     depends="jsr166xclean, jsr166xdocs">
806 jsr166 1.127 <mirror-dir src="${jsr166xdocs.dir}" dst="${dist.jsr166xdocs.dir}"/>
807 dl 1.70 </target>
808    
809 dl 1.74 <!-- jsr166y -->
810    
811    
812     <target name="jsr166ycompile"
813 jsr166 1.103 depends="configure-compiler"
814 dl 1.74 description="Compiles jsr166y sources">
815    
816 jsr166 1.114 <mkdir dir="${build.jsr166y.classes.dir}"/>
817 dl 1.74
818 jsr166 1.103 <javac srcdir="${topsrc.dir}"
819 jsr166 1.114 destdir="${build.jsr166y.classes.dir}"
820 jsr166 1.103 debug="${build.debug}"
821     debuglevel="${build.debuglevel}"
822     deprecation="${build.deprecation}"
823 jsr166 1.107 source="6"
824 jsr166 1.103 classpath=""
825 jsr166 1.119 bootclasspath="${bootclasspath6}"
826 jsr166 1.103 includeAntRuntime="false"
827     includeJavaRuntime="false"
828     executable="${javac7}"
829     fork="true">
830 dl 1.74
831 jsr166 1.103 <include name="jsr166y/**/*.java"/>
832 dl 1.83 <compilerarg value="-XDignore.symbol.file=true"/>
833 jsr166 1.103 <compilerarg value="-Xlint:all"/>
834 jsr166 1.118 <compilerarg line="${build.args}"/>
835    
836 dl 1.74 </javac>
837     </target>
838    
839    
840 jsr166 1.128 <target name="jsr166yjar"
841 dl 1.74 depends="jsr166ycompile"
842     description="Builds library jar from compiled sources">
843    
844 jsr166 1.106 <jar destfile="${jsr166y.jar}" index="true">
845 jsr166 1.114 <fileset dir="${build.jsr166y.classes.dir}"/>
846 dl 1.74 </jar>
847    
848     </target>
849    
850    
851     <target name="jsr166ydocs"
852 jsr166 1.102 description="Builds javadocs to dist dir">
853 dl 1.74
854 jsr166 1.127 <delete dir="${jsr166ydocs.dir}"/>
855     <mkdir dir="${jsr166ydocs.dir}"/>
856 dl 1.74
857 jsr166 1.127 <javadoc destdir="${jsr166ydocs.dir}"
858 jsr166 1.107 packagenames="jsr166y.*"
859 jsr166 1.91 link="${jdkapidocs.url}"
860 jsr166 1.130 access="${build.javadoc.access}"
861 jsr166 1.119 sourcepath="${topsrc.dir}:${jdk6src.dir}"
862     bootclasspath="${bootclasspath6}"
863 jsr166 1.107 source="6"
864 jsr166 1.118 executable="${javadoc7}">
865     <arg value="-XDignore.symbol.file=true"/>
866 dl 1.74
867 jsr166 1.118 </javadoc>
868 dl 1.74 </target>
869    
870    
871     <target name="jsr166ydist"
872 jsr166 1.125 depends="jsr166ydist-jar, jsr166ydist-docs"
873 dl 1.74 description="Puts all distributable products in single hierarchy"/>
874    
875    
876     <target name="jsr166yclean"
877 jsr166 1.109 description="Removes all jsr166y build products">
878 dl 1.74
879     <delete dir="${build.jsr166y.dir}"/>
880    
881     </target>
882    
883    
884     <target name="jsr166ydist-clean"
885     description="Removes all build and distribution products">
886    
887     </target>
888    
889     <target name="jsr166ydist-jar"
890 jsr166 1.128 depends="jsr166yclean, jsr166yjar">
891 jsr166 1.106 <copy file="${jsr166y.jar}" todir="${dist.dir}"/>
892 jsr166 1.125 </target>
893 dl 1.74
894 jsr166 1.125 <target name="jsr166ydist-docs"
895     depends="jsr166yclean, jsr166ydocs">
896 jsr166 1.127 <mirror-dir src="${jsr166ydocs.dir}" dst="${dist.jsr166ydocs.dir}"/>
897 dl 1.74 </target>
898    
899 dl 1.90
900 dl 1.76 <!-- extra166y -->
901    
902    
903     <target name="extra166ycompile"
904 jsr166 1.128 depends="configure-compiler, jsr166yjar"
905 dl 1.76 description="Compiles extra166y sources">
906    
907 jsr166 1.114 <mkdir dir="${build.extra166y.classes.dir}"/>
908 dl 1.76
909 jsr166 1.103 <javac srcdir="${topsrc.dir}"
910 jsr166 1.114 destdir="${build.extra166y.classes.dir}"
911 jsr166 1.103 debug="${build.debug}"
912     debuglevel="${build.debuglevel}"
913     deprecation="${build.deprecation}"
914 jsr166 1.119 bootclasspath="@{jsr166y.jar}:${bootclasspath6}"
915 jsr166 1.105 classpath=""
916 jsr166 1.107 source="6"
917 jsr166 1.103 includeAntRuntime="false"
918     includeJavaRuntime="false"
919     executable="${javac7}"
920     fork="true">
921 dl 1.76
922 jsr166 1.103 <include name="extra166y/**/*.java"/>
923 dl 1.83 <compilerarg value="-XDignore.symbol.file=true"/>
924 jsr166 1.103 <compilerarg value="-Xlint:all,-unchecked,-rawtypes,-serial"/>
925 jsr166 1.118 <compilerarg line="${build.args}"/>
926 dl 1.76
927     </javac>
928     </target>
929    
930    
931 jsr166 1.128 <target name="extra166yjar"
932 dl 1.76 depends="extra166ycompile"
933     description="Builds library jar from compiled sources">
934    
935 jsr166 1.106 <jar destfile="${extra166y.jar}" index="true">
936 jsr166 1.114 <fileset dir="${build.extra166y.classes.dir}"/>
937 dl 1.76 </jar>
938    
939     </target>
940    
941    
942     <target name="extra166ydocs"
943 jsr166 1.107 description="Builds javadocs to build dir">
944 dl 1.76
945 jsr166 1.127 <delete dir="${extra166ydocs.dir}"/>
946     <mkdir dir="${extra166ydocs.dir}"/>
947 dl 1.76
948 jsr166 1.127 <javadoc destdir="${extra166ydocs.dir}"
949 jsr166 1.107 packagenames="extra166y.*"
950 jsr166 1.91 link="${jdkapidocs.url}"
951 jsr166 1.130 access="${build.javadoc.access}"
952 jsr166 1.119 sourcepath="${topsrc.dir}:${jdk6src.dir}"
953     bootclasspath="${bootclasspath6}"
954 jsr166 1.107 source="6"
955 jsr166 1.118 executable="${javadoc7}">
956     <arg value="-XDignore.symbol.file=true"/>
957 dl 1.76
958 jsr166 1.118 </javadoc>
959 dl 1.76 </target>
960    
961    
962     <target name="extra166ydist"
963 jsr166 1.125 depends="extra166ydist-jar, extra166ydist-docs"
964 dl 1.76 description="Puts all distributable products in single hierarchy"/>
965    
966    
967     <target name="extra166yclean"
968 jsr166 1.109 description="Removes all extra166y build products">
969 dl 1.76
970     <delete dir="${build.extra166y.dir}"/>
971    
972     </target>
973    
974    
975     <target name="extra166ydist-clean"
976     description="Removes all build and distribution products">
977    
978     </target>
979    
980     <target name="extra166ydist-jar"
981 jsr166 1.128 depends="extra166yclean, extra166yjar">
982 jsr166 1.106 <copy file="${extra166y.jar}" todir="${dist.dir}"/>
983 jsr166 1.125 </target>
984 dl 1.76
985 jsr166 1.125 <target name="extra166ydist-docs"
986     depends="extra166yclean, extra166ydocs">
987 jsr166 1.127 <mirror-dir src="${extra166ydocs.dir}" dst="${dist.extra166ydocs.dir}"/>
988 dl 1.76 </target>
989    
990 dl 1.90 <!-- jsr166e -->
991    
992     <target name="jsr166ecompile"
993 jsr166 1.94 depends="configure-compiler"
994 dl 1.90 description="Compiles jsr166e sources">
995    
996 jsr166 1.114 <mkdir dir="${build.jsr166e.classes.dir}"/>
997 dl 1.90
998 jsr166 1.95 <javac srcdir="${topsrc.dir}"
999 jsr166 1.114 destdir="${build.jsr166e.classes.dir}"
1000 jsr166 1.94 debug="${build.debug}"
1001     debuglevel="${build.debuglevel}"
1002     deprecation="${build.deprecation}"
1003 jsr166 1.107 source="7"
1004 jsr166 1.94 classpath=""
1005     includeAntRuntime="false"
1006     includeJavaRuntime="false"
1007     executable="${javac7}"
1008     fork="true">
1009 dl 1.90
1010 jsr166 1.95 <include name="jsr166e/**/*.java"/>
1011 dl 1.90 <compilerarg value="-XDignore.symbol.file=true"/>
1012 jsr166 1.94 <compilerarg value="-Xlint:all"/>
1013 jsr166 1.118 <compilerarg line="${build.args}"/>
1014 dl 1.90
1015     </javac>
1016     </target>
1017    
1018    
1019 jsr166 1.128 <target name="jsr166ejar"
1020 dl 1.90 depends="jsr166ecompile"
1021     description="Builds library jar from compiled sources">
1022    
1023 jsr166 1.106 <jar destfile="${jsr166e.jar}" index="true">
1024 jsr166 1.114 <fileset dir="${build.jsr166e.classes.dir}"/>
1025 dl 1.90 </jar>
1026    
1027     </target>
1028    
1029    
1030     <target name="jsr166edocs"
1031 jsr166 1.107 description="Builds javadocs to build dir">
1032 dl 1.90
1033 jsr166 1.127 <delete dir="${jsr166edocs.dir}"/>
1034     <mkdir dir="${jsr166edocs.dir}"/>
1035 dl 1.90
1036 jsr166 1.127 <javadoc destdir="${jsr166edocs.dir}"
1037 jsr166 1.107 packagenames="jsr166e.*"
1038     link="${jdkapidocs.url}"
1039 jsr166 1.130 access="${build.javadoc.access}"
1040 jsr166 1.119 sourcepath="${topsrc.dir}:${jdk7src.dir}"
1041 jsr166 1.107 source="7"
1042 jsr166 1.118 executable="${javadoc7}">
1043     <arg value="-XDignore.symbol.file=true"/>
1044    
1045 jsr166 1.96 </javadoc>
1046 dl 1.90 </target>
1047    
1048    
1049 jsr166 1.122 <target name="jsr166e-test-tck"
1050 jsr166 1.128 depends="jsr166ejar"
1051 jsr166 1.122 description="Runs tck tests for jsr166e">
1052    
1053     <run-tck-tests
1054     tck.src.dir="${test.src.dir}/tck-jsr166e"
1055     source="7"
1056     target="8"
1057     workdir="${build.jsr166e.dir}"
1058     classes="${jsr166e.jar}"/>
1059     </target>
1060    
1061    
1062 dl 1.90 <target name="jsr166edist"
1063 jsr166 1.125 depends="jsr166edist-jar, jsr166edist-docs"
1064 dl 1.90 description="Puts all distributable products in single hierarchy"/>
1065    
1066    
1067     <target name="jsr166eclean"
1068 jsr166 1.109 description="Removes all jsr166e build products">
1069 dl 1.90 <delete dir="${build.jsr166e.dir}"/>
1070     </target>
1071    
1072    
1073     <target name="jsr166edist-clean"
1074     description="Removes all build and distribution products">
1075    
1076     </target>
1077    
1078     <target name="jsr166edist-jar"
1079 jsr166 1.128 depends="jsr166eclean, jsr166ejar">
1080 jsr166 1.106 <copy file="${jsr166e.jar}" todir="${dist.dir}"/>
1081 jsr166 1.125 </target>
1082 dl 1.90
1083 jsr166 1.125 <target name="jsr166edist-docs"
1084     depends="jsr166eclean, jsr166edocs">
1085 jsr166 1.127 <mirror-dir src="${jsr166edocs.dir}" dst="${dist.jsr166edocs.dir}"/>
1086 dl 1.90 </target>
1087    
1088 jsr166 1.130
1089     <!-- Find buglets that can be detected by static build tools -->
1090    
1091     <target name="lint">
1092     <antcall target="dists">
1093     <param name="build.javadoc.access" value="private"/>
1094     </antcall>
1095     </target>
1096    
1097    
1098 tim 1.1 </project>

dl@cs.oswego.edu
ViewVC Help
Powered by ViewVC 1.1.27