--- jsr166/build.xml 2003/05/17 21:20:50 1.23 +++ jsr166/build.xml 2020/06/19 17:40:45 1.316 @@ -1,385 +1,914 @@ - + - Build file for JSR-166 +------------------------------------------------------------------------------ + Build file for JSR-166 - JUnit 1.8 must be in ${ant.home}/lib for the test target to work. - + Usage: ant [target] + + See http://gee.cs.oswego.edu/dl/concurrency-interest/index.html for + more details. + User-specific settings are read from user.properties. + See user.properties.sample for an explanation of some useful settings. + + The repository contains all dependencies except for ant and the JDK + itself. Because the JDK version matters and because different + targets require different JDKs, we assume that users have created a + hierarchy containing: + $HOME/jdk/jdk11 + $HOME/jdk/jdk12 + $HOME/jdk/jdk13 + $HOME/jdk/jdk14 + $HOME/jdk/jdk15 + $HOME/jdk/jdk16 + where each of the above is a JDK or a symlink to same, and + $HOME/jdk/src/jdk11 + $HOME/jdk/src/jdk12 + $HOME/jdk/src/jdk13 + $HOME/jdk/src/jdk14 + $HOME/jdk/src/jdk15 + $HOME/jdk/src/jdk16 + where each of the above is a JDK source tree or a symlink to same. + + Alternatively, define ant variables thus: + ant -Djdk$N.home=... -Djdk$N.src.home=... + for $N in 11 .. 16 ... + + As of 2016-03, the sources in src/main are for jdk9+ only. + As of 2019-08, the sources in src/main are for jdk11+ only. + As of 2019-10, compatibility support for jdk8 is dropped entirely. +------------------------------------------------------------------------------ + - - -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) - + + + + + + + + - + - - + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + - - + + + - - - - - - - - - - - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + - - + + - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - + - - - - - - - - - - - - + + + + + + + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Building JSR-166 version ${version} - - - - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - -