--- jsr166/build.xml 2011/06/10 18:07:30 1.89 +++ jsr166/build.xml 2013/01/28 22:00:34 1.130 @@ -8,11 +8,27 @@ 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. ------------------------------------------------------------------------------ - - Run "ant -projecthelp" for full usage information. + + + + @@ -21,30 +37,73 @@ - + + - - - - - - - - + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -55,25 +114,52 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -81,93 +167,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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"> - - + + - + access="${build.javadoc.access}" + sourcepath="${src.dir}:${jdk8src.dir}" + classpath="" + executable="${javadoc8}"> - + + + + - - @@ -186,22 +316,17 @@ - - - - - @@ -210,49 +335,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - Building JSR-166 version ${version} - java.home is ${java.home} - - - - - + + + @@ -262,36 +355,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"> - - + - - + + @@ -304,11 +403,9 @@ source="${build.sourcelevel}" fork="true"> - - + - - + --> @@ -329,9 +426,10 @@ errorProperty="junit.failed" failureProperty="junit.failed" dir="${build.reports.dir}" + jvm="${java8}" fork="true"> - + @@ -432,7 +530,7 @@ - @@ -458,313 +556,543 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depends="configure-compiler" + description="Compiles jsr166x sources to build dir"> - + - + - - + + + - - - - - - + + - + description="Builds javadocs to dist dir"> - - + + - + + + - + description="Removes all jsr166x build products"> - - - - - - - - - - - - + + - - + + - + - + - - + - - - + + - - - - - - + + - + description="Builds javadocs to dist dir"> - - + + - + + + - + description="Removes all jsr166y build products"> - - - - - - - - - - - + + - - + + + - + - + - - + - - - + + - - - - - - + + - + description="Builds javadocs to build dir"> - - + + - + + + - + description="Removes all extra166y build products"> - - + + + + + depends="extra166yclean, extra166ydocs"> + + + + - - + + + + + - + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +