--- jsr166/build.xml 2012/11/18 06:21:11 1.91 +++ 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,26 +119,29 @@ - - - - + + + + + - - - - - + + + + + + - - - - - - + + + + + + + @@ -104,6 +167,12 @@ + + + + + + @@ -112,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}"> + + + - + @@ -185,7 +263,7 @@ @@ -229,43 +307,9 @@ - - - - - - - - - - - - - - - - - - - - - - - Building JSR-166 version ${version} - java.home is ${java.home} - - - - @@ -450,7 +494,7 @@ - @@ -476,26 +520,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depends="configure-compiler" + description="Compiles jsr166x sources to build dir"> - + - + + @@ -509,7 +707,7 @@ - + @@ -518,7 +716,7 @@ + description="Builds javadocs to dist dir"> @@ -557,7 +755,7 @@ + description="Builds javadocs to dist dir"> @@ -574,7 +772,7 @@ - + @@ -582,39 +780,39 @@ - + - + - - - - + - - - + @@ -623,7 +821,7 @@ + description="Builds javadocs to dist dir"> @@ -660,7 +858,7 @@ + description="Builds javadocs to dist dir"> @@ -677,7 +875,7 @@ - + @@ -686,26 +884,28 @@ - + - + - - - + @@ -719,7 +919,7 @@ - + @@ -728,7 +928,7 @@ + description="Builds javadocs with custom tags to build dir"> @@ -765,7 +965,7 @@ + description="Builds javadocs to dist dir"> @@ -782,33 +982,34 @@ - + - - + classpath="" + includeAntRuntime="false" + includeJavaRuntime="false" + executable="${javac7}" + fork="true"> - + - - - + @@ -822,7 +1023,7 @@ - + @@ -831,17 +1032,22 @@ + description="Builds javadocs with custom tags to build dir"> + sourcepath="${topsrc.dir}:${jdk7src.dir}" + executable="${javadoc7}" + additionalparam="-XDignore.symbol.file=true" > + + + + @@ -868,7 +1074,7 @@ + description="Builds javadocs to dist dir"> @@ -885,7 +1091,7 @@ - +