--- jsr166/build.xml 2013/01/14 08:58:47 1.93 +++ jsr166/build.xml 2015/09/08 16:54:43 1.176 @@ -8,11 +8,34 @@ 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 ... ------------------------------------------------------------------------------ - - Run "ant -projecthelp" for full usage information. + + + + + @@ -21,105 +44,151 @@ - + + + + + + + + - - - - - - + + + + - - - - - - - - - - - - + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + - + - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + @@ -127,93 +196,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depends="configure-compiler" + description="Compiles src/main sources to build dir"> + destdir="${build.classes.dir}" + 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}"> + + + + + + + + + + + - - @@ -232,208 +417,102 @@ - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - Building JSR-166 version ${version} - java.home is ${java.home} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - + + - + + + + + - - - + + + + + - + + + - + + - - - - - - - - - - - - - + - + + + + + - - - - - - - - - - - - + + + + + - + + + + + + @@ -451,34 +530,11 @@ - - - - - - - - - - - - - - - @@ -504,330 +560,393 @@ - + + + + + + + + + + + + + + + - + + + description="Compiles src/jdk7 sources, targeting jdk7"> - + - - + + + - + + - - - + - - - + + + + + + + + - + + + - - + - - - - - + + + + + + + + + + + + + + + + + + - + + + + - + + + + - + - + + + + + + + - + - - - + - + + + - - + 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"> - - - - - - - - - - - - - - - + + - - + + @@ -835,207 +954,256 @@ - + - + - - + - - - + + + - - - - - - + + - + description="Builds javadocs to build dir"> - - + + - + + + + - + description="Removes all extra166y build products"> - - - - - - - - - - - - - - - + + - - + + + + - + - + - - + - - - + + + - + + + + + + + + + + + + + + + - - - - + + - + description="Builds javadocs to build dir"> - - + + - + + + + - + + - - - - - - + + + + + + + - + + + + + + + + + + - - - + + - + + + + + + + + + + + + - + + + + + + + + + + + + +