--- jsr166/build.xml 2014/02/25 16:33:15 1.152 +++ jsr166/build.xml 2016/01/02 21:02:44 1.196 @@ -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,15 +57,6 @@ - - - - - - - - - @@ -87,17 +89,25 @@ - + + + + + + - - + + - + @@ -123,7 +133,10 @@ - + + + + @@ -161,14 +174,12 @@ - - - - + + - + - + @@ -183,22 +194,31 @@ - - - - - - + + - + + + + + + + - + + + @@ -227,11 +248,16 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + - - - + + + + + + + @@ -241,30 +267,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + - - + + + - - + + + - + + @@ -291,10 +356,22 @@ depends="configure-compiler" description="Compiles src/main sources to build dir"> - + + + + + + + + + + + + + + + + + + @@ -322,6 +404,10 @@ + + + + @@ -349,6 +435,7 @@ + @@ -380,6 +467,10 @@ + + + + @@ -411,8 +502,7 @@ - - @@ -422,7 +512,21 @@ classes="${product.jar}"/> - + + + + + + + + + + + + + + + + + + + + + @@ -456,6 +569,11 @@ + + + + + @@ -487,6 +605,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" fork="true"> @@ -502,6 +621,32 @@ + + + + + + + + + + + + + + + + + + @@ -544,8 +691,9 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" - bootclasspath="${bootclasspath7}" + bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac8}" @@ -568,12 +716,16 @@ + + + + - @@ -585,6 +737,7 @@ + @@ -592,12 +745,13 @@ + - @@ -625,19 +779,18 @@ - + classes="${4jdk7product.jar}"/> @@ -706,6 +859,7 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -714,6 +868,7 @@ + @@ -726,6 +881,10 @@ + + + + @@ -790,6 +949,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" @@ -800,6 +960,7 @@ + @@ -812,6 +973,10 @@ + + + + @@ -879,6 +1044,7 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -887,6 +1053,7 @@ + @@ -899,6 +1066,10 @@ + + + + @@ -965,6 +1136,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -974,6 +1146,7 @@ + @@ -990,8 +1163,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}" @@ -1000,6 +1174,7 @@ + @@ -1012,6 +1187,10 @@ + + + + @@ -1037,7 +1216,7 @@ - @@ -1049,23 +1228,23 @@ classes="${jsr166e.jar}"/> - - + - + - + @@ -1073,7 +1252,7 @@ @@ -1103,6 +1282,13 @@ + + + + + + +