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

Annotation of /jsr166/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.40 - (hide annotations)
Fri Jun 6 18:34:44 2003 UTC (16 years, 5 months ago) by tim
Branch: MAIN
Changes since 1.39: +12 -4 lines
File MIME type: text/xml
Fixed emulation jar exclusions, uncommented first atomics test

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

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