--- jsr166/build.xml 2003/05/28 13:37:59 1.28 +++ jsr166/build.xml 2003/08/26 19:59:14 1.53 @@ -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. + - - - @@ -49,10 +35,12 @@ ant [target], where target is one of: + + @@ -68,72 +56,45 @@ ant [target], where target is one of: - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - javac ${gjc.args} + bootclasspath=${compile.bootclasspath} +--> + + - - + @@ -150,13 +113,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 +147,11 @@ ant [target], where target is one of: - + + DocCheck output is in ${build.doccheck.dir} + @@ -203,9 +168,10 @@ ant [target], where target is one of: source="${build.docsourcelevel}"> - - - + + + + @@ -213,16 +179,57 @@ ant [target], where target is one of: - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depends="init, configure-compiler" + description="Strip generics from java source (not working yet)"> + - - + @@ -243,6 +252,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 +312,8 @@ ant [target], where target is one of: - - - - - - - - - - - - - - + @@ -316,8 +330,8 @@ ant [target], where target is one of: + depends="compile" + unless="build.emulation.true"> @@ -326,21 +340,9 @@ ant [target], where target is one of: - - - - - - - - - - - + depends="init, configure-compiler" + if="build.emulation.true"> @@ -352,8 +354,8 @@ ant [target], where target is one of: source="${build.sourcelevel}" fork="true"> - - + + @@ -361,10 +363,15 @@ ant [target], where target is one of: + depends="compile-emulation" + if="build.emulation.true"> - + + + + + + @@ -399,36 +406,47 @@ ant [target], where target is one of: - + + + + + + + + + + + - - + + + + + - - - + + @@ -437,11 +455,67 @@ ant [target], where target is one of: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + @@ -474,7 +550,7 @@ ant [target], where target is one of: dir="${build.reports.dir}" fork="true"> - + @@ -515,7 +591,107 @@ ant [target], where target is one of: - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -553,4 +757,13 @@ ant [target], where target is one of: + + + + + + + + +