--- jsr166/build.xml 2014/02/16 14:25:46 1.151 +++ 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,15 +57,6 @@ - - - - - - - - - @@ -87,17 +89,25 @@ - + + + + + + - - + + - + @@ -123,7 +133,10 @@ - + + + + @@ -157,43 +170,55 @@ - - - - - - - - - - - - + + + + + + + + + + - - + + + + + + + - - - - - - + + - + + + + + + + - + + + @@ -222,11 +248,16 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + - - - + + + + + + + @@ -236,30 +267,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + - - + + + - - + + + - + + @@ -286,10 +356,22 @@ depends="configure-compiler" description="Compiles src/main sources to build dir"> - + + + + + + + + + + + + + + + + + + @@ -317,6 +404,10 @@ + + + + @@ -332,7 +423,7 @@ + + @@ -374,6 +467,10 @@ + + + + @@ -405,8 +502,7 @@ - - @@ -416,7 +512,21 @@ classes="${product.jar}"/> - + + + + + + + + + + + + + + + + + + + + + @@ -450,6 +569,11 @@ + + + + + @@ -481,6 +605,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" fork="true"> @@ -496,6 +621,32 @@ + + + + + + + + + + + + + + + + + + @@ -538,8 +691,9 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" - bootclasspath="${bootclasspath7}" + bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac8}" @@ -562,12 +716,16 @@ + + + + - @@ -579,6 +737,7 @@ + @@ -586,12 +745,13 @@ + - @@ -619,19 +779,18 @@ - + classes="${4jdk7product.jar}"/> @@ -644,7 +803,7 @@ + @@ -699,6 +859,7 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -707,6 +868,7 @@ + @@ -719,6 +881,10 @@ + + + + @@ -732,12 +898,13 @@ + @@ -782,6 +949,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" @@ -792,6 +960,7 @@ + @@ -804,6 +973,10 @@ + + + + @@ -817,12 +990,13 @@ + @@ -870,6 +1044,7 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -878,6 +1053,7 @@ + @@ -890,6 +1066,10 @@ + + + + @@ -903,12 +1083,13 @@ + @@ -955,6 +1136,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -964,6 +1146,7 @@ + @@ -980,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}" @@ -990,6 +1174,7 @@ + @@ -1002,6 +1187,10 @@ + + + + @@ -1015,18 +1204,19 @@ + - @@ -1038,23 +1228,23 @@ classes="${jsr166e.jar}"/> - - + - + - + @@ -1062,7 +1252,7 @@ @@ -1092,6 +1282,13 @@ + + + + + + +