--- jsr166/build.xml 2016/03/26 16:49:22 1.203 +++ jsr166/build.xml 2017/12/18 21:07:18 1.259 @@ -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 @@ + @@ -182,15 +181,17 @@ - - - - - - - + + + + + + + + - + + @@ -198,6 +199,7 @@ + @@ -233,6 +235,11 @@ + + + + + + - + @@ -263,10 +272,17 @@ jvm="${java@{target}}" fork="true"> - + + + + + + + + - + @@ -283,6 +299,12 @@ + + + + + + @@ -292,9 +314,6 @@ - - - @@ -309,11 +328,12 @@ - + + @@ -326,25 +346,22 @@ - - - - - + workDir="@{workdir}/JTwork"> - + + - + + + @@ -361,27 +378,30 @@ - + + + + + + + + + + + - - - - - - - - - - + @@ -393,34 +413,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 +456,42 @@ + + + + + + source="9" + executable="${build.main.javadoc}"> - + + + + + - + - - - - - - - - + + + + + + @@ -499,18 +525,14 @@ - - - - @@ -526,31 +548,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"/> - + - - - - + + + + - + - + - - + - - + + + + - - - + @@ -628,6 +659,7 @@ deprecation="${build.deprecation}" source="${build.sourcelevel}" target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -639,12 +671,11 @@ - + description="Compiles all the perf tests in src/test/loops"> @@ -655,7 +686,8 @@ deprecation="${build.deprecation}" includeAntRuntime="false" includeJavaRuntime="false" - executable="${javac9}" + encoding="ASCII" + executable="${build.main.javac}" fork="true"> @@ -663,9 +695,7 @@ - - @@ -688,16 +718,15 @@ bootclasspath="${bootclasspath8}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -718,16 +747,15 @@ bootclasspath="${bootclasspath8}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> - - + - @@ -743,7 +771,6 @@ - @@ -759,6 +786,7 @@ + @@ -776,8 +804,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> + source="8" + executable="${javadoc8}" + failonerror = "true"> @@ -801,8 +830,9 @@ - - + + + @@ -818,9 +848,7 @@ - - @@ -836,13 +864,9 @@ + - - - - + @@ -865,14 +890,10 @@ - - - + @@ -895,15 +917,10 @@ - - - - + @@ -911,14 +928,9 @@ - - - - + + - - + - - + + - - - - - - + @@ -998,7 +999,8 @@ access="${build.javadoc.access}" sourcepath="${4jdk7src.dir}:${jdk7.src.dir}" classpath="" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> @@ -1007,38 +1009,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1076,13 +1059,9 @@ - - - - + @@ -1093,44 +1072,31 @@ sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="5" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - + - - - - - + - - - + - + - + - - + @@ -1152,15 +1119,10 @@ - - - - + @@ -1168,13 +1130,9 @@ - - - - + @@ -1185,45 +1143,31 @@ sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="6" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - + - - - - - + - - - + - + - - - - + + @@ -1245,15 +1190,10 @@ - - - - + @@ -1261,13 +1201,9 @@ - - - - + @@ -1281,43 +1217,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1382,13 +1297,9 @@ - - - - + @@ -1398,19 +1309,15 @@ access="${build.javadoc.access}" sourcepath="${topsrc.dir}:${jdk6.src.dir}" source="${build.jsr166e.java.version}" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - - - - + - - + @@ -1440,30 +1346,20 @@ + - - - - + - - + - - + @@ -1484,4 +1380,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +