--- jsr166/build.xml 2011/07/15 13:21:07 1.90 +++ jsr166/build.xml 2013/01/19 22:23:57 1.106 @@ -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,29 +119,43 @@ - - - - + + + + + + - - - - - + + + + + + - - - - - - + + + + + + + + + + + + + + + + + @@ -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,43 +307,9 @@ - - - - - - - - - - - - - - - - - - - - - - - Building JSR-166 version ${version} - java.home is ${java.home} - - - - @@ -439,7 +494,7 @@ - @@ -465,26 +520,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depends="configure-compiler" + description="Compiles jsr166x sources to build dir"> - + - + + @@ -498,7 +707,7 @@ - + @@ -507,14 +716,14 @@ + description="Builds javadocs to dist dir"> @@ -546,14 +755,14 @@ + description="Builds javadocs to dist dir"> @@ -563,7 +772,7 @@ - + @@ -571,39 +780,39 @@ - + - + - - - - + - - - + @@ -612,14 +821,14 @@ + description="Builds javadocs to dist dir"> @@ -649,14 +858,14 @@ + description="Builds javadocs to dist dir"> @@ -666,7 +875,7 @@ - + @@ -675,26 +884,28 @@ - + - + - - - + @@ -708,7 +919,7 @@ - + @@ -717,14 +928,14 @@ + description="Builds javadocs with custom tags to build dir"> @@ -754,14 +965,14 @@ + description="Builds javadocs to dist dir"> @@ -771,33 +982,34 @@ - + - - + classpath="" + includeAntRuntime="false" + includeJavaRuntime="false" + executable="${javac7}" + fork="true"> - + - - - + @@ -811,7 +1023,7 @@ - + @@ -820,17 +1032,22 @@ + description="Builds javadocs with custom tags to build dir"> + sourcepath="${topsrc.dir}:${jdk7src.dir}" + executable="${javadoc7}" + additionalparam="-XDignore.symbol.file=true" > + + + + @@ -857,14 +1074,14 @@ + description="Builds javadocs to dist dir"> @@ -874,7 +1091,7 @@ - +