--- jsr166/build.xml 2013/01/15 01:15:02 1.97
+++ jsr166/build.xml 2013/01/20 04:44:26 1.114
@@ -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,31 +45,22 @@
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
@@ -63,11 +68,12 @@
-
-
-
-
-
+
+
+
+
+
+
@@ -104,29 +110,28 @@
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -139,6 +144,8 @@
+
+
@@ -152,29 +159,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}">
+
+
+
@@ -233,7 +253,7 @@
@@ -261,8 +281,6 @@
description="Removes all build products">
-
-
@@ -277,43 +295,9 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Building JSR-166 version ${version}
- java.home is ${java.home}
-
-
-
-
@@ -328,36 +312,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">
-
+
-
-
-
+
@@ -374,8 +365,6 @@
-
-
-->
@@ -395,9 +384,10 @@
errorProperty="junit.failed"
failureProperty="junit.failed"
dir="${build.reports.dir}"
+ jvm="${java8}"
fork="true">
-
+
@@ -498,7 +488,7 @@
-
@@ -524,21 +514,21 @@
-
+
-
+ description="Compiles src/jdk7 sources, targeting jdk7">
-
+
-
-
-
-
-
+
+
-
+
-
+
+ tck.classes="${build.4jdk7.tck.classes.dir}"
+ product.jar="${4jdk7product.jar}"/>
-
+
-
+
-
+
@@ -622,23 +611,21 @@
-
+
-
-
+
+
-
-
+ executable="${javadoc7}">
+
+
@@ -646,76 +633,59 @@
-
-
+
-
+
-
-
+
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
+ depends="configure-compiler"
+ description="Compiles jsr166x sources to build dir">
-
+
-
+
-
+
+
@@ -727,10 +697,8 @@
depends="jsr166xcompile"
description="Builds library jar from compiled sources">
-
-
-
-
+
+
@@ -738,32 +706,33 @@
+ description="Builds javadocs to dist dir">
-
-
+
+
-
+ description="Removes all jsr166x build products">
-
@@ -775,26 +744,10 @@
-
-
-
-
-
-
-
-
-
-
-
+
@@ -802,40 +755,38 @@
-
+
-
+
-
+
-
-
-
-
+
-
-
-
-
-
-
+
+
@@ -843,32 +794,33 @@
+ description="Builds javadocs to dist dir">
-
-
+
+
-
+ description="Removes all jsr166y build products">
-
@@ -879,25 +831,10 @@
-
-
-
-
-
-
-
-
-
-
+
@@ -906,26 +843,28 @@
-
+
-
+
-
+
-
-
-
+
@@ -937,10 +876,8 @@
depends="extra166ycompile"
description="Builds library jar from compiled sources">
-
-
-
-
+
+
@@ -948,32 +885,33 @@
+ description="Builds javadocs to build dir">
-
-
+
+
-
+ description="Removes all extra166y build products">
-
@@ -984,25 +922,10 @@
-
-
-
-
-
-
-
-
-
-
+
@@ -1012,14 +935,14 @@
depends="configure-compiler"
description="Compiles jsr166e sources">
-
+
-
-
-
-
+
+
@@ -1052,66 +973,46 @@
+ description="Builds javadocs to build dir">
-
-
+
+
-
-
-
-
+ description="Removes all jsr166e build products">
-
-
-
-
-
-
-
-
-
-
-
-
+