--- jsr166/build.xml 2012/11/18 06:21:11 1.91 +++ jsr166/build.xml 2013/01/19 23:58:12 1.108 @@ -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. ------------------------------------------------------------------------------ @@ -32,23 +46,64 @@ - + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -59,26 +114,29 @@ - - - - + + + + + - - - - - + + + + + + - - - - - - + + + + + + + @@ -91,6 +149,8 @@ + + @@ -104,29 +164,40 @@ + + + + + + + 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 +260,7 @@ @@ -229,43 +304,9 @@ - - - - - - - - - - - - - - - - - - - - - - - Building JSR-166 version ${version} - java.home is ${java.home} - - - - @@ -450,7 +491,7 @@ - @@ -476,26 +517,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depends="configure-compiler" + description="Compiles jsr166x sources to build dir"> - + - + + @@ -509,7 +704,7 @@ - + @@ -518,23 +713,25 @@ + description="Builds javadocs to dist dir"> - - + + - @@ -555,26 +752,10 @@ - - - - - - - - - - - + @@ -582,39 +763,39 @@ - + - + - - - - + - - - + @@ -623,23 +804,25 @@ + description="Builds javadocs to dist dir"> - - + + - @@ -659,25 +842,10 @@ - - - - - - - - - - + @@ -686,26 +854,28 @@ - + - + - - - + @@ -719,7 +889,7 @@ - + @@ -728,23 +898,25 @@ + description="Builds javadocs to build dir"> - - + + - @@ -764,51 +936,37 @@ - - - - - - - - - - + - - + - + - - - + @@ -822,7 +980,7 @@ - + @@ -831,23 +989,25 @@ + description="Builds javadocs to build dir"> - - + + - + source="7" + sourcepath="${topsrc.dir}:${jdk7src.dir}" + executable="${javadoc7}" + additionalparam="-XDignore.symbol.file=true" > + @@ -861,31 +1021,15 @@ - - - - - - - - - - - +