--- jsr166/build.xml 2013/01/16 07:39:51 1.98 +++ jsr166/build.xml 2018/05/08 19:46:11 1.270 @@ -1,4 +1,7 @@ - + ------------------------------------------------------------------------------ @@ -6,6 +9,9 @@ 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. @@ -13,236 +19,490 @@ itself. Because the JDK version matters and because different targets require different JDKs, we assume that users have created a hierarchy containing: - $HOME/jdk/jdk6 - $HOME/jdk/jdk7 $HOME/jdk/jdk8 - where each of the above is a JDK or a symlink to same. + $HOME/jdk/jdk9 + $HOME/jdk/jdk10 + $HOME/jdk/jdk11 + where each of the above is a JDK or a symlink to same, and + $HOME/jdk/src/jdk8 + $HOME/jdk/src/jdk9 + $HOME/jdk/src/jdk10 + $HOME/jdk/src/jdk11 + where each of the above is a complete JDK source tree + (e.g. mercurial forest) or a symlink to same. + + Alternatively, define ant variables thus: + ant -Djdk$N.home=... -Djdk$N.src.home=... + for $N in 8 9 10 ... + + As of 2016-03, the sources in src/main are for jdk9+ only. ------------------------------------------------------------------------------ - - Run "ant -projecthelp" for full usage information. + + + + + + - + + - - - - - - - - - - - - + + + + + + + + + + - - - - - - - - - + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + - - - - - - - - + + + + + + + + + + + + - + + + + + + - + + - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depends="configure-compiler" + description="Compiles src/main sources to build dir"> + + + - + + destdir="${destdir}" + debug="${build.debug}" + debuglevel="${build.debuglevel}" + deprecation="${build.deprecation}" + classpath="" + includeAntRuntime="false" + includeJavaRuntime="false" + encoding="ASCII" + executable="${build.main.javac}" + fork="true"> + + - - - - - - - + description="Builds library jar for src/main from compiled sources"> + + - + + + + + - - - - - - + description="Builds javadocs for src/main to dist dir"> - - + + - + + + + + + access="${build.javadoc.access}" + sourcepath="${src.dir}" + classpath="" + source="9" + executable="${build.main.javadoc}"> + + + + + + + + + + + + + + - - @@ -260,351 +520,447 @@ + + + + - - - - - - - - + - + + + - - - - - - - - - - - - - + depends="clean, docs"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + + + + + + + + + + + + + + + + + + + + + + - - - Building JSR-166 version ${version} - java.home is ${java.home} + + - - - - + + + + + - + + + - + - - - - + + - + - - - + - - - - + + - + - + + + - - - - + - + - + - - - + + + + + + + - - + - - - - - - - - - - - - - + - + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + - - - - - - - + - + + + + + + + + - - + + + + + + + + + - + + + - - - - + - - + + + + + + + + + + + + + + - - - - - - - - + - - - - + + + - - - + + - + + + - + - + + - - + - + + + - - - - - - - + + - - + - - + + + - + + + + + + + + + - + + target="7" + workdir="${build.4jdk7.dir}" + classes="${4jdk7product.jar}"> + + + + + + + + + + + + + + + + - - + + - + - + - + - + + + - + - - + + + - - + failonerror = "true"> + + + - - - - - - - - - - - - + - - - + + - - - - - - - - - - - - + + - - - - + + - - - + - + + - - - - + + - + + + - - - - - - - - - + + + + + + + - - - - - - - - - - + + + + + + + + + - - - - - - + - - - - - - + + - - - - - - - - - - - - - - - + + - - - + - + + - + - - + - - - - + + + - - - - - - - - - + + + + + + + - - - - - - - - - - + + + + + + + + + - - - - - - + - - - - - - - - - - - - - - - + + - - - - + + - - + - + + - - - + - - + - - - - + + + - - - - - - - - - + + + + + + + - - - - - - - - - - + + + + + + + + + - - - - - - + - - - - - - + + - - - - - - - + + - - - - + - - - + + - + + - - + + - + + + - - - + + + + + + + - - + + + + + + + - - - - - - - - - + + + + - - - + failonerror = "true"> + + + + + + + - + + + + + + + + + + + + + + + + - + - - + + + + + + + + + - + + + + + + + + + + + + + - - - + + + + + + + + + + + + - + - + + + + + + + + + + + + - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +