--- jsr166/build.xml 2011/07/15 13:21:07 1.90 +++ jsr166/build.xml 2013/01/19 21:35:40 1.103 @@ -8,6 +8,20 @@ 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 + 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 + where each of the above is a complete JDK source tree + (e.g. mercurial forest) or a symlink to same. ------------------------------------------------------------------------------ @@ -34,6 +48,13 @@ + + + + + + + @@ -50,6 +71,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -59,13 +119,16 @@ - - - - + + + + + + + @@ -73,6 +136,7 @@ + @@ -82,6 +146,16 @@ + + + + + + + + + + @@ -93,6 +167,12 @@ + + + + + + @@ -101,21 +181,26 @@ description="Builds all public jars and docs"/> + 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="${javac8}" + fork="true"> + + - + sourcepath="${src.dir}:${jdk8src.dir}" + classpath="" + executable="${javadoc8}"> + + + - + @@ -174,7 +263,7 @@ @@ -218,41 +307,17 @@ - - - - - - - - - - - - - - - - - - - + - - Building JSR-166 version ${version} - java.home is ${java.home} + + + - + - @@ -465,11 +530,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -507,14 +720,14 @@ + description="Builds javadocs to dist dir"> @@ -546,14 +759,14 @@ + description="Builds javadocs to dist dir"> @@ -571,32 +784,32 @@ - + - + - - - - + - - @@ -612,14 +825,14 @@ + description="Builds javadocs to dist dir"> @@ -649,14 +862,14 @@ + description="Builds javadocs to dist dir"> @@ -675,26 +888,28 @@ - + - + - - - + @@ -717,14 +932,14 @@ + description="Builds javadocs with custom tags to build dir"> @@ -754,14 +969,14 @@ + description="Builds javadocs to dist dir"> @@ -777,27 +992,28 @@ - - + classpath="" + includeAntRuntime="false" + includeJavaRuntime="false" + executable="${javac7}" + fork="true"> - + - - - + @@ -820,17 +1036,22 @@ + description="Builds javadocs with custom tags to build dir"> + sourcepath="${topsrc.dir}:${jdk7src.dir}" + executable="${javadoc7}" + additionalparam="-XDignore.symbol.file=true" > + + + + @@ -857,14 +1078,14 @@ + description="Builds javadocs to dist dir">