--- jsr166/build.xml 2011/05/29 16:00:20 1.88 +++ jsr166/build.xml 2013/01/23 06:57:08 1.127 @@ -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. ------------------------------------------------------------------------------ @@ -21,7 +35,7 @@ - + @@ -31,20 +45,62 @@ - - - - - - - - + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -55,25 +111,52 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -81,92 +164,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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"> - - - - - - - - - + description="Builds javadocs for src/main to dist dir"> - - + + - + sourcepath="${src.dir}:${jdk8src.dir}" + classpath="" + executable="${javadoc8}"> - + + + + - - @@ -185,22 +312,17 @@ - - - - - @@ -209,48 +331,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - Building JSR-166 version ${version} - java.home is ${java.home} - - - - - + + + @@ -260,36 +351,42 @@ + destdir="${build.testcases.dir}" + debug="${build.debug}" + debuglevel="${build.debuglevel}" + deprecation="${build.deprecation}" + source="6" + classpath="${junit.jar}" + bootclasspath="@{product.jar}:${bootclasspath6}" + includeAntRuntime="false" + includeJavaRuntime="false" + executable="${javac8}" + fork="true"> - - + - - + + + destdir="${build.testcases.dir}" + debug="${build.debug}" + debuglevel="${build.debuglevel}" + deprecation="${build.deprecation}" + source="6" + classpath="" + bootclasspath="@{product.jar}:${bootclasspath6}" + includeAntRuntime="false" + includeJavaRuntime="false" + executable="${javac8}" + fork="true"> - - - - + - - + + @@ -302,11 +399,9 @@ source="${build.sourcelevel}" fork="true"> - - + - - + --> @@ -327,9 +422,10 @@ errorProperty="junit.failed" failureProperty="junit.failed" dir="${build.reports.dir}" + jvm="${java8}" fork="true"> - + @@ -430,7 +526,7 @@ - @@ -456,307 +552,528 @@ - - - - - - + - + + + + + - + + + + + + + + + + + - + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + - + + + + + + + + - + - + - - + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + - + + + - - + + + + + + + + + + + + + + + + + + + + - + - + - - + - - - + + - - - - - - - + + - + description="Builds javadocs to dist dir"> - - + + - + + + - + description="Removes all jsr166y build products"> - - - - - - - - - - - - - + depends="jsr166yclean, jsr166y-jar"> + + + + + - + - + - - + - - - + + - - - - - - - + + - + description="Builds javadocs to build dir"> - - + + - + + + - + description="Removes all extra166y build products"> - - + + + + + depends="extra166yclean, extra166ydocs"> + + - - + - + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +