--- jsr166/build.xml 2007/09/18 12:46:40 1.75 +++ jsr166/build.xml 2013/05/20 19:12:23 1.140 @@ -8,11 +8,28 @@ 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. +As of 2013-02, the very latest lambda 8 jdk is needed for jdk8. ------------------------------------------------------------------------------ - - Run "ant -projecthelp" for full usage information. + + + + @@ -21,26 +38,82 @@ - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -51,22 +124,52 @@ - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -74,90 +177,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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"> - - + + - - - + + + + + + + + + - - - @@ -173,22 +361,17 @@ - - - - - @@ -197,63 +380,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - Building JSR-166 version ${version} - java.home is ${java.home} - - - - - + + + @@ -263,35 +400,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"> + + + + - - + + + + + + + + + + + @@ -327,9 +494,10 @@ errorProperty="junit.failed" failureProperty="junit.failed" dir="${build.reports.dir}" + jvm="${java8}" fork="true"> - + @@ -430,7 +598,7 @@ - @@ -445,6 +613,7 @@ + @@ -455,223 +624,542 @@ - + - - - - - - + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + - - - + - + + + - sourcepath="${jsr166xsrc.dir}:/home/dl/1.5.0/j2se/martin/j2se/src/share/classes" + + + + - > - - - + + + - + + + + - + + + + + + + + + + + + + + + + + + + - + + + - - + + + + + - + + + + + + + + + + + + + + + + + + + - + + + - - + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - - - + + + + + - - - - - - - - - + + - + description="Builds javadocs to dist dir"> - - - - - - - + + + + - - + description="Removes all jsr166y build products"> - - + + + + + depends="jsr166yclean, jsr166ydocs"> + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +