--- jsr166/build.xml 2003/05/28 13:37:59 1.28 +++ jsr166/build.xml 2003/08/19 15:10:45 1.52 @@ -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 +111,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 +145,11 @@ ant [target], where target is one of: - + + DocCheck output is in ${build.doccheck.dir} + @@ -203,9 +166,10 @@ ant [target], where target is one of: source="${build.docsourcelevel}"> - - - + + + + @@ -213,16 +177,57 @@ ant [target], where target is one of: - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depends="init, configure-compiler" + description="Strip generics from java source (not working yet)"> + - - + + @@ -243,6 +248,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 +308,8 @@ ant [target], where target is one of: - - - - - - - - - - - - - - + @@ -316,8 +326,8 @@ ant [target], where target is one of: + depends="compile" + unless="build.emulation.true"> @@ -326,21 +336,9 @@ ant [target], where target is one of: - - - - - - - - - - - + depends="init, configure-compiler" + if="build.emulation.true"> @@ -352,8 +350,8 @@ ant [target], where target is one of: source="${build.sourcelevel}" fork="true"> - - + + @@ -361,10 +359,15 @@ ant [target], where target is one of: + depends="compile-emulation" + if="build.emulation.true"> + - + + + + + @@ -399,36 +402,47 @@ ant [target], where target is one of: - + + + + + + + + + + + - - + + + + + - - - + + @@ -437,11 +451,67 @@ ant [target], where target is one of: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + @@ -474,7 +544,7 @@ ant [target], where target is one of: dir="${build.reports.dir}" fork="true"> - + @@ -515,7 +585,105 @@ ant [target], where target is one of: - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -553,4 +749,13 @@ ant [target], where target is one of: + + + + + + + + +