--- jsr166/build.xml 2016/03/26 06:22:49 1.200 +++ jsr166/build.xml 2017/05/17 00:17:49 1.244 @@ -1,5 +1,6 @@ + xmlns:if="ant:if" xmlns:unless="ant:unless" + xmlns:ivy="antlib:org.apache.ivy.ant"> ------------------------------------------------------------------------------ @@ -7,6 +8,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 +18,25 @@ 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 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 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 9 10 ... - 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. ------------------------------------------------------------------------------ - + @@ -62,7 +61,6 @@ - @@ -133,6 +131,7 @@ + @@ -142,6 +141,7 @@ + @@ -185,9 +185,9 @@ - + - + @@ -219,7 +219,10 @@ - + + @@ -229,6 +232,11 @@ + + + + + + - + @@ -259,10 +269,17 @@ jvm="${java@{target}}" fork="true"> - + + + + + + + + - + @@ -288,9 +305,6 @@ - - - @@ -322,19 +336,15 @@ - - - - - + workDir="@{workdir}/JTwork"> - + + + @@ -360,8 +370,11 @@ + - + + + - - - - - + description="Builds library jar for src/main from compiled sources"> + + - + @@ -432,13 +445,19 @@ + + + + + @@ -446,20 +465,22 @@ - + + + + + - - - - - - - - + - + + + + + + @@ -493,18 +514,14 @@ - - - - @@ -520,31 +537,42 @@ + 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"/> - + - - - - + + + + - + - + + - - - - - + + + + + - - - - - + + + + + - + - - - + @@ -610,8 +635,8 @@ - + + @@ -622,6 +647,7 @@ deprecation="${build.deprecation}" source="${build.sourcelevel}" target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -633,12 +659,11 @@ - + description="Compiles all the perf tests in src/test/loops"> @@ -649,6 +674,7 @@ deprecation="${build.deprecation}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac9}" fork="true"> @@ -657,9 +683,7 @@ - - @@ -682,16 +706,15 @@ bootclasspath="${bootclasspath8}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -712,16 +735,15 @@ bootclasspath="${bootclasspath8}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> - - + - @@ -737,7 +759,6 @@ - @@ -753,6 +774,7 @@ + @@ -770,8 +792,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> + source="8" + executable="${javadoc8}" + failonerror = "true"> @@ -795,8 +818,9 @@ - - + + + @@ -812,9 +836,7 @@ - - @@ -830,13 +852,9 @@ + - - - - + @@ -859,14 +878,10 @@ - - - + @@ -889,15 +905,10 @@ - - - - + @@ -905,14 +916,9 @@ - - - - + + - - + + - - + + - - - - - - + @@ -992,7 +987,8 @@ access="${build.javadoc.access}" sourcepath="${4jdk7src.dir}:${jdk7.src.dir}" classpath="" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> @@ -1001,38 +997,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1070,13 +1047,9 @@ - - - - + @@ -1087,44 +1060,31 @@ sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="5" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - + - - - - - + - - - + - + - + - - + @@ -1146,15 +1107,10 @@ - - - - + @@ -1162,13 +1118,9 @@ - - - - + @@ -1179,45 +1131,31 @@ sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="6" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - + - - - - - + - - - + - + - - - - + + @@ -1239,15 +1178,10 @@ - - - - + @@ -1255,13 +1189,9 @@ - - - - + @@ -1275,43 +1205,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1376,13 +1285,9 @@ - - - - + @@ -1392,19 +1297,15 @@ access="${build.javadoc.access}" sourcepath="${topsrc.dir}:${jdk6.src.dir}" source="${build.jsr166e.java.version}" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - - - - + - - + @@ -1434,30 +1334,20 @@ + - - - - - + - + - - + @@ -1478,4 +1368,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +