--- jsr166/build.xml 2003/05/28 13:37:59 1.28 +++ jsr166/build.xml 2003/08/01 19:41:06 1.48 @@ -1,38 +1,24 @@ - Build file for JSR-166 +------------------------------------------------------------------------------ + Build file for JSR-166 - JUnit 3.8 or better must be in ${ant.home}/lib for the test target to work. - + Usage: ant [target] + User-specific settings are read from user.properties. + See user.properties.sample for an explanation of some useful settings. +------------------------------------------------------------------------------ + - - -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) - + + Run "ant -projecthelp" for full usage information. + - - - @@ -53,6 +39,7 @@ ant [target], where target is one of: + @@ -68,72 +55,43 @@ ant [target], where target is one of: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - javac ${gjc.args} + bootclasspath=${compile.bootclasspath} +--> + + - - + + @@ -150,13 +108,13 @@ ant [target], where target is one of: + depends="init, configure-tests, report-tests" + description="Runs all tests (requires JUnit 3.8.1 in ${ant.home}/lib)" /> + depends="filter-doccheck" + description="Reports on javadoc style errors"> @@ -184,9 +142,11 @@ ant [target], where target is one of: - + + DocCheck output is in ${build.doccheck.dir} + @@ -203,9 +163,10 @@ ant [target], where target is one of: source="${build.docsourcelevel}"> - - - + + + + @@ -213,16 +174,17 @@ ant [target], where target is one of: - + depends="init, configure-compiler" + description="Strip generics from java source (not working yet)"> + - - + + @@ -243,6 +205,25 @@ ant [target], where target is one of: depends="init, dist-clean, dist-jar, dist-docs" description="Puts all distributable products in single hierarchy"/> + + + + + + + + + + + + + + @@ -284,22 +265,8 @@ ant [target], where target is one of: - - - - - - - - - - - - - - + @@ -316,8 +283,8 @@ ant [target], where target is one of: + depends="compile" + unless="build.emulation.true"> @@ -326,21 +293,9 @@ ant [target], where target is one of: - - - - - - - - - - - + depends="init, configure-compiler" + if="build.emulation.true"> @@ -352,8 +307,8 @@ ant [target], where target is one of: source="${build.sourcelevel}" fork="true"> - - + + @@ -361,10 +316,15 @@ ant [target], where target is one of: + depends="compile-emulation" + if="build.emulation.true"> - + + + + + + @@ -399,36 +359,47 @@ ant [target], where target is one of: - + + + + + + + + + + + - - + + + + + - - - + + @@ -437,11 +408,67 @@ ant [target], where target is one of: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + @@ -474,7 +501,7 @@ ant [target], where target is one of: dir="${build.reports.dir}" fork="true"> - + @@ -515,7 +542,105 @@ ant [target], where target is one of: - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -553,4 +706,13 @@ ant [target], where target is one of: + + + + + + + + +