--- jsr166/build.xml 2014/02/16 14:25:46 1.151 +++ jsr166/build.xml 2015/11/05 17:18:53 1.190 @@ -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,26 +267,59 @@ + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + - - - + + + - + @@ -286,10 +350,22 @@ depends="configure-compiler" description="Compiles src/main sources to build dir"> - + + + + + + + + + + + + + + + @@ -317,6 +395,10 @@ + + + + @@ -332,7 +414,7 @@ + + @@ -374,6 +458,10 @@ + + + + @@ -405,8 +493,7 @@ - - @@ -416,7 +503,21 @@ classes="${product.jar}"/> - + + + + + + + + + + + + + + + + + + + + + @@ -450,6 +560,11 @@ + + + + + @@ -496,6 +611,32 @@ + + + + + + + + + + + + + + + + + + @@ -538,8 +681,9 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" - bootclasspath="${bootclasspath7}" + bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac8}" @@ -562,12 +706,16 @@ + + + + - @@ -579,6 +727,7 @@ + @@ -586,12 +735,13 @@ + - @@ -619,19 +769,18 @@ - + classes="${4jdk7product.jar}"/> @@ -644,7 +793,7 @@ + @@ -699,6 +849,7 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -707,6 +858,7 @@ + @@ -719,6 +871,10 @@ + + + + @@ -732,12 +888,13 @@ + @@ -782,6 +939,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" @@ -792,6 +950,7 @@ + @@ -804,6 +963,10 @@ + + + + @@ -817,12 +980,13 @@ + @@ -870,6 +1034,7 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -878,6 +1043,7 @@ + @@ -890,6 +1056,10 @@ + + + + @@ -903,12 +1073,13 @@ + @@ -955,6 +1126,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -964,6 +1136,7 @@ + @@ -980,8 +1153,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 +1164,7 @@ + @@ -1002,6 +1177,10 @@ + + + + @@ -1015,18 +1194,19 @@ + - @@ -1038,23 +1218,23 @@ classes="${jsr166e.jar}"/> - - + - + - + @@ -1062,7 +1242,7 @@ @@ -1092,6 +1272,13 @@ + + + + + + +