--- jsr166/build.xml 2015/09/13 03:22:29 1.179 +++ jsr166/build.xml 2017/06/16 20:50:16 1.245 @@ -1,5 +1,6 @@ + xmlns:if="ant:if" xmlns:unless="ant:unless" + xmlns:ivy="antlib:org.apache.ivy.ant"> ------------------------------------------------------------------------------ @@ -7,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. @@ -14,25 +18,25 @@ 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. ------------------------------------------------------------------------------ - + @@ -52,29 +56,22 @@ - - - - - - - + + + + + @@ -91,26 +88,30 @@ - - - - - - - + + + + + + + + + + + - - + + - + @@ -130,6 +131,7 @@ + @@ -137,13 +139,15 @@ - + + + @@ -152,6 +156,7 @@ + @@ -159,6 +164,7 @@ + @@ -167,6 +173,7 @@ + @@ -178,9 +185,9 @@ - + - + @@ -197,22 +204,39 @@ - - - - - - + + - + + + + + + + + + + + + + - - + + + + @@ -241,17 +268,24 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + + + + + + + + - - + + + + - - - @@ -271,9 +305,6 @@ - - - @@ -283,30 +314,42 @@ + + + - + + + + + + + + + + - - - + workDir="@{workdir}/JTwork"> - + + + - + + + @@ -326,32 +369,50 @@ + - + + + + + + + + + + + + + + + + - @@ -361,10 +422,11 @@ - + description="Builds library jar for src/main from compiled sources"> + + - + @@ -382,13 +444,19 @@ + + + + + @@ -396,14 +464,22 @@ + + + + + - + - - - + + + + + + @@ -437,18 +513,14 @@ - - - - @@ -464,31 +536,42 @@ + description="Runs tck tests for src/main directly"> + classes="${product.jar}"> + + + + + description="Runs tck with common pool parallelism 1"> + description="Runs tck with common pool parallelism 0"> + + + + + + + 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"/> - + - - - - + + + + - + - + + - - - - - + + + + + - - - - - + + + + + - + + + + @@ -549,8 +634,8 @@ - + + @@ -560,6 +645,8 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -571,12 +658,11 @@ - + description="Compiles all the perf tests in src/test/loops"> @@ -587,6 +673,7 @@ deprecation="${build.deprecation}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac9}" fork="true"> @@ -595,18 +682,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -628,14 +877,10 @@ - - - + @@ -657,15 +904,10 @@ - - - - + @@ -673,14 +915,9 @@ - - - - + + - - + + - - + + - - - - - - + @@ -758,9 +984,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"> @@ -769,38 +996,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -837,13 +1046,9 @@ - - - - + @@ -851,47 +1056,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"> - + - - - - - + - - - + - + - + - - + @@ -912,15 +1106,10 @@ - - - - + @@ -928,13 +1117,9 @@ - - - - + @@ -942,48 +1127,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"> - + - - - - - + - - - + - + - - - - + + @@ -1004,15 +1177,10 @@ - - - - + @@ -1020,13 +1188,9 @@ - - - - + @@ -1034,49 +1198,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}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1139,13 +1284,9 @@ - - - - + @@ -1153,21 +1294,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"> - - - - + - - + @@ -1197,30 +1333,20 @@ + - - + - - - - + - - + @@ -1241,4 +1367,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +