--- jsr166/build.xml 2014/06/25 08:29:01 1.156 +++ jsr166/build.xml 2015/12/11 23:58:52 1.193 @@ -1,4 +1,5 @@ - + ------------------------------------------------------------------------------ @@ -24,6 +25,15 @@ $HOME/jdk/src/jdk9 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=... + for $N in 6 7 8 9 ... + + As of 2015-09, there is incomplete hacky support for jigsaw + Build for jigsaw using something like: + ant -Djdk9.home="$HOME/jdk/jigsaw" -Djdk9.src.dir="$HOME/jdk/src/jigsaw" clean test dist + "docs" target is still broken. ------------------------------------------------------------------------------ @@ -34,6 +44,7 @@ + @@ -46,20 +57,6 @@ - - - - - - - @@ -92,17 +89,25 @@ - + + + + + + - - + + - + @@ -128,7 +133,10 @@ - + + + + @@ -166,14 +174,12 @@ - - - - + + - + - + @@ -188,12 +194,15 @@ - - - - - - + + @@ -202,8 +211,14 @@ + + + + + + - + + + @@ -232,11 +248,16 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + - - - + + + + + + + @@ -246,27 +267,61 @@ + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + - - + + + - - + + + - + @@ -297,10 +352,22 @@ depends="configure-compiler" description="Compiles src/main sources to build dir"> - + + + + + + + + + + + + + + + @@ -328,6 +397,10 @@ + + + + @@ -355,6 +428,7 @@ + @@ -386,6 +460,10 @@ + + + + @@ -417,8 +495,7 @@ - - @@ -428,7 +505,21 @@ classes="${product.jar}"/> - + + + + + + + + + + + + + + + + + + + + + @@ -462,6 +562,11 @@ + + + + + @@ -493,6 +598,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" fork="true"> @@ -508,6 +614,32 @@ + + + + + + + + + + + + + + + + + + @@ -550,8 +684,9 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" - bootclasspath="${bootclasspath7}" + bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac8}" @@ -574,12 +709,16 @@ + + + + - @@ -591,6 +730,7 @@ + @@ -598,12 +738,13 @@ + - @@ -631,19 +772,18 @@ - + classes="${4jdk7product.jar}"/> @@ -712,6 +852,7 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -720,6 +861,7 @@ + @@ -732,6 +874,10 @@ + + + + @@ -796,6 +942,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" @@ -806,6 +953,7 @@ + @@ -818,6 +966,10 @@ + + + + @@ -885,6 +1037,7 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -893,6 +1046,7 @@ + @@ -905,6 +1059,10 @@ + + + + @@ -971,6 +1129,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -980,6 +1139,7 @@ + @@ -996,8 +1156,9 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" - bootclasspath="${bootclasspath7}" + bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac8}" @@ -1006,6 +1167,7 @@ + @@ -1018,6 +1180,10 @@ + + + + @@ -1043,7 +1209,7 @@ - @@ -1055,23 +1221,23 @@ classes="${jsr166e.jar}"/> - - + - + - + @@ -1079,7 +1245,7 @@ @@ -1109,6 +1275,13 @@ + + + + + + +