--- jsr166/build.xml 2013/07/20 18:26:16 1.148 +++ 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,68 +19,47 @@ 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. ------------------------------------------------------------------------------ - + + - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -82,21 +67,12 @@ As of 2013-02, the very latest lambda 8 - - - - - - - - - - - - - - - + + + + + + @@ -112,80 +88,75 @@ As of 2013-02, the very latest lambda 8 - - - + + + + - + + + + + - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - + + + + + + + + - - + + + + + + - - - - - - + + - + + + @@ -198,15 +169,17 @@ As of 2013-02, the very latest lambda 8 source="@{compile-target}" target="@{compile-target}" classpath="${junit.jar}" - bootclasspath="@{classes}:${bootclasspath@{compile-target}}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac@{compile-target}}" fork="true"> - + + + @@ -216,44 +189,93 @@ As of 2013-02, the very latest lambda 8 failonerror="true" jvm="${java@{target}}" fork="true"> - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -264,128 +286,121 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + - + + + + + + + - - - + description="Builds library jar for src/main from compiled sources"> + + - + + + + + - - + - - - - + source="${build.main.javadoc.source}" + executable="${build.main.javadoc}"> - + + + + - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - @@ -396,34 +411,86 @@ As of 2013-02, the very latest lambda 8 - - - + + classes="${product.jar}"> + + + + - + + + + + + + + + + + + + + + + + + + - + depends="tck, tck-parallelism-1, tck-parallelism-0, jtreg" + description="Runs tck and jtreg tests for src/main"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -440,579 +507,243 @@ As of 2013-02, the very latest lambda 8 + - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - + + + + + - - + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + target="${java.runtime.target}" + workdir="${build.dir}" + classes="${product.jar}"> + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + -