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

Annotation of /jsr166/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.41 - (hide annotations)
Fri Jun 6 20:48:55 2003 UTC (16 years, 3 months ago) by tim
Branch: MAIN
CVS Tags: JSR166_PRELIMINARY_TEST_RELEASE_1
Changes since 1.40: +1 -0 lines
File MIME type: text/xml
Add AtomicBooleanTest and remove duplicate from emulation jar

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.25 <property name="build.docsourcelevel" value="1.4"/>
26 tim 1.1 <property name="build.debug" value="true"/>
27     <property name="build.debuglevel" value="source,lines,vars"/>
28 tim 1.13 <property name="build.deprecation" value="false"/>
29 tim 1.1
30     <!-- Build locations -->
31     <property name="build.dir" location="build"/>
32     <property name="build.classes.dir" location="${build.dir}/classes"/>
33 tim 1.27 <property name="build.emulation.dir" location="${build.dir}/emulation"/>
34 tim 1.1 <property name="build.testcases.dir" location="${build.dir}/testcases"/>
35     <property name="build.lib.dir" location="${build.dir}/lib"/>
36     <property name="build.ant.dir" location="${build.dir}/ant"/>
37 tim 1.9 <property name="build.javadocs.dir" location="${build.dir}/javadocs"/>
38 tim 1.16 <property name="build.stripped.dir" location="${build.dir}/stripped"/>
39 tim 1.1 <property name="build.reports.dir" location="${build.dir}/reports"/>
40 tim 1.16 <property name="build.doccheck.dir" location="${build.dir}/doccheck"/>
41 tim 1.1 <property name="build.filter.src.dir" location="${build.dir}/filtersrc"/>
42    
43     <!-- Source locations -->
44 tim 1.22 <property name="src.dir" location="${basedir}/src/main"/>
45 tim 1.27 <property name="emulation.src.dir" location="${basedir}/src/emulation"/>
46 tim 1.22 <property name="test.src.dir" location="${basedir}/src/test"/>
47 tim 1.1 <property name="ant.src.dir" location="${basedir}/etc/ant"/>
48     <property name="stylesheet.dir" location="${basedir}/etc/xsl"/>
49     <property name="lib.dir" location="${basedir}/lib"/>
50 tim 1.9 <property name="dist.dir" location="${basedir}/dist"/>
51    
52     <!-- Distribution locations -->
53     <property name="dist.javadocs.dir" location="${dist.dir}/docs"/>
54 tim 1.1
55     <!-- Jar locations -->
56     <property name="product.jar" location="${build.lib.dir}/jsr166.jar"/>
57     <property name="junit.jar" location="${lib.dir}/junit.jar"/>
58     <property name="rt.jar" location="${java.home}/lib/rt.jar"/>
59    
60 tim 1.27
61 tim 1.28
62 tim 1.40 <!-- Files excluded from dist-docs and emulation jar -->
63     <patternset id="unsafe.exclusion">
64 tim 1.28 <exclude name="java/util/Random.*"/>
65     <exclude name="sun/misc/Unsafe.*"/>
66     </patternset>
67    
68 tim 1.40 <!-- Files excludes from emulation jar -->
69     <patternset id="atomic.exclusion">
70 tim 1.41 <exclude name="java/util/concurrent/atomic/AtomicBoolean*"/>
71 tim 1.40 <exclude name="java/util/concurrent/atomic/AtomicInteger*"/>
72     <exclude name="java/util/concurrent/atomic/AtomicLong*"/>
73     <exclude name="java/util/concurrent/atomic/AtomicReference*"/>
74     </patternset>
75    
76 tim 1.28
77    
78 tim 1.11 <!-- Main targets -->
79    
80 tim 1.28 <target name="compile"
81 tim 1.33 depends="init, configure-compiler, prepare-src"
82 tim 1.27 description="Compiles main sources to build folder">
83    
84 tim 1.33 <property name="prepare.src.dir" value="${src.dir}"/>
85    
86 tim 1.1 <mkdir dir="${build.classes.dir}"/>
87 tim 1.27
88 tim 1.37 <!--
89     <echo>javac ${gjc.args}</echo>
90     <echo>bootclasspath=${compile.bootclasspath}</echo>
91     -->
92    
93 tim 1.33 <javac srcdir="${prepare.src.dir}"
94 tim 1.1 destdir="${build.classes.dir}"
95     debug="${build.debug}"
96     debuglevel="${build.debuglevel}"
97     deprecation="${build.deprecation}"
98     source="${build.sourcelevel}"
99     fork="true">
100    
101 tim 1.37 <compilerarg line="${gjc.args}"/>
102     <bootclasspath refid="compile.bootclasspath"/>
103 tim 1.1
104     </javac>
105 tim 1.27
106 tim 1.1 </target>
107    
108    
109 tim 1.28 <target name="jar"
110 tim 1.32 depends="configure-emulation, init-jar, native-jar, emulation-jar"
111 tim 1.28 description="Builds library jar from compiled sources"/>
112 tim 1.1
113    
114 tim 1.28 <target name="test"
115 tim 1.32 depends="init, configure-tests, report-tests"
116 tim 1.29 description="Runs all tests (requires JUnit 3.8.1 in ${ant.home}/lib)" />
117 tim 1.1
118    
119 tim 1.28 <target name="checkstyle"
120     depends="filter-src"
121 tim 1.18 description="Reports on style errors in Java source (verbose, mostly chaff)">
122 tim 1.27
123 tim 1.15 <taskdef resource="checkstyletask.properties"
124     classpath="${lib.dir}/checkstyle-all-2.4.jar"/>
125    
126     <checkstyle>
127 tim 1.16 <formatter type="plain"/> <!-- also available: type="xml" -->
128 tim 1.15 <fileset dir="${build.filter.src.dir}" includes="**/*.java"/>
129     </checkstyle>
130 tim 1.27
131 tim 1.15 </target>
132    
133 tim 1.16
134 tim 1.28 <target name="doccheck"
135     depends="filter-src"
136 tim 1.18 description="Reports on javadoc style errors (not working yet)">
137 tim 1.27
138 tim 1.16 <delete dir="${build.doccheck.dir}"/>
139     <mkdir dir="${build.doccheck.dir}"/>
140 tim 1.27
141 tim 1.16 <javadoc doclet="com.sun.tools.doclets.doccheck.DocCheck"
142     docletpath="${lib.dir}/doccheck.jar"
143     destdir="${build.doccheck.dir}">
144 tim 1.22 <packageset dir="${build.filter.src.dir}"/>
145 tim 1.16 </javadoc>
146 tim 1.27
147 tim 1.16 </target>
148    
149    
150 tim 1.28 <target name="docs"
151     depends="filter-src"
152 tim 1.9 description="Builds javadocs with custom tags to build folder">
153 tim 1.27
154 tim 1.9 <delete dir="${build.javadocs.dir}"/>
155     <mkdir dir="${build.javadocs.dir}"/>
156 tim 1.27
157 tim 1.9 <javadoc destdir="${build.javadocs.dir}"
158 tim 1.8 link="http://java.sun.com/j2se/1.4.1/docs/api"
159     overview="${src.dir}/intro.html"
160 dholmes 1.24 source="${build.docsourcelevel}">
161 tim 1.8
162 tim 1.9 <tag name="revised" description="Last revised:"/>
163 tim 1.29 <tag name="spec" description="Specified by:"/>
164     <tag name="editor" description="Last edited by:"/>
165     <tag name="fixme" description="FIX ME:"/>
166    
167 tim 1.22 <packageset dir="${build.filter.src.dir}"/>
168 tim 1.8
169     </javadoc>
170 tim 1.27
171 tim 1.8 </target>
172    
173    
174 tim 1.28 <target name="strip"
175 tim 1.32 depends="init, configure-compiler"
176 tim 1.31 description="Strip generics from java source (not working yet)">
177 tim 1.27
178 tim 1.16 <mkdir dir="${build.stripped.dir}"/>
179 tim 1.27
180 tim 1.31 <!--
181     # javac -s doesn't reliably generate compilable code. It generates
182     # bridge methods (marked as "synthetic") that can have identical
183     # signatures to existing methods except for the return value.
184     -->
185 tim 1.16 <javac srcdir="${src.dir}"
186     destdir="${build.stripped.dir}"
187     debug="${build.debug}"
188     debuglevel="${build.debuglevel}"
189     deprecation="${build.deprecation}"
190     source="${build.sourcelevel}"
191     fork="true">
192    
193 tim 1.37 <compilerarg line="${gjc.args} -s"/>
194     <bootclasspath refid="compile.bootclasspath"/>
195 tim 1.16
196     </javac>
197 tim 1.27
198 tim 1.16 </target>
199    
200    
201 tim 1.28 <target name="dist"
202     depends="init, dist-clean, dist-jar, dist-docs"
203 tim 1.16 description="Puts all distributable products in single hierarchy"/>
204 tim 1.1
205    
206 tim 1.11 <target name="clean"
207     description="Removes all build products">
208 tim 1.27
209 tim 1.11 <delete dir="${build.dir}"/>
210     <delete dir="${build.classes.dir}"/>
211     <delete dir="${build.lib.dir}"/>
212 tim 1.27
213 tim 1.1 </target>
214    
215    
216 tim 1.11 <target name="dist-clean"
217     description="Removes all build and distribution products">
218 tim 1.27
219 tim 1.11 <delete dir="${dist.dir}"/>
220 tim 1.27
221 tim 1.9 </target>
222 tim 1.10
223    
224 tim 1.28 <target name="dist-docs"
225     depends="filter-src"
226     description="Builds javadocs without custom tags to dist folder">
227    
228     <delete dir="${dist.javadocs.dir}"/>
229     <mkdir dir="${dist.javadocs.dir}"/>
230    
231     <javadoc destdir="${dist.javadocs.dir}"
232     link="http://java.sun.com/j2se/1.4.1/docs/api"
233     overview="${src.dir}/intro.html"
234     source="${build.docsourcelevel}">
235    
236     <packageset dir="${build.filter.src.dir}"/>
237 tim 1.14
238 tim 1.28 </javadoc>
239 tim 1.14
240     </target>
241    
242    
243 tim 1.28
244 tim 1.11 <!-- Internal targets -->
245 tim 1.9
246 tim 1.16
247 tim 1.32 <target name="init">
248 tim 1.27
249 tim 1.11 <!-- Version is kept in a separate file -->
250     <loadfile property="version" srcFile="version.properties"/>
251     <echo>Building JSR-166 version ${version}</echo>
252 tim 1.27
253     </target>
254    
255    
256 tim 1.28 <target name="init-jar">
257 tim 1.27
258     <mkdir dir="${build.lib.dir}"/>
259    
260 tim 1.28 </target>
261    
262    
263     <target name="native-jar"
264 tim 1.30 depends="compile"
265     unless="build.emulation.true">
266 tim 1.28
267 tim 1.27 <jar destfile="${product.jar}">
268     <fileset dir="${build.classes.dir}"/>
269     </jar>
270    
271     </target>
272    
273    
274 tim 1.28 <target name="compile-emulation"
275 tim 1.32 depends="init, configure-compiler"
276 tim 1.30 if="build.emulation.true">
277 tim 1.27
278     <mkdir dir="${build.emulation.dir}"/>
279    
280     <javac srcdir="${emulation.src.dir}"
281     destdir="${build.emulation.dir}"
282     debug="${build.debug}"
283     debuglevel="${build.debuglevel}"
284     deprecation="${build.deprecation}"
285     source="${build.sourcelevel}"
286     fork="true">
287    
288 tim 1.37 <compilerarg line="${gjc.args}"/>
289     <bootclasspath refid="compile.bootclasspath"/>
290 tim 1.27
291     </javac>
292    
293     </target>
294    
295    
296 tim 1.28 <target name="emulation-jar"
297 tim 1.30 depends="compile-emulation"
298     if="build.emulation.true">
299 tim 1.27
300 tim 1.29
301     <jar destfile="${product.jar}" duplicate="add">
302     <fileset dir="${build.classes.dir}">
303 tim 1.40 <patternset refid="atomic.exclusion"/>
304     <patternset refid="unsafe.exclusion"/>
305 tim 1.29 </fileset>
306 tim 1.27 <fileset dir="${build.emulation.dir}"/>
307     </jar>
308    
309 tim 1.9 </target>
310    
311    
312 tim 1.28 <target name="dist-jar"
313     depends="clean, jar">
314 tim 1.27
315 tim 1.11 <copy file="${product.jar}" todir="${dist.dir}"/>
316 tim 1.27
317 tim 1.11 </target>
318    
319    
320 tim 1.28 <target name="compile-ant-filter"
321     depends="init">
322 tim 1.27
323 tim 1.1 <mkdir dir="${build.ant.dir}"/>
324 tim 1.27
325 tim 1.1 <javac srcdir="${ant.src.dir}"
326     destdir="${build.ant.dir}"
327     source="1.4"
328     />
329 tim 1.27
330 tim 1.1 </target>
331    
332    
333 tim 1.28 <target name="filter-src"
334     depends="compile-ant-filter">
335 tim 1.27
336 tim 1.1 <mkdir dir="${build.filter.src.dir}"/>
337 tim 1.27
338 tim 1.1 <copy todir="${build.filter.src.dir}">
339     <fileset dir="${src.dir}">
340 tim 1.31 <include name="**/*.html"/>
341     </fileset>
342     </copy>
343    
344 tim 1.36 <!-- Not needed now, used for doccheck filtering:
345     <property name="generic.declarations"
346     value="public interface E {} public interface T {} public interface K {} public interface V {}"
347     />
348     -->
349    
350 tim 1.31 <copy todir="${build.filter.src.dir}">
351     <fileset dir="${src.dir}">
352     <exclude name="**/*.html"/>
353 tim 1.40 <patternset refid="unsafe.exclusion"/>
354 tim 1.1 </fileset>
355     <filterchain>
356 tim 1.36
357     <!--
358     # This filter gets rid of angle-bracketed type parameters
359     # so that javadoc can run on the result. The following
360     # heuristic seems to work:
361     #
362     # For all lines not starting with space(s)-asterisk-space(s),
363     # replace <something> with a space, where there may be more
364     # than one right angle bracket at the end, and "something"
365     # must not contain parens or pipes. (This may need some
366     # tweaking.)
367     -->
368    
369 tim 1.1 <filterreader classname="jsr166.ant.filters.ReplaceFilter"
370     classpath="${build.ant.dir}">
371     <param name="notmatching" value="^\s+\*\s.*$"/>
372 tim 1.36 <param name="pattern" value="&lt;[^|>()]+?>+"/>
373 tim 1.1 <param name="replacement" value=" "/>
374     </filterreader>
375 tim 1.36
376    
377     <!--
378     # This filter uncomments lines beginning with "//@" so that
379     # javadoc can see imports that are needed to resolve links
380     # but that shouldn't be in the compiled code.
381     -->
382    
383 tim 1.1 <filterreader classname="jsr166.ant.filters.ReplaceFilter"
384     classpath="${build.ant.dir}">
385 tim 1.36 <param name="matching" value="^//@.*$"/>
386     <param name="pattern" value="^//@"/>
387 tim 1.1 <param name="replacement" value=""/>
388     </filterreader>
389 tim 1.36
390    
391     <!--
392     # The next two filters try to make the source look like
393     # something that doccheck can process. The first removes
394     # -source 1.4 assertions and the second adds in a bunch
395     # of single letter public nested marker interfaces so that
396     # the generic type parameters are recognized.
397     #
398     # Currently commented out because doccheck doesn't work. :-(
399     -->
400    
401     <!--
402     <filterreader classname="jsr166.ant.filters.ReplaceFilter"
403     classpath="${build.ant.dir}">
404     <param name="matching" value="^\s*assert[\s ].*$"/>
405     <param name="pattern" value="assert"/>
406     <param name="replacement" value="//assert"/>
407     </filterreader>
408    
409     <filterreader classname="jsr166.ant.filters.ReplaceFilter"
410     classpath="${build.ant.dir}">
411     <param name="matching" value="^(.*(class|interface|implements) .*|)\{.*$"/>
412     <param name="pattern" value="$"/>
413     <param name="replacement" value=" ${generic.declarations}"/>
414     </filterreader>
415     -->
416    
417 tim 1.1 </filterchain>
418     </copy>
419 tim 1.27
420 tim 1.1 </target>
421    
422    
423 tim 1.28 <target name="compile-tests"
424     depends="jar">
425 tim 1.27
426 tim 1.1 <mkdir dir="${build.testcases.dir}"/>
427 tim 1.27
428 tim 1.37 <!--
429     <echo>javac ${gjc.args}</echo>
430     <echo>bootclasspath=${test.compile.bootclasspath}</echo>
431     <echo>classpath="${test.classpath}"</echo>
432     -->
433    
434 tim 1.1 <javac srcdir="${test.src.dir}"
435     destdir="${build.testcases.dir}"
436     debug="${build.debug}"
437     debuglevel="${build.debuglevel}"
438     deprecation="${build.deprecation}"
439     source="${build.sourcelevel}"
440     fork="true">
441    
442 tim 1.37 <compilerarg line="${gjc.args}"/>
443     <bootclasspath refid="test.compile.bootclasspath"/>
444     <classpath refid="test.classpath"/>
445 tim 1.1
446     </javac>
447 tim 1.27
448 tim 1.1 </target>
449 tim 1.11
450 tim 1.1
451 tim 1.28 <target name="run-tests"
452     depends="compile-tests">
453 tim 1.27
454     <!-- May be overridden by user.properties -->
455     <property name="testcase" value="*"/>
456    
457 tim 1.1 <mkdir dir="${build.reports.dir}"/>
458 tim 1.27
459 tim 1.1 <junit printsummary="true"
460     showoutput="true"
461     errorProperty="junit.failed"
462     failureProperty="junit.failed"
463 tim 1.12 dir="${build.reports.dir}"
464     fork="true">
465    
466 tim 1.37 <jvmarg value="-Xbootclasspath/p:${test.run.bootclasspath}"/>
467 tim 1.1
468     <formatter type="xml"/>
469    
470     <batchtest todir="${build.reports.dir}">
471     <fileset dir="${test.src.dir}">
472 tim 1.23 <include name="**/${testcase}Test.java"/>
473 tim 1.1 </fileset>
474     </batchtest>
475    
476     </junit>
477 tim 1.27
478 tim 1.1 </target>
479    
480    
481 tim 1.28 <target name="report-tests"
482     depends="run-tests">
483    
484 tim 1.1 <!-- Sets junit.report.format to frames if Xalan is present,
485     otherwise sets it to noframes. -->
486     <available property="junit.report.format"
487     value="frames"
488     classname="org.apache.xalan.lib.Redirect"
489     />
490     <property name="junit.report.format" value="noframes"/>
491    
492     <junitreport todir="${build.reports.dir}">
493     <fileset dir="${build.reports.dir}">
494     <include name="TEST-*.xml"/>
495     </fileset>
496     <report styledir="${stylesheet.dir}"
497     format="${junit.report.format}"
498     todir="${build.reports.dir}"
499     />
500     </junitreport>
501    
502     <fail message="Test Cases Failed" if="junit.failed"/>
503 tim 1.28
504 tim 1.18 </target>
505    
506    
507 tim 1.32 <target name="configure-compiler">
508    
509     <property name="gjc.version"
510 tim 1.34 value="2.0"/>
511 tim 1.32
512 tim 1.37 <condition property="novariance.arg" value="-novariance">
513 tim 1.32 <and>
514     <equals arg1="${gjc.version}" arg2="2.0"/>
515     <or>
516     <not><isset property="gjc.novariance"/></not>
517     <istrue value="${gjc.novariance}"/>
518     </or>
519     </and>
520     </condition>
521    
522 tim 1.37 <property name="novariance.arg"
523 tim 1.32 value=""/>
524    
525     <property name="gjc.dir"
526     value="${lib.dir}/gjc"/>
527    
528     <property name="javac.jar"
529     location="${gjc.dir}/${gjc.version}/javac.jar"/>
530    
531     <property name="collect.jar"
532 tim 1.37 location="${gjc.dir}/${gjc.version}/collect${novariance.arg}.jar"/>
533 tim 1.32
534    
535 tim 1.37 <condition property="warnunchecked.arg" value="-warnunchecked">
536 tim 1.32 <istrue value="${gjc.warnunchecked}"/>
537     </condition>
538    
539 tim 1.37 <property name="warnunchecked.arg" value=""/>
540 tim 1.32
541 tim 1.34 <condition property="prepare.src.dir" value="${build.dir}/prepare-src">
542 tim 1.35 <istrue value="${build.nothreads}"/>
543 tim 1.34 </condition>
544    
545 tim 1.32
546     <!--
547     ! Bootclasspath munging for source compilation.
548     -->
549    
550 tim 1.37 <path id="pre.bootclasspath">
551 tim 1.32 <pathelement location="${javac.jar}"/>
552     </path>
553    
554 tim 1.37 <path id="compile.bootclasspath">
555 tim 1.39 <pathelement location="${build.classes.dir}"/>
556 tim 1.32 <pathelement location="${collect.jar}"/>
557     <pathelement location="${rt.jar}"/>
558     </path>
559    
560 tim 1.37 <!-- Flatten paths into platform-appropriate strings -->
561     <property name="pre.bootclasspath" refid="pre.bootclasspath"/>
562     <property name="compile.bootclasspath" refid="compile.bootclasspath"/>
563    
564 tim 1.32
565     <!-- Common options in javac invocations -->
566 tim 1.37 <property name="gjc.args"
567     value="-J-Xbootclasspath/p:${pre.bootclasspath} ${warnunchecked.arg} ${novariance.arg}"
568     />
569 tim 1.33
570     </target>
571    
572    
573     <target name="prepare-src"
574 tim 1.34 depends="configure-compiler"
575 tim 1.33 if="prepare.src.dir">
576    
577     <mkdir dir="${prepare.src.dir}"/>
578     <copy todir="${prepare.src.dir}">
579     <fileset dir="${src.dir}">
580     <exclude name="java/lang/**"/>
581     </fileset>
582     </copy>
583 tim 1.32
584     </target>
585    
586    
587     <target name="configure-emulation">
588    
589     <condition property="build.emulation.true">
590     <or>
591     <and>
592     <os family="windows"/>
593     <not>
594     <isset property="build.emulation"/>
595     </not>
596     </and>
597     <istrue value="${build.emulation}"/>
598     </or>
599     </condition>
600    
601     </target>
602    
603    
604 tim 1.37 <target name="configure-tests"
605     depends="configure-compiler">
606 tim 1.28
607     <!-- junit.framework.Protectable is in JUnit 3.8.1 but not in 3.7 -->
608 tim 1.18 <available property="junit.available"
609 tim 1.28 classname="junit.framework.Protectable"/>
610    
611     <fail message="Need JUnit 3.8.1 in ${ant.home}${file.separator}lib to run tests"
612     unless="junit.available"/>
613    
614 tim 1.30
615 tim 1.32 <!--
616     ! Bootclasspath munging for testing, so JUnit can test our local
617     ! modifications to java.*.
618     -->
619    
620     <path id="test.classpath">
621     <pathelement location="${product.jar}"/>
622     <pathelement location="${build.testcases.dir}"/>
623     <pathelement location="${junit.jar}"/>
624     </path>
625    
626 tim 1.37 <path id="test.compile.bootclasspath">
627     <pathelement location="${javac.jar}"/>
628     <pathelement location="${collect.jar}"/>
629     <pathelement location="${rt.jar}"/>
630     </path>
631    
632     <path id="test.run.bootclasspath">
633     <pathelement location="${javac.jar}"/>
634     <path refid="test.classpath"/>
635     </path>
636 tim 1.32
637 tim 1.37 <!-- Flatten test classpaths into platform-appropriate strings -->
638     <property name="test.classpath" refid="test.classpath"/>
639     <property name="test.compile.bootclasspath" refid="test.compile.bootclasspath"/>
640     <property name="test.run.bootclasspath" refid="test.run.bootclasspath"/>
641 tim 1.30
642 tim 1.28 </target>
643    
644    
645    
646     <!-- Anthill targets -->
647    
648     <target name="anthill-build"
649     depends="jar, test, docs, dist-docs"/>
650    
651     <target name="anthill-publish">
652    
653     <copy todir="${deployDir}/docs/private">
654     <fileset dir="${build.javadocs.dir}"/>
655     </copy>
656    
657     <copy todir="${deployDir}/docs/public">
658     <fileset dir="${dist.javadocs.dir}"/>
659     </copy>
660    
661     <copy tofile="${deployDir}/index.html"
662     file="${basedir}/etc/anthill-index.html"/>
663    
664     <copy todir="${deployDir}/notes">
665     <fileset dir="${basedir}/etc/notes"/>
666     </copy>
667    
668 tim 1.1 </target>
669    
670    
671     </project>

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