--- jsr166/build.xml 2013/07/10 17:09:45 1.143 +++ jsr166/build.xml 2017/10/22 03:57:51 1.256 @@ -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,32 @@ 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 8 9 10 ... + + As of 2016-03, the sources in src/main are for jdk9+ only. ------------------------------------------------------------------------------ - + + + @@ -44,27 +56,22 @@ As of 2013-02, the very latest lambda 8 - - - - - - - - - - + + + + + @@ -81,21 +88,30 @@ As of 2013-02, the very latest lambda 8 - - - - - + + + + + + + + + + + - - + + - + @@ -114,17 +130,24 @@ As of 2013-02, the very latest lambda 8 + + - + + + + + + @@ -133,6 +156,7 @@ As of 2013-02, the very latest lambda 8 + @@ -140,6 +164,7 @@ As of 2013-02, the very latest lambda 8 + @@ -148,45 +173,70 @@ As of 2013-02, the very latest lambda 8 + - - - - - - - - + + + + + + + + + + - - + + + + + + + - - - - - - + + - + + + + + + + + + + + + + - + + + + @@ -215,11 +268,24 @@ As of 2013-02, the very latest lambda 8 failonerror="true" jvm="${java@{target}}" fork="true"> - + + + + + + + - - - + + + + + + + + + + @@ -229,30 +295,70 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + - - - - - - + workDir="@{workdir}/JTwork"> + + + + - + + + + @@ -268,31 +374,55 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + - + + + + + + + + + @@ -301,10 +431,15 @@ As of 2013-02, the very latest lambda 8 - + description="Builds library jar for src/main from compiled sources"> + + - + + + + + @@ -318,26 +453,42 @@ As of 2013-02, the very latest lambda 8 + + + + + + source="9" + executable="${build.main.javadoc}"> + + + + + + + - - - + - + + + + + + @@ -361,23 +512,24 @@ As of 2013-02, the very latest lambda 8 + + + + - - - + - @@ -391,34 +543,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 +644,8 @@ As of 2013-02, the very latest lambda 8 - + + @@ -450,6 +655,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"> @@ -461,16 +668,202 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + - + - + description="Compiles src/jdk8 sources, targeting jdk8"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -490,27 +885,49 @@ As of 2013-02, the very latest lambda 8 + - + + - + + + + + + + + + + + + + + + - - - - + + + + + + - - + + - - + - - - - + classes="${4jdk7product.jar}"/> + - - + + executable="${javadoc7}" + failonerror = "true"> + + - - - - - + - - - - - - - + - - + - - - + + - + - - - - + + + + + - - - - + + executable="${javadoc7}" + failonerror = "true"> + - + - - - - - + - - - - - - - - + - + - + - - + + - - - - + + + + + - - - - + + executable="${javadoc7}" + failonerror = "true"> + - + - - - - - + - - - - - - - + - + - - - - + + + - - - - + + + + + - - - - + + - + - - - - - + - - - - - - - + - + - - + + + + + + - + + - + + + + + + + + + + + + + + - - - - + + sourcepath="${topsrc.dir}:${jdk6.src.dir}" + source="${build.jsr166e.java.version}" + executable="${javadoc7}" + failonerror = "true"> + - - - - + + + - - + + + + + + + + + + + - - + + + + + + - + + + - + @@ -999,9 +1365,192 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +