--- jsr166/build.xml 2013/01/16 07:39:51 1.98 +++ jsr166/build.xml 2013/01/20 03:44:54 1.112 @@ -16,7 +16,12 @@ $HOME/jdk/jdk6 $HOME/jdk/jdk7 $HOME/jdk/jdk8 - where each of the above is a JDK or a symlink to same. + 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. ------------------------------------------------------------------------------ @@ -40,31 +45,17 @@ - - - - - - - + + + + - - - - - - - - - - - @@ -72,11 +63,12 @@ - - - - - + + + + + + @@ -113,29 +105,28 @@ - + - - - - - - - + + + + + + - - - - - - - + + + + + + + @@ -148,6 +139,8 @@ + + @@ -161,29 +154,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}"> + + + @@ -242,7 +248,7 @@ @@ -270,8 +276,6 @@ description="Removes all build products"> - - @@ -286,43 +290,9 @@ - - - - - - - - - - - - - - - - - - - - - - - Building JSR-166 version ${version} - java.home is ${java.home} - - - - @@ -337,36 +307,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"> - + - - - + @@ -383,8 +360,6 @@ - - --> @@ -404,9 +379,10 @@ errorProperty="junit.failed" failureProperty="junit.failed" dir="${build.reports.dir}" + jvm="${java8}" fork="true"> - + @@ -507,7 +483,7 @@ - @@ -533,21 +509,21 @@ - + - + description="Compiles src/jdk7 sources, targeting jdk7"> - + - - - - - + + - + - + + tck.classes="${build.4jdk7.tck.classes.dir}" + product.jar="${4jdk7product.jar}"/> - + - + - + @@ -631,23 +606,21 @@ - + - - + + - - + executable="${javadoc7}"> + + @@ -655,76 +628,59 @@ - - + - + - - + - - - - - - - - - + - - - - - - + depends="configure-compiler" + description="Compiles jsr166x sources to build dir"> - + - + + @@ -736,9 +692,7 @@ depends="jsr166xcompile" description="Builds library jar from compiled sources"> - - - + @@ -747,32 +701,33 @@ + description="Builds javadocs to dist dir"> - - + + - + description="Removes all jsr166x build products"> - @@ -784,26 +739,10 @@ - - - - - - - - - - - + @@ -811,39 +750,37 @@ - + - + - - - - + - - - - - + @@ -852,32 +789,33 @@ + description="Builds javadocs to dist dir"> - - + + - + description="Removes all jsr166y build products"> - @@ -888,25 +826,10 @@ - - - - - - - - - - + @@ -915,26 +838,28 @@ - + - + - - - + @@ -946,9 +871,7 @@ depends="extra166ycompile" description="Builds library jar from compiled sources"> - - - + @@ -957,32 +880,33 @@ + description="Builds javadocs to build dir"> - - + + - + description="Removes all extra166y build products"> - @@ -993,25 +917,10 @@ - - - - - - - - - - + @@ -1028,7 +937,7 @@ debug="${build.debug}" debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" - source="1.7" + source="7" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -1050,9 +959,7 @@ depends="jsr166ecompile" description="Builds library jar from compiled sources"> - - - + @@ -1061,66 +968,46 @@ + description="Builds javadocs to build dir"> - - + + - - - - + description="Removes all jsr166e build products"> - - - - - - - - - - - - +