--- jsr166/build.xml 2011/07/15 13:21:07 1.90 +++ jsr166/build.xml 2013/01/20 06:11:07 1.115 @@ -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,24 +45,61 @@ - - - - - - - - + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -59,29 +110,49 @@ - - - - - + + + + + + - - - - - + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -93,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}"> + + + - + @@ -174,7 +258,7 @@ @@ -202,8 +286,6 @@ description="Removes all build products"> - - @@ -218,43 +300,9 @@ - - - - - - - - - - - - - - - - - - - - - - - Building JSR-166 version ${version} - java.home is ${java.home} - - - - @@ -269,36 +317,43 @@ + 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"> - + - - - + @@ -315,8 +370,6 @@ - - --> @@ -336,9 +389,10 @@ errorProperty="junit.failed" failureProperty="junit.failed" dir="${build.reports.dir}" + jvm="${java8}" fork="true"> - + @@ -439,7 +493,7 @@ - @@ -465,105 +519,267 @@ - + - + + + + + - + + + + - + + + + + + + + + + + + + - - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - + + + + + + + + + + + - - + - - + - + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + packagenames="jsr166x.*" + link="${jdkapidocs.url}" + source="5" + bootclasspath="${bootclasspath6}" + sourcepath="${topsrc.dir}:${jdk6src.dir}" + executable="${javadoc7}" + additionalparam="-XDignore.symbol.file=true"/> + + + + + + + + + + + + + + + + + + - + @@ -571,40 +787,38 @@ - + - + - + - - - - + - - - - - - + + @@ -612,32 +826,33 @@ + description="Builds javadocs to dist dir"> - - + + - + + description="Removes all jsr166y build products"> - @@ -648,25 +863,10 @@ - - - - - - - - - - + @@ -675,26 +875,28 @@ - + - + - + - - - + @@ -706,10 +908,8 @@ depends="extra166ycompile" description="Builds library jar from compiled sources"> - - - - + + @@ -717,32 +917,33 @@ + description="Builds javadocs to build dir"> - - + + - + + description="Removes all extra166y build products"> - @@ -753,51 +954,37 @@ - - - - - - - - - - + - - + - + - + - - - + @@ -809,10 +996,8 @@ depends="jsr166ecompile" description="Builds library jar from compiled sources"> - - - - + + @@ -820,61 +1005,46 @@ + description="Builds javadocs to build dir"> - - + + - + + + description="Removes all jsr166e build products"> - - - - - - - - - - - - +