--- jsr166/build.xml 2014/10/03 23:18:13 1.159 +++ jsr166/build.xml 2016/04/18 15:30:49 1.210 @@ -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,17 +58,6 @@ - - - - - - @@ -73,6 +70,11 @@ + + + + + @@ -89,21 +91,30 @@ - - - - - + + + + + + + + + + + - - + + - + @@ -129,11 +140,15 @@ - + + + + + @@ -142,6 +157,7 @@ + @@ -149,6 +165,7 @@ + @@ -157,6 +174,7 @@ + @@ -168,9 +186,9 @@ - + - + @@ -187,22 +205,34 @@ - - - - - - + + - + + + + + + + + - + + + @@ -231,11 +262,17 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + - - - + + + + + + + + @@ -245,31 +282,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + - - - - - + + + - + + @@ -289,17 +360,29 @@ - + + + + + + + + + + + + + + + @@ -323,10 +408,14 @@ + description="Builds library jar for src/main from compiled sources"> + + + + @@ -345,7 +434,7 @@ link="${java9.api.url}" overview="${src.dir}/intro.html" access="${build.javadoc.access}" - sourcepath="${src.dir}:${jdk9src.dir}" + sourcepath="${src.dir}:${jdk9.src.dir}" classpath="" executable="${javadoc9}"> @@ -354,6 +443,7 @@ + @@ -362,6 +452,11 @@ + + + + + @@ -385,6 +480,10 @@ + + + + @@ -416,10 +515,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"> - + - - - - - + + + + - - - - - + - + + + + + + + + + + + + + + + + + + + + + @@ -481,8 +607,8 @@ - + + @@ -492,6 +618,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" fork="true"> @@ -507,6 +634,201 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -549,8 +873,9 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" - bootclasspath="${bootclasspath7}" + bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac8}" @@ -573,12 +898,16 @@ + + + + - @@ -590,6 +919,7 @@ + @@ -597,14 +927,15 @@ + - + + - + classes="${4jdk7product.jar}"/> @@ -658,9 +988,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"> @@ -711,6 +1042,7 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -719,6 +1051,7 @@ + @@ -731,6 +1064,10 @@ + + + + @@ -746,10 +1083,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"> @@ -795,6 +1133,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" @@ -805,6 +1144,7 @@ + @@ -817,6 +1157,10 @@ + + + + @@ -832,10 +1176,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"> @@ -884,6 +1229,7 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -892,6 +1238,7 @@ + @@ -904,6 +1251,10 @@ + + + + @@ -919,7 +1270,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}"> @@ -970,6 +1321,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -979,6 +1331,7 @@ + @@ -995,8 +1348,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}" @@ -1005,6 +1359,7 @@ + @@ -1017,6 +1372,10 @@ + + + + @@ -1032,9 +1391,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"> @@ -1042,7 +1402,7 @@ - @@ -1054,23 +1414,23 @@ classes="${jsr166e.jar}"/> - - + - + - + @@ -1078,7 +1438,7 @@ @@ -1108,6 +1468,13 @@ + + + + + + +