--- jsr166/build.xml 2016/03/26 15:10:14 1.202 +++ jsr166/build.xml 2017/07/03 20:36:55 1.249 @@ -1,5 +1,6 @@ + xmlns:if="ant:if" xmlns:unless="ant:unless" + xmlns:ivy="antlib:org.apache.ivy.ant"> ------------------------------------------------------------------------------ @@ -17,28 +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 2016-03, the sources in src/main are for jdk9+ only. The "docs" - target is currently broken. + As of 2016-03, the sources in src/main are for jdk9+ only. ------------------------------------------------------------------------------ - + @@ -63,7 +61,6 @@ - @@ -134,6 +131,7 @@ + @@ -143,6 +141,7 @@ + @@ -186,9 +185,9 @@ - + - + @@ -233,6 +232,11 @@ + + + + + + - + @@ -263,10 +269,17 @@ jvm="${java@{target}}" fork="true"> - + + + + + + + + - + @@ -283,6 +296,12 @@ + + + + + + @@ -292,9 +311,6 @@ - - - @@ -309,7 +325,6 @@ - @@ -326,19 +341,15 @@ - - - - - + workDir="@{workdir}/JTwork"> - + + + @@ -361,27 +372,30 @@ - + + + + + + + + + + + - - - - - - - - - - + @@ -393,34 +407,32 @@ classpath="" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${build.main.javac}" fork="true"> - + + + - - - - - + description="Builds library jar for src/main from compiled sources"> + + - + @@ -438,34 +450,42 @@ + + + + + + source="9" + executable="${build.main.javadoc}"> - + + + + + - - - - - - - - + - + + + + + + @@ -499,18 +519,14 @@ - - - - @@ -526,31 +542,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"/> - + - - - - + + + + - + - + - - + - - + @@ -592,9 +616,7 @@ - - - + @@ -616,8 +638,8 @@ - + + @@ -628,6 +650,7 @@ deprecation="${build.deprecation}" source="${build.sourcelevel}" target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -639,12 +662,11 @@ - + description="Compiles all the perf tests in src/test/loops"> @@ -655,7 +677,8 @@ deprecation="${build.deprecation}" includeAntRuntime="false" includeJavaRuntime="false" - executable="${javac9}" + encoding="ASCII" + executable="${build.main.javac}" fork="true"> @@ -663,9 +686,7 @@ - - @@ -688,16 +709,15 @@ bootclasspath="${bootclasspath8}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -718,16 +738,15 @@ bootclasspath="${bootclasspath8}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> - - + - @@ -743,7 +762,6 @@ - @@ -759,6 +777,7 @@ + @@ -776,8 +795,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> + source="8" + executable="${javadoc8}" + failonerror = "true"> @@ -801,8 +821,9 @@ - - + + + @@ -818,9 +839,7 @@ - - @@ -836,13 +855,9 @@ + - - - - + @@ -865,14 +881,10 @@ - - - + @@ -895,15 +908,10 @@ - - - - + @@ -911,14 +919,9 @@ - - - - + + - - + + - - + + - - - - - - + @@ -998,7 +990,8 @@ access="${build.javadoc.access}" sourcepath="${4jdk7src.dir}:${jdk7.src.dir}" classpath="" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> @@ -1007,38 +1000,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1076,13 +1050,9 @@ - - - - + @@ -1093,44 +1063,31 @@ sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="5" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - + - - - - - + - - - + - + - + - - + @@ -1152,15 +1110,10 @@ - - - - + @@ -1168,13 +1121,9 @@ - - - - + @@ -1185,45 +1134,31 @@ sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="6" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - + - - - - - + - - - + - + - - - - + + @@ -1245,15 +1181,10 @@ - - - - + @@ -1261,13 +1192,9 @@ - - - - + @@ -1281,43 +1208,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1382,13 +1288,9 @@ - - - - + @@ -1398,19 +1300,15 @@ access="${build.javadoc.access}" sourcepath="${topsrc.dir}:${jdk6.src.dir}" source="${build.jsr166e.java.version}" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - - - - + - - + @@ -1440,30 +1337,20 @@ + - - - - - + - + - - + @@ -1484,4 +1371,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +