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

Annotation of /jsr166/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.75 - (hide annotations)
Tue Sep 18 12:46:40 2007 UTC (12 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.74: +1 -529 lines
File MIME type: text/xml
Removed obsolete targets and sources.

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 tim 1.29 ------------------------------------------------------------------------------
12 tim 1.18 </description>
13 tim 1.11
14 tim 1.29 <target name="usage" description="Advises user to run with -projecthelp">
15     <echo>Run "ant -projecthelp" for full usage information.</echo>
16     </target>
17 tim 1.3
18 tim 1.11
19 tim 1.27 <!-- User-specific settings -->
20 tim 1.23 <property file="user.properties"/>
21 tim 1.27
22 tim 1.1
23     <!-- Compilation options -->
24 tim 1.11 <property name="build.sourcelevel" value="1.5"/>
25 tim 1.1 <property name="build.debug" value="true"/>
26     <property name="build.debuglevel" value="source,lines,vars"/>
27 tim 1.13 <property name="build.deprecation" value="false"/>
28 tim 1.1
29     <!-- Build locations -->
30     <property name="build.dir" location="build"/>
31     <property name="build.classes.dir" location="${build.dir}/classes"/>
32     <property name="build.testcases.dir" location="${build.dir}/testcases"/>
33 jsr166 1.65 <property name="build.loops.dir" location="${build.dir}/loops"/>
34 tim 1.1 <property name="build.lib.dir" location="${build.dir}/lib"/>
35 tim 1.9 <property name="build.javadocs.dir" location="${build.dir}/javadocs"/>
36 tim 1.1 <property name="build.reports.dir" location="${build.dir}/reports"/>
37 dl 1.70 <property name="build.jsr166x.dir" location="${build.dir}/jsr166x"/>
38     <property name="build.jsr166xlib.dir" location="${build.dir}/jsr166xlib"/>
39     <property name="build.jsr166xjavadocs.dir" location="${build.dir}/jsr166xjavadocs"/>
40 tim 1.1
41 dl 1.74 <property name="build.jsr166y.dir" location="${build.dir}/jsr166y"/>
42     <property name="build.jsr166ylib.dir" location="${build.dir}/jsr166ylib"/>
43     <property name="build.jsr166yjavadocs.dir" location="${build.dir}/jsr166yjavadocs"/>
44    
45 tim 1.1 <!-- Source locations -->
46 tim 1.22 <property name="src.dir" location="${basedir}/src/main"/>
47     <property name="test.src.dir" location="${basedir}/src/test"/>
48 jsr166 1.65 <property name="loops.src.dir" location="${basedir}/src/loops"/>
49 tim 1.60 <property name="tck.src.dir" location="${test.src.dir}/tck"/>
50 tim 1.62 <property name="jtreg.src.dir" location="${test.src.dir}/jtreg"/>
51 tim 1.1 <property name="lib.dir" location="${basedir}/lib"/>
52 tim 1.9 <property name="dist.dir" location="${basedir}/dist"/>
53 dl 1.70 <property name="topsrc.dir" location="${basedir}/src"/>
54     <property name="jsr166xsrc.dir" location="${basedir}/src/jsr166x"/>
55 dl 1.74 <property name="jsr166ysrc.dir" location="${basedir}/src/jsr166y"/>
56 tim 1.9
57     <!-- Distribution locations -->
58     <property name="dist.javadocs.dir" location="${dist.dir}/docs"/>
59 dl 1.70 <property name="dist.jsr166xjavadocs.dir" location="${dist.dir}/jsr166xdocs"/>
60 dl 1.74 <property name="dist.jsr166yjavadocs.dir" location="${dist.dir}/jsr166ydocs"/>
61 tim 1.1
62     <!-- Jar locations -->
63     <property name="product.jar" location="${build.lib.dir}/jsr166.jar"/>
64 dl 1.70 <property name="jsr166xproduct.jar" location="${build.jsr166xlib.dir}/jsr166x.jar"/>
65 dl 1.74 <property name="jsr166yproduct.jar" location="${build.jsr166ylib.dir}/jsr166y.jar"/>
66 tim 1.1 <property name="junit.jar" location="${lib.dir}/junit.jar"/>
67 jsr166 1.65
68 tim 1.59 <!-- Bootclasspath argument -->
69     <property name="bootclasspath.args" value="-Xbootclasspath/p:${product.jar}"/>
70 tim 1.27
71 tim 1.59 <!-- Test classpath -->
72     <path id="test.classpath">
73     <pathelement location="${build.testcases.dir}"/>
74     <pathelement location="${junit.jar}"/>
75     </path>
76 tim 1.28
77 jsr166 1.65 <!-- ALoops classpath -->
78     <path id="loops.classpath">
79     <pathelement location="${build.loops.dir}"/>
80     </path>
81    
82 tim 1.28
83 tim 1.59 <!-- Main targets -->
84 tim 1.28
85 tim 1.11
86 tim 1.28 <target name="compile"
87 tim 1.60 depends="init, configure-compiler"
88 tim 1.27 description="Compiles main sources to build folder">
89    
90 tim 1.1 <mkdir dir="${build.classes.dir}"/>
91 tim 1.27
92 tim 1.60 <javac srcdir="${src.dir}"
93 tim 1.1 destdir="${build.classes.dir}"
94     debug="${build.debug}"
95     debuglevel="${build.debuglevel}"
96     deprecation="${build.deprecation}"
97     source="${build.sourcelevel}"
98     fork="true">
99    
100 jsr166 1.68 <include name="**/*.java"/>
101 dl 1.74 <compilerarg value="-XDignore.symbol.file"/>
102    
103 dl 1.72 <!--
104 jsr166 1.68 <exclude name="java/lang/**"/>
105 dl 1.73 <compilerarg line="${build.args}"/>
106     <compilerarg line="-Xlint -Xmaxwarns 1000"/>
107 dl 1.72 -->
108 tim 1.1
109     </javac>
110 tim 1.27
111 tim 1.1 </target>
112    
113    
114 tim 1.59
115 tim 1.28 <target name="jar"
116 tim 1.59 depends="compile"
117     description="Builds library jar from compiled sources">
118    
119     <mkdir dir="${build.lib.dir}"/>
120    
121     <jar destfile="${product.jar}">
122     <fileset dir="${build.classes.dir}"/>
123     </jar>
124    
125     </target>
126    
127 tim 1.1
128    
129 tim 1.28 <target name="test"
130 tim 1.32 depends="init, configure-tests, report-tests"
131 tim 1.29 description="Runs all tests (requires JUnit 3.8.1 in ${ant.home}/lib)" />
132 tim 1.1
133    
134 tim 1.59
135     <target name="docs"
136     description="Builds javadocs with custom tags to build folder">
137    
138     <delete dir="${build.javadocs.dir}"/>
139     <mkdir dir="${build.javadocs.dir}"/>
140    
141     <javadoc destdir="${build.javadocs.dir}"
142 dl 1.74 link="http://java.sun.com/javase/6/docs/api/"
143 tim 1.59 overview="${src.dir}/intro.html"
144 dl 1.73 sourcepath="${src.dir}:/home/dl/1.6.0/j2se/martin/j2se/src/share/classes"
145 dl 1.72 >
146 tim 1.59
147     <packageset dir="${src.dir}"/>
148    
149     </javadoc>
150    
151     </target>
152    
153    
154    
155 tim 1.28 <target name="dist"
156     depends="init, dist-clean, dist-jar, dist-docs"
157 tim 1.16 description="Puts all distributable products in single hierarchy"/>
158 tim 1.1
159 tim 1.58
160 tim 1.59
161 tim 1.42 <target name="release"
162     depends="dist"
163     description="Puts entire CVS tree, plus distribution productions, in a jar">
164    
165     <property name="release.jar" value="dist/jsr166-${version}-dist.jar"/>
166    
167     <jar basedir="${basedir}" destfile="${release.jar}">
168 tim 1.58 <!-- <exclude name="build/**"/> -->
169 tim 1.42 <exclude name="${release.jar}"/>
170     <exclude name="user.properties"/>
171     <exclude name="etc/notes/**"/>
172 tim 1.58 <exclude name="src/emulation/**"/>
173 tim 1.44 <exclude name="**/SyntaxTest.java"/>
174 tim 1.58 <exclude name="**/SuperfluousAbstract.java"/>
175 tim 1.42 </jar>
176    
177     </target>
178 tim 1.1
179 tim 1.59
180    
181 tim 1.11 <target name="clean"
182     description="Removes all build products">
183 tim 1.27
184 tim 1.11 <delete dir="${build.dir}"/>
185     <delete dir="${build.classes.dir}"/>
186     <delete dir="${build.lib.dir}"/>
187 tim 1.27
188 tim 1.1 </target>
189    
190    
191 tim 1.59
192 tim 1.11 <target name="dist-clean"
193     description="Removes all build and distribution products">
194 tim 1.27
195 tim 1.11 <delete dir="${dist.dir}"/>
196 tim 1.27
197 tim 1.9 </target>
198 tim 1.10
199    
200 tim 1.59
201 tim 1.28 <target name="dist-docs"
202     description="Builds javadocs without custom tags to dist folder">
203    
204     <delete dir="${dist.javadocs.dir}"/>
205     <mkdir dir="${dist.javadocs.dir}"/>
206    
207     <javadoc destdir="${dist.javadocs.dir}"
208 dl 1.74 link="http://java.sun.com/javase/6/docs/api/"
209 tim 1.28 overview="${src.dir}/intro.html"
210 tim 1.14
211 dl 1.73 sourcepath="${src.dir}:/home/dl/1.6.0/j2se/martin/j2se/src/share/classes"
212 dl 1.72 >
213 dl 1.74 <!--
214 dl 1.72 <packageset dir="${src.dir}" defaultexcludes="yes">
215     <include name="java/util/concurrent"/>
216     <include name="java/util/concurrent/atomic"/>
217     <include name="java/util/concurrent/locks"/>
218     </packageset>
219 dl 1.74 -->
220 dl 1.72 <fileset dir="${topsrc.dir}" defaultexcludes="yes">
221 dl 1.74 <include name="main/java/util/concurrent/*.java"/>
222     <include name="main/java/util/concurrent/atomic/*.java"/>
223     <include name="main/java/util/concurrent/locks/*.java"/>
224 dl 1.72 <include name="main/java/util/*.java"/>
225 dl 1.74 <!--
226     <include name="main/java/util/concurrent/*.html"/>
227     <include name="main/java/util/concurrent/atomic/*.html"/>
228     <include name="main/java/util/concurrent/locks/*.html"/>
229 dl 1.73 <include name="main/java/util/*.html"/>
230 dl 1.74 -->
231 dl 1.72 <!-- <include name="jsr166x/*.java"/> -->
232     </fileset>
233 tim 1.28 </javadoc>
234 tim 1.14
235     </target>
236    
237    
238 tim 1.28
239 tim 1.11 <!-- Internal targets -->
240 tim 1.9
241 tim 1.16
242 tim 1.32 <target name="init">
243 tim 1.27
244 tim 1.11 <!-- Version is kept in a separate file -->
245     <loadfile property="version" srcFile="version.properties"/>
246     <echo>Building JSR-166 version ${version}</echo>
247 tim 1.54 <echo>java.home is ${java.home}</echo>
248 tim 1.27
249     </target>
250 jsr166 1.65
251    
252 tim 1.28 <target name="dist-jar"
253     depends="clean, jar">
254 tim 1.27
255 tim 1.11 <copy file="${product.jar}" todir="${dist.dir}"/>
256 tim 1.27
257 tim 1.11 </target>
258    
259    
260 tim 1.28 <target name="compile-tests"
261     depends="jar">
262 tim 1.27
263 tim 1.1 <mkdir dir="${build.testcases.dir}"/>
264 tim 1.37
265 tim 1.60 <javac srcdir="${tck.src.dir}"
266     destdir="${build.testcases.dir}"
267     debug="${build.debug}"
268     debuglevel="${build.debuglevel}"
269     deprecation="${build.deprecation}"
270     source="${build.sourcelevel}"
271     fork="true">
272    
273     <compilerarg value="${bootclasspath.args}"/>
274     <compilerarg line="${build.args}"/>
275 jsr166 1.65
276 tim 1.60 <classpath refid="test.classpath"/>
277    
278     </javac>
279    
280     <javac srcdir="${test.src.dir}"
281 tim 1.1 destdir="${build.testcases.dir}"
282     debug="${build.debug}"
283     debuglevel="${build.debuglevel}"
284     deprecation="${build.deprecation}"
285     source="${build.sourcelevel}"
286     fork="true">
287    
288 tim 1.60 <include name="jsr166/test/**"/>
289 jsr166 1.65
290 tim 1.59 <compilerarg value="${bootclasspath.args}"/>
291 tim 1.57 <compilerarg line="${build.args}"/>
292 jsr166 1.65
293 tim 1.57 <classpath refid="test.classpath"/>
294 tim 1.1
295     </javac>
296 tim 1.27
297 tim 1.62 <!--
298     <javac srcdir="${jtreg.src.dir}"
299     destdir="${build.testcases.dir}"
300     debug="${build.debug}"
301     debuglevel="${build.debuglevel}"
302     deprecation="${build.deprecation}"
303     source="${build.sourcelevel}"
304     fork="true">
305    
306     <compilerarg value="${bootclasspath.args}"/>
307     <compilerarg line="${build.args}"/>
308 jsr166 1.65
309 tim 1.62 <classpath refid="test.classpath"/>
310    
311     </javac>
312     -->
313    
314 tim 1.1 </target>
315 tim 1.11
316 tim 1.1
317 tim 1.28 <target name="run-tests"
318     depends="compile-tests">
319 tim 1.27
320     <!-- May be overridden by user.properties -->
321     <property name="testcase" value="*"/>
322    
323 tim 1.1 <mkdir dir="${build.reports.dir}"/>
324 tim 1.27
325 tim 1.1 <junit printsummary="true"
326     showoutput="true"
327     errorProperty="junit.failed"
328     failureProperty="junit.failed"
329 tim 1.12 dir="${build.reports.dir}"
330     fork="true">
331    
332 tim 1.59 <jvmarg value="${bootclasspath.args}"/>
333 tim 1.64 <jvmarg value="-server"/>
334     <jvmarg value="-showversion"/>
335 jsr166 1.65
336 tim 1.59 <classpath refid="test.classpath"/>
337 tim 1.1
338     <formatter type="xml"/>
339    
340 tim 1.62 <batchtest todir="${build.reports.dir}" unless="no.test.tck">
341 tim 1.60 <fileset dir="${tck.src.dir}">
342     <include name="**/${testcase}Test.java"/>
343     </fileset>
344 tim 1.62 </batchtest>
345 jsr166 1.65
346 tim 1.62 <batchtest todir="${build.reports.dir}" if="do.test.old">
347 tim 1.60 <fileset dir="${test.src.dir}">
348     <include name="jsr166/test/**/${testcase}Test.java"/>
349 tim 1.1 </fileset>
350     </batchtest>
351 tim 1.62
352 jsr166 1.65 <!--
353 tim 1.62 <batchtest todir="${build.reports.dir}" if="do.test.jtreg">
354     <fileset dir="${jtreg.src.dir}">
355     <include name="**/${testcase}Test.java"/>
356     </fileset>
357     </batchtest>
358     -->
359 tim 1.1
360     </junit>
361 tim 1.27
362 tim 1.1 </target>
363    
364    
365 tim 1.28 <target name="report-tests"
366     depends="run-tests">
367    
368 tim 1.54 <!-- Sets junit.report.format to frames if redirection is present,
369 tim 1.1 otherwise sets it to noframes. -->
370     <available property="junit.report.format"
371     value="frames"
372     classname="org.apache.xalan.lib.Redirect"
373     />
374     <property name="junit.report.format" value="noframes"/>
375    
376     <junitreport todir="${build.reports.dir}">
377     <fileset dir="${build.reports.dir}">
378     <include name="TEST-*.xml"/>
379     </fileset>
380 jsr166 1.75 <report format="${junit.report.format}" todir="${build.reports.dir}"
381 tim 1.1 />
382     </junitreport>
383    
384     <fail message="Test Cases Failed" if="junit.failed"/>
385 tim 1.28
386 tim 1.18 </target>
387    
388    
389 tim 1.32 <target name="configure-compiler">
390 tim 1.54
391     <property name="unchecked.option" value="-Xlint:unchecked"/>
392    
393     <condition property="warnunchecked.arg" value="${unchecked.option}">
394 tim 1.57 <istrue value="${build.warnunchecked}"/>
395 tim 1.32 </condition>
396    
397 tim 1.37 <property name="warnunchecked.arg" value=""/>
398 tim 1.34
399 tim 1.32
400     <!-- Common options in javac invocations -->
401 tim 1.57 <property name="build.args" value="${warnunchecked.arg}"/>
402 tim 1.33
403     </target>
404    
405    
406 tim 1.37 <target name="configure-tests"
407     depends="configure-compiler">
408 tim 1.28
409     <!-- junit.framework.Protectable is in JUnit 3.8.1 but not in 3.7 -->
410 tim 1.18 <available property="junit.available"
411 tim 1.28 classname="junit.framework.Protectable"/>
412    
413 tim 1.54 <!-- Xalan -->
414     <available property="xalan.available"
415     classname="org.apache.xalan.Version"/>
416    
417 jsr166 1.65
418 tim 1.59 <!-- Ant 1.6beta and later don't need or want this check -->
419 jsr166 1.65 <!--
420 tim 1.59 <fail message="Need JUnit 3.8.1 in ${ant.home}${file.separator}lib to run tests"
421     unless="junit.available"/>
422    
423 tim 1.54 <fail message="Need Xalan 2.5.1 jar in ${ant.home}${file.separator}lib to run tests"
424     unless="xalan.available"/>
425 tim 1.59 -->
426 tim 1.30
427 tim 1.28 </target>
428    
429    
430 jsr166 1.65 <!-- Various demos and test programs -->
431    
432    
433     <target name="loops" depends="init, configure-compiler"
434     description="Benchmark from Doug Lea's AQS paper">
435    
436     <mkdir dir="${build.loops.dir}"/>
437    
438     <javac srcdir="${loops.src.dir}"
439     destdir="${build.loops.dir}"
440     debug="${build.debug}"
441     debuglevel="${build.debuglevel}"
442     deprecation="${build.deprecation}"
443     source="${build.sourcelevel}"
444     fork="true">
445    
446     <compilerarg line="${build.args}"/>
447     <classpath refid="loops.classpath"/>
448    
449     </javac>
450    
451     <java classname="ALoops" fork="true">
452     <classpath refid="loops.classpath"/>
453     </java>
454    
455     </target>
456    
457    
458 dl 1.70 <!-- jsr166x -->
459    
460    
461     <target name="jsr166xcompile"
462     depends="init, configure-compiler"
463     description="Compiles jsr166x sources">
464    
465     <mkdir dir="${build.jsr166x.dir}"/>
466    
467     <javac srcdir="${jsr166xsrc.dir}"
468     destdir="${build.jsr166x.dir}"
469     debug="${build.debug}"
470     debuglevel="${build.debuglevel}"
471     deprecation="${build.deprecation}"
472     source="${build.sourcelevel}"
473     fork="true">
474    
475     <include name="**/*.java"/>
476     <compilerarg line="${build.args}"/>
477    
478     </javac>
479    
480     </target>
481    
482    
483    
484     <target name="jsr166xjar"
485     depends="jsr166xcompile"
486     description="Builds library jar from compiled sources">
487    
488     <mkdir dir="${build.jsr166xlib.dir}"/>
489    
490     <jar destfile="${jsr166xproduct.jar}">
491     <fileset dir="${build.jsr166x.dir}"/>
492     </jar>
493    
494     </target>
495    
496    
497    
498     <target name="jsr166xdocs"
499     description="Builds javadocs with custom tags to build folder">
500    
501     <delete dir="${build.jsr166xjavadocs.dir}"/>
502     <mkdir dir="${build.jsr166xjavadocs.dir}"/>
503    
504     <javadoc destdir="${build.jsr166xjavadocs.dir}"
505 dl 1.74 link="http://java.sun.com/javase/6/docs/api/"
506    
507 dl 1.72 sourcepath="${jsr166xsrc.dir}:/home/dl/1.5.0/j2se/martin/j2se/src/share/classes"
508    
509 dl 1.70 >
510     <packageset dir="${topsrc.dir}" defaultexcludes="yes">
511     <include name="jsr166x"/>
512     </packageset>
513    
514    
515     </javadoc>
516    
517     </target>
518    
519    
520     <target name="jsr166xdist"
521     depends="jsr166xdist-clean, jsr166xdist-jar, jsr166xdist-docs"
522     description="Puts all distributable products in single hierarchy"/>
523    
524    
525    
526     <target name="jsr166xclean"
527     description="Removes all build products">
528    
529     <delete dir="${build.jsr166x.dir}"/>
530     <delete dir="${build.jsr166xlib.dir}"/>
531    
532     </target>
533    
534    
535    
536     <target name="jsr166xdist-clean"
537     description="Removes all build and distribution products">
538    
539     </target>
540    
541    
542    
543     <target name="jsr166xdist-docs"
544     description="Builds javadocs without custom tags to dist folder">
545    
546     <delete dir="${dist.jsr166xjavadocs.dir}"/>
547     <mkdir dir="${dist.jsr166xjavadocs.dir}"/>
548    
549     <javadoc destdir="${dist.jsr166xjavadocs.dir}"
550 dl 1.74 link="http://java.sun.com/javase/6/docs/api/"
551 dl 1.70 source="${build.sourcelevel}">
552    
553     <packageset dir="${topsrc.dir}" defaultexcludes="yes">
554     <include name="jsr166x"/>
555     </packageset>
556    
557     </javadoc>
558    
559     </target>
560    
561     <target name="jsr166xdist-jar"
562     depends="jsr166xclean, jsr166xjar">
563    
564     <copy file="${jsr166xproduct.jar}" todir="${dist.dir}"/>
565    
566     </target>
567    
568 dl 1.74 <!-- jsr166y -->
569    
570    
571     <target name="jsr166ycompile"
572     depends="init, configure-compiler"
573     description="Compiles jsr166y sources">
574    
575     <mkdir dir="${build.jsr166y.dir}"/>
576    
577     <javac srcdir="${jsr166ysrc.dir}"
578     destdir="${build.jsr166y.dir}"
579     debug="${build.debug}"
580     debuglevel="${build.debuglevel}"
581     deprecation="${build.deprecation}"
582     source="${build.sourcelevel}"
583     fork="true">
584    
585     <include name="**/*.java"/>
586     <compilerarg line="${build.args}"/>
587     <compilerarg value="${bootclasspath.args}"/>
588    
589     <!-- <compilerarg line="-Xlint -Xmaxwarns 1000"/> -->
590    
591     </javac>
592    
593     </target>
594    
595    
596    
597     <target name="jsr166yjar"
598     depends="jsr166ycompile"
599     description="Builds library jar from compiled sources">
600    
601     <mkdir dir="${build.jsr166ylib.dir}"/>
602    
603     <jar destfile="${jsr166yproduct.jar}">
604     <fileset dir="${build.jsr166y.dir}"/>
605     </jar>
606    
607     </target>
608    
609    
610    
611     <target name="jsr166ydocs"
612     description="Builds javadocs with custom tags to build folder">
613    
614     <delete dir="${build.jsr166yjavadocs.dir}"/>
615     <mkdir dir="${build.jsr166yjavadocs.dir}"/>
616    
617     <javadoc destdir="${build.jsr166yjavadocs.dir}"
618     link="http://java.sun.com/javase/6/docs/api/"
619     sourcepath="${jsr166ysrc.dir}:/home/dl/1.5.0/j2se/martin/j2se/src/share/classes"
620    
621     >
622     <packageset dir="${topsrc.dir}" defaultexcludes="no">
623     <include name="jsr166y"/>
624     </packageset>
625    
626    
627     </javadoc>
628    
629     </target>
630    
631    
632     <target name="jsr166ydist"
633     depends="jsr166ydist-clean, jsr166ydist-jar, jsr166ydist-docs"
634     description="Puts all distributable products in single hierarchy"/>
635    
636    
637    
638     <target name="jsr166yclean"
639     description="Removes all build products">
640    
641     <delete dir="${build.jsr166y.dir}"/>
642     <delete dir="${build.jsr166ylib.dir}"/>
643    
644     </target>
645    
646    
647    
648     <target name="jsr166ydist-clean"
649     description="Removes all build and distribution products">
650    
651     </target>
652    
653     <target name="jsr166ydist-docs"
654     description="Builds javadocs without custom tags to dist folder">
655    
656     <delete dir="${dist.jsr166yjavadocs.dir}"/>
657     <mkdir dir="${dist.jsr166yjavadocs.dir}"/>
658    
659     <javadoc destdir="${dist.jsr166yjavadocs.dir}"
660     link="http://java.sun.com/javase/6/docs/api/"
661     source="${build.sourcelevel}">
662     <fileset dir="${topsrc.dir}" defaultexcludes="yes">
663     <include name="jsr166y/*.java"/>
664     <include name="jsr166y/forkjoin/*.java"/>
665     </fileset>
666     </javadoc>
667    
668     </target>
669    
670     <target name="jsr166ydist-jar"
671     depends="jsr166yclean, jsr166yjar">
672    
673     <copy file="${jsr166yproduct.jar}" todir="${dist.dir}"/>
674    
675     </target>
676    
677 tim 1.1 </project>

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