--- jsr166/build.xml 2002/12/11 15:59:11 1.11 +++ jsr166/build.xml 2003/05/14 21:30:37 1.22 @@ -1,22 +1,41 @@ - + - Build file for JSR-166 - Note that junit.jar must be in ${ant.home}/lib for the - test target to work. [FIXME: This should be automatically - enforced by this build file by failing with a message if - junit.jar is not in the right place.] - + JUnit 1.8 must be in ${ant.home}/lib for the test target to work. + + + +ant [target], where target is one of: + + usage (default) Prints this message + compile Compiles all sources to build folder + jar Builds library jar from compiled sources + test Runs all tests (requires JUnit 1.8 in ${ant.home}/lib) + docs Builds javadocs with custom tags to build folder + dist-docs Builds javadocs without custom tags to dist folder + dist Puts all distributable products in single hierarchy + + clean Removes all build products + dist-clean Removes all build and distribution products + + checkstyle Reports on style errors in Java source (verbose, mostly chaff) + doccheck Reports on javadoc style errors (not working yet) + + + + - + + @@ -25,12 +44,14 @@ + + - - + + @@ -74,9 +95,6 @@ - - - @@ -90,11 +108,35 @@ - + + + + + + + + + + + + + + + + + + + + - @@ -107,15 +149,36 @@ - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -149,17 +234,12 @@ - - - - - - @@ -168,15 +248,13 @@ overview="${src.dir}/intro.html" source="${build.sourcelevel}"> - - - + - + - @@ -251,12 +328,14 @@ showoutput="true" errorProperty="junit.failed" failureProperty="junit.failed" - dir="${build.reports.dir}"> + dir="${build.reports.dir}" + fork="true"> - - - - + + @@ -293,4 +372,12 @@ + + + + + + +