--- jsr166/build.xml 2013/07/10 17:09:45 1.143 +++ jsr166/build.xml 2017/03/26 10:40:29 1.239 @@ -1,4 +1,6 @@ - + ------------------------------------------------------------------------------ @@ -6,6 +8,9 @@ Usage: ant [target] + See http://gee.cs.oswego.edu/dl/concurrency-interest/index.html for + more details. + User-specific settings are read from user.properties. See user.properties.sample for an explanation of some useful settings. @@ -13,25 +18,34 @@ 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 + $HOME/jdk/jdk9 + $HOME/jdk/jdk10 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 + $HOME/jdk/src/jdk9 + $HOME/jdk/src/jdk10 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. + + Alternatively, define ant variables thus: + ant -Djdk$N.home=... -Djdk$N.src.home=... + for $N in 7 8 9 10 ... + + As of 2016-03, the sources in src/main are for jdk9+ only. ------------------------------------------------------------------------------ - + + + @@ -44,27 +58,22 @@ As of 2013-02, the very latest lambda 8 - - - - - - - - - - + + + + + @@ -81,21 +90,30 @@ As of 2013-02, the very latest lambda 8 - - - - - + + + + + + + + + + + - - + + - + @@ -114,17 +132,24 @@ As of 2013-02, the very latest lambda 8 + + - + + + + + + @@ -133,6 +158,7 @@ As of 2013-02, the very latest lambda 8 + @@ -140,6 +166,7 @@ As of 2013-02, the very latest lambda 8 + @@ -148,45 +175,70 @@ As of 2013-02, the very latest lambda 8 + - - - - - - - - + + + + + + + + + + - - + + + + + + + - - - - - - + + - + + + + + + + + + + + + + - + + + + @@ -215,11 +270,24 @@ As of 2013-02, the very latest lambda 8 failonerror="true" jvm="${java@{target}}" fork="true"> - + + + + + + + - - - + + + + + + + + + + @@ -229,30 +297,62 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + - - - - - - + workDir="@{workdir}/JTwork"> + + + + - + + + @@ -268,31 +368,54 @@ As of 2013-02, the very latest lambda 8 + + + + depends="dist, 4jdk8dist" description="Builds all public jars and docs"/> - + + + + + + + + + + + + + + + + + @@ -301,10 +424,15 @@ As of 2013-02, the very latest lambda 8 - + description="Builds library jar for src/main from compiled sources"> + + - + + + + + @@ -318,26 +446,40 @@ As of 2013-02, the very latest lambda 8 + + + + + + executable="${javadoc9}"> + + + + + + - + - - - + + + + + + @@ -361,6 +503,10 @@ As of 2013-02, the very latest lambda 8 + + + + @@ -376,6 +522,7 @@ As of 2013-02, the very latest lambda 8 + @@ -391,34 +538,87 @@ As of 2013-02, the very latest lambda 8 - - + description="Runs tck tests for src/main directly"> + classes="${product.jar}"> + + + + + + + + + + - + + + + + + + + + + + + + description="Runs jtreg tests for src/main using the jtreg ant task"> + depends="tck, tck-parallelism-1, tck-parallelism-0, jtreg" + description="Runs tck and jtreg tests for src/main"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -439,8 +639,8 @@ As of 2013-02, the very latest lambda 8 - + + @@ -450,6 +650,8 @@ As of 2013-02, the very latest lambda 8 debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -465,6 +667,206 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -490,6 +894,38 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + + + + @@ -502,12 +938,16 @@ As of 2013-02, the very latest lambda 8 + + + + - @@ -518,20 +958,25 @@ As of 2013-02, the very latest lambda 8 + + + + + - + + - + classes="${4jdk7product.jar}"/> @@ -582,15 +1026,17 @@ As of 2013-02, the very latest lambda 8 + executable="${javadoc7}" + failonerror = "true"> + @@ -609,11 +1055,6 @@ As of 2013-02, the very latest lambda 8 - - - - @@ -642,14 +1083,17 @@ As of 2013-02, the very latest lambda 8 classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> + @@ -662,6 +1106,10 @@ As of 2013-02, the very latest lambda 8 + + + + @@ -675,12 +1123,14 @@ As of 2013-02, the very latest lambda 8 + executable="${javadoc7}" + failonerror = "true"> + @@ -700,12 +1150,6 @@ As of 2013-02, the very latest lambda 8 - - - - - @@ -731,16 +1175,19 @@ As of 2013-02, the very latest lambda 8 debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> + @@ -753,6 +1200,10 @@ As of 2013-02, the very latest lambda 8 + + + + @@ -766,12 +1217,14 @@ As of 2013-02, the very latest lambda 8 + executable="${javadoc7}" + failonerror = "true"> + @@ -791,11 +1244,6 @@ As of 2013-02, the very latest lambda 8 - - - - @@ -824,14 +1272,17 @@ As of 2013-02, the very latest lambda 8 bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> + @@ -844,6 +1295,10 @@ As of 2013-02, the very latest lambda 8 + + + + @@ -857,12 +1312,13 @@ As of 2013-02, the very latest lambda 8 + @@ -882,11 +1338,6 @@ As of 2013-02, the very latest lambda 8 - - - - @@ -899,6 +1350,9 @@ As of 2013-02, the very latest lambda 8 + + + @@ -910,21 +1364,51 @@ As of 2013-02, the very latest lambda 8 debug="${build.debug}" debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" - source="7" + source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" - executable="${javac7}" + executable="${build.jsr166e.javac}" fork="true"> + + + + + + + + + + + + + + + + + + + + + @@ -945,28 +1433,58 @@ As of 2013-02, the very latest lambda 8 + sourcepath="${topsrc.dir}:${jdk6.src.dir}" + source="${build.jsr166e.java.version}" + executable="${javadoc7}" + failonerror = "true"> + - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - @@ -999,9 +1512,165 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +