--- jsr166/build.xml 2014/10/03 23:18:13 1.159 +++ jsr166/build.xml 2017/09/24 00:47:54 1.253 @@ -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,31 +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. Alternatively, define ant variables thus: - ant -Djdk$N.home=... - for $N in 6 7 8 9 ... + 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. ------------------------------------------------------------------------------ - + + @@ -50,29 +56,22 @@ - - - - - - - + + + + + @@ -89,21 +88,30 @@ - - - - - + + + + + + + + + + + - - + + - + @@ -123,17 +131,23 @@ + - + + + + + + @@ -142,6 +156,7 @@ + @@ -149,6 +164,7 @@ + @@ -157,6 +173,7 @@ + @@ -164,15 +181,15 @@ - - - - - - - + + + + + + + - + @@ -187,22 +204,39 @@ - - - - - - + + - + + + + + + + + + + + + + - + + + + @@ -231,11 +268,24 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + + + + + + - - - + + + + + + + + + + @@ -245,31 +295,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + - - - - - - + workDir="@{workdir}/JTwork"> + + + + - + + + @@ -286,34 +372,53 @@ - + + + + + + + + + + + - + + + + + - + + + @@ -323,10 +428,15 @@ - + description="Builds library jar for src/main from compiled sources"> + + - + + + + + @@ -340,28 +450,42 @@ + + + + + + source="9" + executable="${build.main.javadoc}"> + + + + + - + - - - + + + + + + @@ -385,24 +509,24 @@ + + + + - - - - @@ -416,20 +540,44 @@ - - + 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"/> + + + + + + + + + - + - - + - - + + + + + + + @@ -481,8 +641,8 @@ - + + @@ -492,6 +652,8 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -503,16 +665,202 @@ + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + - + description="Finds doclint warnings"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -532,15 +882,12 @@ + - - - + @@ -562,26 +911,20 @@ - - - - + + + + + - - - - + + @@ -597,14 +941,14 @@ + + - - + + - - + - - - - + classes="${4jdk7product.jar}"/> + - - + @@ -658,9 +991,10 @@ link="${java7.api.url}" overview="${4jdk7src.dir}/intro.html" access="${build.javadoc.access}" - sourcepath="${4jdk7src.dir}:${jdk7src.dir}" + sourcepath="${4jdk7src.dir}:${jdk7.src.dir}" classpath="" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> @@ -669,38 +1003,24 @@ + - - - - - + - - - + - - + - - - + + - + - - - - + + + + + - - - - + @@ -746,47 +1063,34 @@ packagenames="jsr166x.*" link="${java.api.url}" access="${build.javadoc.access}" - sourcepath="${topsrc.dir}:${jdk6src.dir}" + sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="5" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - + - - - - - + - - - + - + - - - + + + - - - - + + + + + - - - - + @@ -832,48 +1134,34 @@ packagenames="jsr166y.*" link="${java.api.url}" access="${build.javadoc.access}" - sourcepath="${topsrc.dir}:${jdk6src.dir}" + sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="6" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - + - - - - - + - - - + - + - - - - + + + - - - - + + + + + - - - - + @@ -919,49 +1205,36 @@ packagenames="extra166y.*" link="${java.api.url}" access="${build.javadoc.access}" - sourcepath="${topsrc.dir}:${jdk6src.dir}" + sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="6" executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + + - - - + - - - - + + + + + - - - - + @@ -1032,21 +1301,17 @@ packagenames="jsr166e.*" link="${java.api.url}" access="${build.javadoc.access}" - sourcepath="${topsrc.dir}:${jdk6src.dir}" + sourcepath="${topsrc.dir}:${jdk6.src.dir}" source="${build.jsr166e.java.version}" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> - - - - + - - + - + - + - + + - - - - + - - + - - + @@ -1108,9 +1362,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +