--- jsr166/build.xml 2015/09/02 03:53:43 1.170 +++ jsr166/build.xml 2016/11/24 01:58:04 1.224 @@ -1,4 +1,5 @@ - + ------------------------------------------------------------------------------ @@ -6,6 +7,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. @@ -26,18 +30,22 @@ (e.g. mercurial forest) or a symlink to same. Alternatively, define ant variables thus: - ant -Djdk$N.home=... + ant -Djdk$N.home=... -Djdk$N.src.home=... for $N in 6 7 8 9 ... + + As of 2016-03, the sources in src/main are for jdk9+ only. The "docs" + target is currently broken. ------------------------------------------------------------------------------ - + + @@ -50,29 +58,22 @@ - - - - - - - + + + + + @@ -89,21 +90,30 @@ - - - - - + + + + + + + + + + + - - + + - + @@ -129,11 +139,15 @@ - + + + + + @@ -142,6 +156,7 @@ + @@ -149,6 +164,7 @@ + @@ -157,6 +173,7 @@ + @@ -168,9 +185,9 @@ - + - + @@ -187,22 +204,34 @@ - - - - - - + + - + + + + + + + + - - + + + @@ -231,17 +262,19 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + + + - - + + + + - - - @@ -252,60 +285,64 @@ - + - + - + - + - + - - - - - - - - + + + - - + + + + + + + + + + + - - - - + workDir="@{workdir}/JTwork"> - + + + - + + + @@ -325,27 +362,41 @@ - + + + + + + + + + + + + + + @@ -360,10 +411,15 @@ - + description="Builds library jar for src/main from compiled sources"> + + - + + + + + @@ -377,12 +433,14 @@ + + @@ -391,14 +449,21 @@ + + + + - + - - - + + + + + + @@ -422,6 +487,10 @@ + + + + @@ -453,10 +522,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"> - + - - - - + + + + - + - + + - - - - - + + + + + - - - - - + + + + + - + + + + + + @@ -542,8 +621,8 @@ - + + @@ -553,6 +632,8 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -580,6 +661,7 @@ deprecation="${build.deprecation}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac9}" fork="true"> @@ -594,6 +676,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -637,10 +893,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"> @@ -661,12 +919,16 @@ + + + + - @@ -678,6 +940,7 @@ + @@ -685,14 +948,15 @@ + - + + - @@ -745,9 +1009,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"> @@ -798,8 +1063,10 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -819,6 +1086,10 @@ + + + + @@ -834,10 +1105,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"> @@ -883,10 +1155,12 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -906,6 +1180,10 @@ + + + + @@ -921,10 +1199,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"> @@ -973,8 +1252,10 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -994,6 +1275,10 @@ + + + + @@ -1009,7 +1294,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}"> @@ -1060,6 +1345,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -1086,8 +1372,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}" @@ -1109,6 +1396,10 @@ + + + + @@ -1124,9 +1415,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"> @@ -1134,7 +1426,7 @@ - @@ -1146,23 +1438,23 @@ classes="${jsr166e.jar}"/> - - + - + - + @@ -1170,7 +1462,7 @@