--- jsr166/build.xml 2016/03/25 03:36:15 1.199 +++ jsr166/build.xml 2019/07/13 18:31:40 1.300 @@ -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,33 @@ 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/jdk10 + $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 + $HOME/jdk/src/jdk10 + $HOME/jdk/src/jdk11 + $HOME/jdk/src/jdk12 + $HOME/jdk/src/jdk13 + $HOME/jdk/src/jdk14 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 6 7 8 9 ... + for $N in 8 .. 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. ------------------------------------------------------------------------------ - + @@ -51,7 +59,6 @@ - @@ -62,13 +69,17 @@ - + + + + + @@ -98,7 +109,7 @@ - + @@ -128,6 +139,11 @@ + + + + + @@ -135,13 +151,19 @@ - + + + + + + + @@ -150,6 +172,7 @@ + @@ -157,6 +180,7 @@ + @@ -165,6 +189,7 @@ + @@ -172,15 +197,24 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -188,6 +222,11 @@ + + + + + @@ -210,14 +249,22 @@ - + + - + + + + + + @@ -232,14 +279,16 @@ classpath="${junit.jar}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac@{compile-target}}" fork="true"> + - + @@ -250,10 +299,17 @@ jvm="${java@{target}}" fork="true"> - + + + + + + + + - + @@ -270,37 +326,40 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - + + + + + + + + - - + + + @@ -309,29 +368,26 @@ - + - - - - - + workDir="@{workdir}/JTwork"> - + + - + + + @@ -342,33 +398,38 @@ + - + + + + + + + + + - - - - - - - - - - + @@ -380,32 +441,33 @@ classpath="" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${build.main.javac}" fork="true"> - + - + + + + - - - - - + description="Builds library jar for src/main from compiled sources"> + + - + @@ -423,34 +485,40 @@ + + + + + + source="${build.main.javadoc.source}" + executable="${build.main.javadoc}"> + - + - - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -460,42 +528,16 @@ description="Puts all distributable products in single hierarchy"/> - - - - - - - - - - - - - - - - - - - - - - - - @@ -511,75 +553,180 @@ + 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"> + + + + + + + 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,69 +744,195 @@ + - - + - + - + + + + + + + - - - - + - + - - - + + + + + + + + + + - - - + - - - + + - - + + - + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -682,14 +956,10 @@ - - - + @@ -712,15 +983,10 @@ - - - - + @@ -728,14 +994,9 @@ - - - - + + - - + + - - + + - - - - - - + @@ -815,7 +1065,8 @@ access="${build.javadoc.access}" sourcepath="${4jdk7src.dir}:${jdk7.src.dir}" classpath="" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> @@ -824,38 +1075,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -893,13 +1125,9 @@ - - - - + @@ -910,44 +1138,31 @@ sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="5" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - + - - - - - + - - - + - + - - - + + @@ -969,15 +1185,10 @@ - - - - + @@ -985,13 +1196,9 @@ - - - - + @@ -1002,45 +1209,31 @@ sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="6" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - + - - - - - + - - - + - + - - - - + + @@ -1062,15 +1256,10 @@ - - - - + @@ -1078,13 +1267,9 @@ - - - - + @@ -1098,43 +1283,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1199,13 +1363,9 @@ - - - - + @@ -1215,19 +1375,15 @@ access="${build.javadoc.access}" sourcepath="${topsrc.dir}:${jdk6.src.dir}" source="${build.jsr166e.java.version}" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - - - - + - - + @@ -1257,48 +1412,223 @@ + - - - - - + - + - - + - - - - - + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +