--- jsr166/build.xml 2013/01/19 23:58:12 1.108 +++ jsr166/build.xml 2015/12/17 23:55:06 1.195 @@ -1,4 +1,5 @@ - + ------------------------------------------------------------------------------ @@ -16,57 +17,69 @@ $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. + + + + + + - + + - - - - - - + + + + - - - - - - - - + + + + + + @@ -76,41 +89,54 @@ - - - + + + + + + + + + + + + + + + + - - - - - - - - - + + + - - - - - - - - + + + + + + + + + + - + + + + @@ -119,45 +145,194 @@ - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -165,14 +340,14 @@ - - - - + + + + @@ -181,86 +356,100 @@ depends="configure-compiler" description="Compiles src/main sources to build dir"> - + + + + + + + + + + + + + - + + - - + + - - - + + + + - - - - - - - - + + - - - - + executable="${javadoc9}"> + + + + + + + + + + + + - - @@ -278,176 +467,113 @@ + + + + - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + + - + - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - + + + + + - + + + + + + + + + + + @@ -464,29 +590,6 @@ - - - - - - - - - - - - - - @@ -502,6 +605,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" fork="true"> @@ -517,8 +621,33 @@ - + + + + + + + + + + + + + + + + + - + + + + - - - - - + - + - - + - + + + + + + + + + + + + + + + - + + target="7" + workdir="${build.4jdk7.dir}" + classes="${4jdk7product.jar}"> + + + + + + + + + + + + + + + - @@ -609,154 +773,165 @@ - + + + + + + + + + - - + + - - + + - - + description="Removes all 4jdk7 build products"> - - - - - - + depends="4jdk7clean, 4jdk7jar"> + + + + - + - + - + + - - - - - + + + + + - - - + + - + bootclasspath="${bootclasspath6}" + source="5" + executable="${javadoc7}"> + + + - + description="Removes all jsr166x build products"> - - - - - - - - + + + @@ -766,14 +941,15 @@ depends="configure-compiler" description="Compiles jsr166y sources"> - + - + + + @@ -793,60 +971,59 @@ depends="jsr166ycompile" description="Builds library jar from compiled sources"> - - - + + + + + - - - + + - + bootclasspath="${bootclasspath6}" + source="6" + executable="${javadoc7}"> + + + - + description="Removes all jsr166y build products"> - - - - - - - + + + @@ -857,180 +1034,264 @@ depends="configure-compiler, jsr166yjar" description="Compiles extra166y sources"> - + - + + - - - - - + + + + + - - - + + - + bootclasspath="${bootclasspath6}" + source="6" + executable="${javadoc7}"> + + + - + description="Removes all extra166y build products"> - - - - - - - + + + + + + - + - + + - + + + + + + + + + + + + + + + - - - + + + + + - - - + + - + link="${java.api.url}" + access="${build.javadoc.access}" + sourcepath="${topsrc.dir}:${jdk6src.dir}" + source="${build.jsr166e.java.version}" + executable="${javadoc7}"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + description="Removes all jsr166e build products"> - - - + + + + + - - + + + + + + + + + + + + +