--- jsr166/build.xml 2016/08/30 02:41:07 1.217 +++ 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 @@ + @@ -233,6 +234,11 @@ + + + + + + - + @@ -263,7 +271,12 @@ jvm="${java@{target}}" fork="true"> - + + + + + + @@ -294,9 +307,6 @@ - - - @@ -328,15 +338,15 @@ - + workDir="@{workdir}/JTwork"> - + + + @@ -362,7 +372,10 @@ + depends="dist, 4jdk8dist" description="Builds all public jars and docs"/> - + - + @@ -432,8 +446,11 @@ - - + + + + + - + + + + - - - - - - - - + - + + + + + + @@ -527,7 +545,11 @@ + classes="${product.jar}"> + + + + - - - + @@ -631,6 +651,7 @@ deprecation="${build.deprecation}" source="${build.sourcelevel}" target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -658,6 +679,7 @@ deprecation="${build.deprecation}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac9}" fork="true"> @@ -691,6 +713,7 @@ bootclasspath="${bootclasspath8}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> @@ -721,6 +744,7 @@ bootclasspath="${bootclasspath8}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> @@ -728,7 +752,7 @@ - + @@ -762,6 +786,7 @@ + @@ -805,8 +830,9 @@ - - + + + @@ -860,6 +886,7 @@ bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -890,6 +917,7 @@ bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> @@ -940,6 +968,7 @@ + @@ -1057,6 +1086,7 @@ target="5" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -1150,6 +1180,7 @@ bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -1244,6 +1275,7 @@ target="6" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -1492,4 +1524,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +