--- jsr166/build.xml 2013/02/01 18:31:17 1.131 +++ jsr166/build.xml 2022/11/25 20:33:50 1.327 @@ -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,32 +19,37 @@ 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 + $HOME/jdk/jdk17 + $HOME/jdk/jdk19 where each of the above is a JDK or a symlink to same, and - $HOME/jdk/src/jdk6 - $HOME/jdk/src/jdk7 - $HOME/jdk/src/jdk8 - where each of the above is a complete JDK source tree - (e.g. mercurial forest) or a symlink to same. -As of 2013-02, the very latest lambda 8 jdk is needed for jdk8. + $HOME/jdk/src/jdk17 + 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 17 .. 19 ... + + 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. + As of 2022-02, the sources in src/main are for jdk17+ only. ------------------------------------------------------------------------------ - + + + - @@ -49,22 +60,6 @@ As of 2013-02, the very latest lambda 8 - - - - - - - - - - - - - - - - @@ -72,21 +67,12 @@ As of 2013-02, the very latest lambda 8 - - - - - - - - - - - - - - - + + + + + + @@ -102,79 +88,75 @@ As of 2013-02, the very latest lambda 8 - - - + + + + - + + + + + - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - + + + + + + + + - - + + + + + + - - - - - - + + - + - + + + + @@ -184,161 +166,241 @@ As of 2013-02, the very latest lambda 8 debug="${build.debug}" debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" - source="@{source}" + source="@{compile-target}" + target="@{compile-target}" classpath="${junit.jar}" - bootclasspath="@{classes}:${bootclasspath@{source}}" includeAntRuntime="false" includeJavaRuntime="false" - executable="${javac@{target}}" + encoding="ASCII" + executable="${javac@{compile-target}}" fork="true"> - + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + - - - + description="Builds library jar for src/main from compiled sources"> + + - + + + + + - - - - - + - - - - + source="${build.main.javadoc.source}" + executable="${build.main.javadoc}"> - + + + + + - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + - - - - - @@ -349,154 +411,86 @@ As of 2013-02, the very latest lambda 8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + classes="${product.jar}"> + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - + + + + + - - - - - - - - - - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -513,596 +507,243 @@ As of 2013-02, the very latest lambda 8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + target="${java.runtime.target}" + workdir="${build.dir}" + classes="${product.jar}"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + -