--- jsr166/build.xml 2014/07/12 17:29:12 1.158 +++ jsr166/build.xml 2017/02/18 18:33:42 1.234 @@ -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,27 +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. + + 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. ------------------------------------------------------------------------------ - + + @@ -46,29 +58,22 @@ - - - - - - - + + + + + @@ -85,21 +90,30 @@ - - - - - + + + + + + + + + + + - - + + - + @@ -119,17 +133,23 @@ + - + + + + + + @@ -138,6 +158,7 @@ + @@ -145,6 +166,7 @@ + @@ -153,6 +175,7 @@ + @@ -164,9 +187,9 @@ - + - + @@ -183,22 +206,34 @@ - - - - - - + + - + + + + + + + + - + + + @@ -227,11 +264,24 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + + + + + + - - - + + + + + + + + + + @@ -241,31 +291,62 @@ + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + - - - - - - + workDir="@{workdir}/JTwork"> + + + + - + + + @@ -285,30 +366,45 @@ - + + + + + + + + + + + + + + + @@ -319,10 +415,15 @@ - + description="Builds library jar for src/main from compiled sources"> + + - + + + + + @@ -336,12 +437,17 @@ + + + + + @@ -350,14 +456,21 @@ + + + + - - - + - + + + + + + @@ -381,6 +494,10 @@ + + + + @@ -412,10 +529,9 @@ - - + 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"> - + - - - - - + + + + - - - - - + - + + + + + + + + + + + + + + + + + + + + + @@ -477,8 +628,8 @@ - + + @@ -488,6 +639,8 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -503,6 +656,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -528,6 +882,7 @@ + @@ -545,10 +900,12 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" - bootclasspath="${bootclasspath7}" + bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> @@ -569,12 +926,16 @@ + + + + - @@ -586,6 +947,7 @@ + @@ -593,14 +955,15 @@ + - + + - + classes="${4jdk7product.jar}"/> @@ -654,9 +1016,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"> @@ -707,14 +1070,17 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> + @@ -727,6 +1093,10 @@ + + + + @@ -742,10 +1112,11 @@ 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"> @@ -791,16 +1162,19 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> + @@ -813,6 +1187,10 @@ + + + + @@ -828,10 +1206,11 @@ 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"> @@ -880,14 +1259,17 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> + @@ -900,6 +1282,10 @@ + + + + @@ -915,7 +1301,7 @@ 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}"> @@ -966,6 +1352,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -975,6 +1362,7 @@ + @@ -991,8 +1379,9 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" - bootclasspath="${bootclasspath7}" + bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac8}" @@ -1001,6 +1390,7 @@ + @@ -1013,6 +1403,10 @@ + + + + @@ -1028,9 +1422,10 @@ 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"> @@ -1038,7 +1433,7 @@ - @@ -1050,23 +1445,23 @@ classes="${jsr166e.jar}"/> - - + - + - + @@ -1074,7 +1469,7 @@ @@ -1104,9 +1499,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +