--- jsr166/build.xml 2014/07/08 00:01:39 1.157 +++ jsr166/build.xml 2015/12/17 23:55:06 1.195 @@ -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 @@ - + + + + @@ -167,7 +175,7 @@ - + @@ -186,12 +194,15 @@ - - - - - - + + @@ -200,8 +211,14 @@ + + + + + + - + + + @@ -230,11 +248,16 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + - - - + + + + + + + @@ -244,31 +267,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + - - + + + - - + + + - + + @@ -295,10 +356,22 @@ depends="configure-compiler" description="Compiles src/main sources to build dir"> - + + + + + + + + + + + + + + + + + + @@ -326,6 +404,10 @@ + + + + @@ -353,6 +435,7 @@ + @@ -384,6 +467,10 @@ + + + + @@ -415,8 +502,7 @@ - - @@ -426,7 +512,21 @@ classes="${product.jar}"/> - + + + + + + + + + + + + + + + + + + + + + @@ -460,6 +569,11 @@ + + + + + @@ -491,6 +605,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" fork="true"> @@ -506,6 +621,32 @@ + + + + + + + + + + + + + + + + + + @@ -548,8 +691,9 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" - bootclasspath="${bootclasspath7}" + bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac8}" @@ -572,12 +716,16 @@ + + + + - @@ -589,6 +737,7 @@ + @@ -596,12 +745,13 @@ + - @@ -629,19 +779,18 @@ - + classes="${4jdk7product.jar}"/> @@ -710,6 +859,7 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -718,6 +868,7 @@ + @@ -730,6 +881,10 @@ + + + + @@ -794,6 +949,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" @@ -804,6 +960,7 @@ + @@ -816,6 +973,10 @@ + + + + @@ -883,6 +1044,7 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -891,6 +1053,7 @@ + @@ -903,6 +1066,10 @@ + + + + @@ -969,6 +1136,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -978,6 +1146,7 @@ + @@ -994,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}" @@ -1004,6 +1174,7 @@ + @@ -1016,6 +1187,10 @@ + + + + @@ -1041,7 +1216,7 @@ - @@ -1053,23 +1228,23 @@ classes="${jsr166e.jar}"/> - - + - + - + @@ -1077,7 +1252,7 @@ @@ -1107,6 +1282,13 @@ + + + + + + +