--- jsr166/build.xml 2016/03/25 03:36:15 1.199 +++ jsr166/build.xml 2019/12/16 22:12:32 1.309 @@ -1,5 +1,7 @@ + xmlns:if="ant:if" + xmlns:unless="ant:unless" + xmlns:ivy="antlib:org.apache.ivy.ant"> ------------------------------------------------------------------------------ @@ -7,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. @@ -14,30 +19,28 @@ 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/jdk9 + $HOME/jdk/jdk11 + $HOME/jdk/jdk12 + $HOME/jdk/jdk13 + $HOME/jdk/jdk14 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 - $HOME/jdk/src/jdk9 - where each of the above is a complete JDK source tree - (e.g. mercurial forest) or a symlink to same. + $HOME/jdk/src/jdk11 + $HOME/jdk/src/jdk12 + $HOME/jdk/src/jdk13 + $HOME/jdk/src/jdk14 + 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 6 7 8 9 ... + for $N in 11 .. 14 ... - As of 2015-09, there is incomplete hacky support for jigsaw - Build for jigsaw using something like: - ant -Djdk9.home="$HOME/jdk/jigsaw" -Djdk9.src.home="$HOME/jdk/src/jigsaw" clean test dist - "docs" target is still broken. + 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. ------------------------------------------------------------------------------ - + @@ -51,7 +54,6 @@ - @@ -62,22 +64,6 @@ - - - - - - - - - - - - - - - - @@ -90,25 +76,7 @@ - - - - - - - - - - - - - - - - + @@ -124,70 +92,55 @@ - - - - + + + + - - - - + + + + + - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - + + + + @@ -195,7 +148,7 @@ - + - - - - - - - + + @@ -249,89 +201,86 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - - - + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - + + + + - - + + + - - - - - - - - - - + workDir="@{workdir}/JTwork"> - - + + + - + + + @@ -342,33 +291,38 @@ + - - + + + + + + + + + + - - - - - - - - - - + @@ -380,32 +334,34 @@ classpath="" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${build.main.javac}" fork="true"> - + - + + + + + - - - - - + description="Builds library jar for src/main from compiled sources"> + + - + @@ -417,40 +373,52 @@ - + + + + + + + + + + + + + + source="${build.main.javadoc.source}" + executable="${build.main.javadoc}"> + - + + - - - - - - - - - - - - - - + + + + + + + + + + + @@ -460,42 +428,16 @@ description="Puts all distributable products in single hierarchy"/> - - - - - - - - - - - - - - - - - - - - - - - - @@ -510,76 +452,145 @@ + depends="jar" + description="Runs tck tests for src/main directly"> + classes="${product.jar}"> + + + + + description="Runs tck with common pool parallelism 1"> + description="Runs tck with common pool parallelism 0"> + + + + + + + depends="jar" + description="Runs jtreg tests for src/main using the jtreg ant task"> - + depends="tck, tck-parallelism-1, tck-parallelism-0, jtreg" + description="Runs tck and jtreg tests for src/main"/> - + + - - - + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + @@ -597,39 +608,8 @@ - - - - - - - - - - - - - - - - - - - - - - - + description="Compiles all the perf tests in src/test/loops"> @@ -640,665 +620,227 @@ deprecation="${build.deprecation}" includeAntRuntime="false" includeJavaRuntime="false" - executable="${javac9}" + encoding="ASCII" + executable="${build.main.javac}" fork="true"> - - + + - - - - - - - + + + + + + + - + - - - - - - + + + + + - + + + + + - - + + + + + + + + + + + + + + + + + + + - + + + + + + + - + + - - - - - - - - - - - + + - - - - - + target="${java.runtime.target}" + workdir="${build.dir}" + classes="${product.jar}"> - - - - - - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -