--- jsr166/build.xml 2013/01/15 01:15:02 1.97 +++ jsr166/build.xml 2013/01/19 23:58:12 1.108 @@ -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. ------------------------------------------------------------------------------ @@ -32,30 +46,25 @@ - - - - - - + + + + + - - - - @@ -63,11 +72,12 @@ - - - - - + + + + + + @@ -104,7 +114,7 @@ - + @@ -112,21 +122,21 @@ - - - - - - + + + + + + - - - - - - - + + + + + + + @@ -139,6 +149,8 @@ + + @@ -152,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}"> + + + @@ -233,7 +260,7 @@ @@ -277,43 +304,9 @@ - - - - - - - - - - - - - - - - - - - - - - - Building JSR-166 version ${version} - java.home is ${java.home} - - - - @@ -498,7 +491,7 @@ - @@ -524,21 +517,21 @@ - + - + description="Compiles src/jdk7 sources, targeting jdk7"> - + - - + - - + + - + - + + tck.classes="${build.4jdk7.tck.classes.dir}" + product.jar="${4jdk7product.jar}"/> - + - + - + @@ -622,23 +616,21 @@ - + - - + + - - + executable="${javadoc7}"> + + @@ -646,53 +638,30 @@ - - - + - - - - - - - - - - - - - - - - + - + @@ -700,22 +669,28 @@ + depends="configure-compiler" + description="Compiles jsr166x sources to build dir"> - + - + + @@ -729,7 +704,7 @@ - + @@ -738,23 +713,25 @@ + description="Builds javadocs to dist dir"> - - + + - @@ -775,26 +752,10 @@ - - - - - - - - - - - + @@ -802,39 +763,39 @@ - + - + - - - - + - - - + @@ -843,23 +804,25 @@ + description="Builds javadocs to dist dir"> - - + + - @@ -879,25 +842,10 @@ - - - - - - - - - - + @@ -906,26 +854,28 @@ - + - + - - - + @@ -939,7 +889,7 @@ - + @@ -948,23 +898,25 @@ + description="Builds javadocs to build dir"> - - + + - @@ -984,25 +936,10 @@ - - - - - - - - - - + @@ -1019,7 +956,7 @@ debug="${build.debug}" debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" - source="1.7" + source="7" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -1043,7 +980,7 @@ - + @@ -1052,28 +989,25 @@ + description="Builds javadocs to build dir"> - - + + - - - - @@ -1087,31 +1021,15 @@ - - - - - - - - - - - +