--- jsr166/build.xml 2013/01/14 08:58:47 1.93 +++ jsr166/build.xml 2013/01/19 20:53:34 1.102 @@ -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. ------------------------------------------------------------------------------ @@ -35,10 +49,11 @@ - - - - + + + + + @@ -62,11 +77,13 @@ - - - - - + + + + + + @@ -75,6 +92,24 @@ + + + + + + + + + + + + + + + + + @@ -84,7 +119,7 @@ - + @@ -93,7 +128,7 @@ - + @@ -101,7 +136,7 @@ - + @@ -132,6 +167,12 @@ + + + + + + @@ -140,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}"> + + + @@ -213,7 +263,7 @@ @@ -257,30 +307,6 @@ - - - - - - - - - - - - - - - - - - @@ -504,17 +530,17 @@ - + - + description="Compiles src/jdk7 sources, targeting jdk7"> - + - @@ -533,41 +559,91 @@ - + + + + + - + + + + + + + + - + - - - + + + + + + + + - + + + + - - + + + + + + + - + + + + + - + executable="${javadoc7}"> + + @@ -575,53 +651,30 @@ - - - + - - - - - - - - - - - - - - - - + - + @@ -667,7 +720,7 @@ + description="Builds javadocs to dist dir"> @@ -706,7 +759,7 @@ + description="Builds javadocs to dist dir"> @@ -772,7 +825,7 @@ + description="Builds javadocs to dist dir"> @@ -809,7 +862,7 @@ + description="Builds javadocs to dist dir"> @@ -877,7 +930,7 @@ + description="Builds javadocs with custom tags to build dir"> @@ -914,7 +967,7 @@ + description="Builds javadocs to dist dir"> @@ -937,27 +990,28 @@ - - + classpath="" + includeAntRuntime="false" + includeJavaRuntime="false" + executable="${javac7}" + fork="true"> - + - - - + @@ -980,17 +1034,22 @@ + description="Builds javadocs with custom tags to build dir"> + sourcepath="${topsrc.dir}:${jdk7src.dir}" + executable="${javadoc7}" + additionalparam="-XDignore.symbol.file=true" > + + + + @@ -1017,7 +1076,7 @@ + description="Builds javadocs to dist dir">