--- jsr166/build.xml 2016/04/18 15:30:49 1.210 +++ jsr166/build.xml 2017/03/26 10:40:29 1.239 @@ -1,5 +1,6 @@ + xmlns:if="ant:if" xmlns:unless="ant:unless" + xmlns:ivy="antlib:org.apache.ivy.ant"> ------------------------------------------------------------------------------ @@ -17,24 +18,23 @@ 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 7 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 +63,6 @@ - @@ -134,6 +133,7 @@ + @@ -143,6 +143,7 @@ + @@ -188,7 +189,7 @@ - + @@ -233,6 +234,11 @@ + + + + + + - + @@ -263,10 +271,17 @@ jvm="${java@{target}}" fork="true"> - + + + + + + + + - + @@ -292,9 +307,6 @@ - - - @@ -326,15 +338,15 @@ - + workDir="@{workdir}/JTwork"> - + + + @@ -360,7 +372,10 @@ + depends="dist, 4jdk8dist" description="Builds all public jars and docs"/> - + - + @@ -409,9 +425,10 @@ - + + - + @@ -429,12 +446,17 @@ + + + + + @@ -443,20 +465,21 @@ - + + + + - - - - - - + - - - + + + + + + @@ -522,7 +545,11 @@ + classes="${product.jar}"> + + + + + + + + + + @@ -583,9 +617,7 @@ - - - + @@ -619,6 +651,7 @@ deprecation="${build.deprecation}" source="${build.sourcelevel}" target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -646,6 +679,7 @@ deprecation="${build.deprecation}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac9}" fork="true"> @@ -679,6 +713,7 @@ bootclasspath="${bootclasspath8}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> @@ -709,6 +744,7 @@ bootclasspath="${bootclasspath8}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> @@ -716,7 +752,7 @@ - + @@ -750,6 +786,7 @@ + @@ -793,8 +830,9 @@ - - + + + @@ -848,6 +886,7 @@ bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -878,6 +917,7 @@ bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> @@ -928,6 +968,7 @@ + @@ -1045,6 +1086,7 @@ target="5" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -1138,6 +1180,7 @@ bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -1232,6 +1275,7 @@ target="6" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -1480,4 +1524,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +