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

Annotation of /jsr166/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.57 - (hide annotations)
Mon Sep 15 14:07:36 2003 UTC (16 years, 1 month ago) by tim
Branch: MAIN
Changes since 1.56: +25 -180 lines
File MIME type: text/xml
Remove last traces of earlier compilation hacks

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

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