--- jsr166/build.xml 2013/06/18 20:54:57 1.142 +++ jsr166/build.xml 2017/03/19 01:37:51 1.235 @@ -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,65 @@ As of 2013-02, the very latest lambda 8 + - - - - - - - - + + + + + + + + + + - - + + + + + + + - - - - - - + + - + + + + + + + + - + + + + @@ -215,11 +265,24 @@ As of 2013-02, the very latest lambda 8 failonerror="true" jvm="${java@{target}}" fork="true"> - + + + + + + + - - - + + + + + + + + + + @@ -229,30 +292,62 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + - - - - - - + workDir="@{workdir}/JTwork"> + + + + - + + + @@ -268,31 +363,51 @@ As of 2013-02, the very latest lambda 8 + + + - + + + + + + + + + + + + + + + + + @@ -301,10 +416,15 @@ As of 2013-02, the very latest lambda 8 - + description="Builds library jar for src/main from compiled sources"> + + - + + + + + @@ -318,20 +438,40 @@ As of 2013-02, the very latest lambda 8 + + + + + + executable="${javadoc9}"> + + + + + + + + + + + + + + + @@ -355,6 +495,10 @@ As of 2013-02, the very latest lambda 8 + + + + @@ -370,6 +514,7 @@ As of 2013-02, the very latest lambda 8 + @@ -385,34 +530,85 @@ As of 2013-02, the very latest lambda 8 - - + description="Runs tck tests for src/main directly"> - + + + + + + + + + + + + + + + + + + + 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"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -433,8 +629,8 @@ As of 2013-02, the very latest lambda 8 - + + @@ -444,6 +640,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"> @@ -459,6 +657,205 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -484,6 +883,38 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + + + + @@ -496,12 +927,16 @@ As of 2013-02, the very latest lambda 8 + + + + - @@ -512,20 +947,24 @@ As of 2013-02, the very latest lambda 8 + + + + - + + - + classes="${4jdk7product.jar}"/> @@ -576,15 +1014,17 @@ As of 2013-02, the very latest lambda 8 + executable="${javadoc7}" + failonerror = "true"> + @@ -603,11 +1043,6 @@ As of 2013-02, the very latest lambda 8 - - - - @@ -636,14 +1071,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"> + @@ -656,6 +1094,10 @@ As of 2013-02, the very latest lambda 8 + + + + @@ -669,12 +1111,14 @@ As of 2013-02, the very latest lambda 8 + executable="${javadoc7}" + failonerror = "true"> + @@ -694,12 +1138,6 @@ As of 2013-02, the very latest lambda 8 - - - - - @@ -725,16 +1163,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"> + @@ -747,6 +1188,10 @@ As of 2013-02, the very latest lambda 8 + + + + @@ -760,12 +1205,14 @@ As of 2013-02, the very latest lambda 8 + executable="${javadoc7}" + failonerror = "true"> + @@ -785,11 +1232,6 @@ As of 2013-02, the very latest lambda 8 - - - - @@ -818,14 +1260,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"> + @@ -838,6 +1283,10 @@ As of 2013-02, the very latest lambda 8 + + + + @@ -851,12 +1300,13 @@ As of 2013-02, the very latest lambda 8 + @@ -876,11 +1326,6 @@ As of 2013-02, the very latest lambda 8 - - - - @@ -893,6 +1338,9 @@ As of 2013-02, the very latest lambda 8 + + + @@ -904,21 +1352,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"> + + + + + + + + + + + + + + + + + + + + + @@ -939,28 +1421,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"> + - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - @@ -993,9 +1500,80 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +