--- jsr166/build.xml 2016/12/17 22:28:20 1.228 +++ jsr166/build.xml 2017/09/25 22:54:09 1.254 @@ -1,5 +1,6 @@ + xmlns:if="ant:if" xmlns:unless="ant:unless" + xmlns:ivy="antlib:org.apache.ivy.ant"> ------------------------------------------------------------------------------ @@ -17,24 +18,21 @@ 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. ------------------------------------------------------------------------------ @@ -133,6 +131,7 @@ + @@ -142,6 +141,7 @@ + @@ -181,15 +181,15 @@ - - - - - - - + + + + + + + - + @@ -232,6 +232,11 @@ + + + + + + - + @@ -263,11 +269,12 @@ jvm="${java@{target}}" fork="true"> - - - - - + + + + + + @@ -289,6 +296,12 @@ + + + + + + @@ -312,7 +325,6 @@ - @@ -334,8 +346,8 @@ workDir="@{workdir}/JTwork"> - - + + @@ -360,27 +372,30 @@ - + + + + + + + + + + + - - - - - - - - - - + @@ -397,12 +412,13 @@ fork="true"> - + + + - @@ -446,14 +462,16 @@ access="${build.javadoc.access}" sourcepath="${src.dir}" classpath="" - executable="${javadoc9}"> + source="9" + executable="${build.main.javadoc}"> - + + @@ -501,18 +519,14 @@ - - - - @@ -533,7 +547,11 @@ + classes="${product.jar}"> + + + + - + description="Runs tck and jtreg tests for src/main"/> @@ -580,30 +597,29 @@ - - + - - - - - + + + + - - - - - + + + + - + + + + - - - + @@ -649,12 +665,11 @@ - + description="Compiles all the perf tests in src/test/loops"> @@ -666,7 +681,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -674,9 +689,7 @@ - - @@ -702,14 +715,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -733,14 +744,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - + - @@ -756,7 +765,6 @@ - @@ -772,6 +780,7 @@ + @@ -789,8 +798,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -833,9 +842,7 @@ - - @@ -851,13 +858,9 @@ + - - - - + - - - + - - - - + @@ -928,14 +922,9 @@ - - - - + + - - + - - + + - - - - - - + @@ -1025,38 +1003,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1095,13 +1053,9 @@ - - - - + @@ -1116,41 +1070,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - + - - + - - - - + @@ -1189,13 +1124,9 @@ - - - - + @@ -1210,42 +1141,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1284,13 +1195,9 @@ - - - - + @@ -1304,43 +1211,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1405,13 +1291,9 @@ - - - - + @@ -1425,16 +1307,11 @@ failonerror = "true"> - - - - + - - + @@ -1464,30 +1340,20 @@ + - - - - + - - + - - + @@ -1508,4 +1374,145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +