--- jsr166/build.xml 2014/06/16 18:01:38 1.155 +++ jsr166/build.xml 2015/11/06 00:12:54 1.191 @@ -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,12 +194,15 @@ - - - - - - + + @@ -197,8 +211,14 @@ + + + + + + - + + + @@ -227,11 +248,16 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + - - - + + + + + + + @@ -241,27 +267,59 @@ + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + - - - + + + - + @@ -292,10 +350,22 @@ depends="configure-compiler" description="Compiles src/main sources to build dir"> - + + + + + + + + + + + + + + + @@ -323,6 +395,10 @@ + + + + @@ -350,6 +426,7 @@ + @@ -381,6 +458,10 @@ + + + + @@ -412,8 +493,7 @@ - - @@ -423,7 +503,21 @@ classes="${product.jar}"/> - + + + + + + + + + + + + + + + + + + + + + @@ -457,6 +560,11 @@ + + + + + @@ -488,6 +596,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" fork="true"> @@ -503,6 +612,32 @@ + + + + + + + + + + + + + + + + + + @@ -545,8 +682,9 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" - bootclasspath="${bootclasspath7}" + bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac8}" @@ -569,12 +707,16 @@ + + + + - @@ -586,6 +728,7 @@ + @@ -593,12 +736,13 @@ + - @@ -626,19 +770,18 @@ - + classes="${4jdk7product.jar}"/> @@ -707,6 +850,7 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -715,6 +859,7 @@ + @@ -727,6 +872,10 @@ + + + + @@ -791,6 +940,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" @@ -801,6 +951,7 @@ + @@ -813,6 +964,10 @@ + + + + @@ -880,6 +1035,7 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -888,6 +1044,7 @@ + @@ -900,6 +1057,10 @@ + + + + @@ -966,6 +1127,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -975,6 +1137,7 @@ + @@ -991,8 +1154,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}" @@ -1001,6 +1165,7 @@ + @@ -1013,6 +1178,10 @@ + + + + @@ -1038,7 +1207,7 @@ - @@ -1050,23 +1219,23 @@ classes="${jsr166e.jar}"/> - - + - + - + @@ -1074,7 +1243,7 @@ @@ -1104,6 +1273,13 @@ + + + + + + +