--- jsr166/build.xml 2013/01/20 06:11:07 1.115 +++ jsr166/build.xml 2015/11/05 15:02:34 1.189 @@ -1,4 +1,5 @@ - + ------------------------------------------------------------------------------ @@ -16,19 +17,34 @@ $HOME/jdk/jdk6 $HOME/jdk/jdk7 $HOME/jdk/jdk8 + $HOME/jdk/jdk9 where each of the above is a JDK or a symlink to same, and $HOME/jdk/src/jdk6 $HOME/jdk/src/jdk7 $HOME/jdk/src/jdk8 + $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. ------------------------------------------------------------------------------ - - Run "ant -projecthelp" for full usage information. + + + + + + @@ -39,6 +55,7 @@ + @@ -57,12 +74,12 @@ - - - - + + + + - + @@ -72,41 +89,54 @@ - - - + + + + + + + + + + + + + + + + - - - - - - - - - + + + - - - - - - - - + + + + + + + + + + - + + + + @@ -116,13 +146,20 @@ - - - - - - - + + + + + + + + + + + + + + @@ -133,31 +170,163 @@ - - + + + + + + + + + + - - - - - - - - - - + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -165,14 +334,14 @@ - - - - + + + + @@ -181,84 +350,97 @@ depends="configure-compiler" description="Compiles src/main sources to build dir"> - + + + + + + + + + + + + + - + + - - - - + + + + - - - - - - - - + + - - - - + executable="${javadoc9}"> + + + + + + + + + + + + - - @@ -276,12 +458,14 @@ + + + + - - @@ -290,166 +474,97 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + + - - - - - - - - - - - - - + - + + + + + - + + + + + - - - - - - - - - - - - + + + + + + + + + + + @@ -466,29 +581,6 @@ - - - - - - - - - - - - - - @@ -519,8 +611,33 @@ - + + + + + + + + + + + + + + + + + - + + + + - - - + - + - - + - + + + + + + + + + + + + + + + - + + target="7" + workdir="${build.4jdk7.dir}" + classes="${4jdk7product.jar}"> + + + + + + + + + + + + + + + - @@ -609,36 +761,24 @@ - + - - - - - - - - - - - - - - + @@ -646,31 +786,31 @@ - - + + - - + + - - @@ -679,17 +819,15 @@ - - - - - - + depends="4jdk7clean, 4jdk7jar"> + + + + @@ -707,60 +845,64 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" classpath="" - source="5" bootclasspath="${bootclasspath6}" + source="5" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" fork="true"> - + + - - + + + + - - - + + - + bootclasspath="${bootclasspath6}" + source="5" + executable="${javadoc7}"> + + + - @@ -769,18 +911,14 @@ - - - - - - - + + + @@ -798,6 +936,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" @@ -806,9 +945,11 @@ fork="true"> - + + + @@ -819,36 +960,41 @@ + + + + - - - + + - + bootclasspath="${bootclasspath6}" + source="6" + executable="${javadoc7}"> + + + - @@ -857,17 +1003,14 @@ - - - - - - + + + @@ -885,61 +1028,65 @@ debug="${build.debug}" debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" + bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" - bootclasspath="${jsr166y.jar}:${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" fork="true"> - + + - - + + + + - - - + + - + bootclasspath="${bootclasspath6}" + source="6" + executable="${javadoc7}"> + + + - @@ -948,21 +1095,21 @@ - - - - - - + + + + + + @@ -974,22 +1121,48 @@ debug="${build.debug}" debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" - source="7" + source="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" - executable="${javac7}" + executable="${build.jsr166e.javac}" fork="true"> - + + - + + + + + + + + + + + + + + + + + + + - - - + + - + link="${java.api.url}" + access="${build.javadoc.access}" + sourcepath="${topsrc.dir}:${jdk6src.dir}" + source="${build.jsr166e.java.version}" + executable="${javadoc7}"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + - - + + + + + + + + + + + + +