--- jsr166/build.xml 2013/01/19 01:37:44 1.99 +++ jsr166/build.xml 2016/03/26 12:35:25 1.201 @@ -1,4 +1,5 @@ - + ------------------------------------------------------------------------------ @@ -16,239 +17,460 @@ $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=... -Djdk$N.src.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.home="$HOME/jdk/src/jigsaw" clean test dist + "docs" target is still broken. ------------------------------------------------------------------------------ - - Run "ant -projecthelp" for full usage information. + + + + + + - + + - - - - - - - + + + + + + + + + - - - - - - - - - - - - + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + - - - - - - - - + + + + + + + + + + - + + + + + - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depends="configure-compiler" + description="Compiles src/main sources to build dir"> + + + + + + + + - + + + + + + destdir="${destdir}" + debug="${build.debug}" + debuglevel="${build.debuglevel}" + deprecation="${build.deprecation}" + classpath="" + includeAntRuntime="false" + includeJavaRuntime="false" + executable="${build.main.javac}" + fork="true"> + + - - + + - - - + + + + - - - - - - + description="Builds javadocs for src/main to dist dir"> - - + + - + access="${build.javadoc.access}" + sourcepath="${src.dir}:${jdk9.src.dir}" + classpath="" + executable="${javadoc9}"> + + + + + + + + + + + + + + + + + - - @@ -266,281 +488,355 @@ + + + + - - - - - + + + + - - - + depends="clean, docs"> + + - - + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - + + - + + + + + - - - Building JSR-166 version ${version} - java.home is ${java.home} + + + + + - - + + + + + + - + + + + - + - - + + - - - + - - - - - + - - - - + - + - + + + + - + - - + - + - + + + + + - - - + - + - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + - + - - - - - - - - - - + - + + + + + + + - - - + - - - + + + + + + + - + - - + + + + + + + + - + + + - - - - + + - - + + + + + + + + + + + + + + + + + - + - + - + - + - - - - + + + - - - + + - + - + + + + - - - - - + - + - - + - + + + + + + + + + + + + + + + - + + target="7" + workdir="${build.4jdk7.dir}" + classes="${4jdk7product.jar}"> + + + + + + + + + + + + + + + - @@ -631,286 +962,257 @@ - + + + + + + + + + + description="Builds javadocs for src/jdk7 to dist dir"> - - + + - - + + - - + description="Removes all 4jdk7 build products"> - - - + + - - - - - - - - - - - + + - - - - - - + depends="configure-compiler" + description="Compiles jsr166x sources to build dir"> - + - + - - + + + + - - - - - - + + + + + + - + description="Builds javadocs to dist dir"> - - + + - + + + + - + description="Removes all jsr166x build products"> - - - - - - - - - - - - - - - - - + + - - + + - + - + - - + - - - + + + - - - - - - + + + + + + - + description="Builds javadocs to dist dir"> - - + + - + + + + - + description="Removes all jsr166y build products"> - - - - - - - - - - - - - - - + + - - + + @@ -918,213 +1220,267 @@ - + - + - - + - - - + + + - - - - - - + + + + + + - + description="Builds javadocs to build dir"> - - + + - + + + + - + description="Removes all extra166y build products"> - - - - - - - - - - - - - - - + + - - + + + + + - + - + + - + + + + + + + + + + + + + + + - - - - + + + + + + - + description="Builds javadocs to build dir"> - - + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + description="Removes all jsr166e build products"> - - - - - + + + depends="jsr166eclean, jsr166edocs"> + + - - - + + + + + - - - - + + + + + +