--- jsr166/build.xml 2017/03/26 10:40:29 1.239 +++ jsr166/build.xml 2017/09/28 01:17:47 1.255 @@ -18,12 +18,10 @@ itself. Because the JDK version matters and because different targets require different JDKs, we assume that users have created a hierarchy containing: - $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/jdk7 $HOME/jdk/src/jdk8 $HOME/jdk/src/jdk9 $HOME/jdk/src/jdk10 @@ -32,7 +30,7 @@ Alternatively, define ant variables thus: ant -Djdk$N.home=... -Djdk$N.src.home=... - for $N in 7 8 9 10 ... + for $N in 8 9 10 ... As of 2016-03, the sources in src/main are for jdk9+ only. ------------------------------------------------------------------------------ @@ -183,15 +181,15 @@ - - - - - - - + + + + + + + - + @@ -298,6 +296,12 @@ + + + + + + @@ -321,11 +325,12 @@ - + + @@ -343,16 +348,17 @@ workDir="@{workdir}/JTwork"> - - + + - + + @@ -369,30 +375,30 @@ - + + + + + + + + + + - depends="dist, 4jdk8dist" - description="Builds all public jars and docs"/> - - - - - - - - - - + @@ -409,12 +415,13 @@ fork="true"> - + - + + @@ -458,13 +465,15 @@ access="${build.javadoc.access}" sourcepath="${src.dir}" classpath="" - executable="${javadoc9}"> + source="9" + executable="${build.main.javadoc}"> + @@ -513,18 +522,14 @@ - - - - @@ -584,8 +589,7 @@ - + description="Runs tck and jtreg tests for src/main"/> @@ -596,22 +600,23 @@ - - + - - - - - + + + + - - - - - + + + + - + + + + @@ -663,12 +668,11 @@ - + description="Compiles all the perf tests in src/test/loops"> @@ -680,7 +684,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -688,9 +692,7 @@ - - @@ -716,14 +718,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -747,14 +747,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -770,7 +768,6 @@ - @@ -804,8 +801,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -848,9 +845,7 @@ - - @@ -866,13 +861,9 @@ + - - - - + - - - + - - - - + @@ -943,14 +925,9 @@ - - - - + - - + - - + + - - - - - - + @@ -1041,38 +1006,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1111,13 +1056,9 @@ - - - - + @@ -1132,41 +1073,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - + - - + - - - - + @@ -1205,13 +1127,9 @@ - - - - + @@ -1226,42 +1144,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1300,13 +1198,9 @@ - - - - + @@ -1320,43 +1214,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1421,13 +1294,9 @@ - - - - + @@ -1441,16 +1310,11 @@ failonerror = "true"> - - - - + - - + @@ -1480,30 +1343,20 @@ + - - - - + - - + - - + @@ -1526,11 +1379,11 @@ + + description="Run errorprone over jsr166 source code (experimental)"> @@ -1549,21 +1402,17 @@ fork="true"> - - - - - - - - - - + @@ -1583,30 +1432,57 @@ workdir="${build.dir}" classes="${product.jar}"> - - - - - - - - - - - + + + + + + + + + + + + +