--- jsr166/build.xml 2013/01/15 01:15:02 1.97 +++ jsr166/build.xml 2016/01/02 21:02:44 1.196 @@ -1,4 +1,5 @@ - + ------------------------------------------------------------------------------ @@ -8,232 +9,447 @@ User-specific settings are read from user.properties. See user.properties.sample for an explanation of some useful settings. + + The repository contains all dependencies except for ant and the JDK + itself. Because the JDK version matters and because different + targets require different JDKs, we assume that users have created a + hierarchy containing: + $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. + + + + + + - + + - - - - - - - + + + + - - - - - - - - - - - - + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + - - - - - - - - + + + + + + + + + + - + + + + - + - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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}:${jdk9src.dir}" + classpath="" + executable="${javadoc9}"> + + + + + + + + + + + + - - @@ -251,210 +467,113 @@ + + + + - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - Building JSR-166 version ${version} - java.home is ${java.home} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + + - - - - - - - - - - - - - + - + + + + + - + + + + + - - - - - - - - - - - - + + + + + + + + + + + @@ -471,34 +590,11 @@ - - - - - - - - - - - - - - - @@ -509,6 +605,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" fork="true"> @@ -524,21 +621,47 @@ - + + + + + + + + + + + + - + + + + + + description="Compiles src/jdk7 sources, targeting jdk7"> - + - - + + + + - - - - - + - + - - + - + + + + + + + + + + + + + + + - + + + target="7" + workdir="${build.4jdk7.dir}" + classes="${4jdk7product.jar}"> + + + + + + + + + + + + + + + - + - + - + - + + + + + + + + - - - + - + + + - + executable="${javadoc7}"> + + + - - + - - - + - - - + + - - - - - - - - - - - + + - - - - - - + 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"> - - - - - - - - - - - - - - - + + - - + + @@ -906,213 +1031,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"> + + - - - + + + + + - - - - + + + + + +