--- jsr166/build.xml 2015/09/13 05:26:02 1.181 +++ jsr166/build.xml 2016/08/30 02:41:07 1.217 @@ -7,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. @@ -27,12 +30,15 @@ (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. ------------------------------------------------------------------------------ - + @@ -52,17 +58,6 @@ - - - - - - @@ -75,6 +70,11 @@ + + + + + @@ -91,27 +91,30 @@ - - - - + + + + + - + - + + - - + + - + @@ -138,13 +141,14 @@ - + + @@ -153,6 +157,7 @@ + @@ -160,6 +165,7 @@ + @@ -168,6 +174,7 @@ + @@ -179,9 +186,9 @@ - + - + @@ -198,22 +205,34 @@ - - - - - - + + - + + + + + + + + - - + + + @@ -242,17 +262,19 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + + + - - + + + + - - - @@ -284,6 +306,9 @@ + + + @@ -291,23 +316,33 @@ + + + + + + + + + + - - - + + - + + @@ -327,17 +362,29 @@ - + + + + + + + + + + + + + + @@ -362,10 +410,11 @@ - + description="Builds library jar for src/main from compiled sources"> + + - + @@ -383,12 +432,14 @@ + + @@ -397,6 +448,7 @@ + @@ -405,6 +457,11 @@ + + + + + @@ -465,7 +522,7 @@ + description="Runs tck tests for src/main directly"> + 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"> - + - - - - + + + + - + - + + - - - - - + + + + + - - - - - + + + + + - + @@ -555,8 +619,8 @@ - + + @@ -566,6 +630,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" fork="true"> @@ -607,6 +672,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depends="4jdk7compile"> + executable="${javadoc7}" + failonerror = "true"> @@ -817,6 +1054,7 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -857,10 +1095,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"> @@ -906,6 +1145,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" @@ -948,10 +1188,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"> @@ -1000,6 +1241,7 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -1040,7 +1282,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}"> @@ -1091,6 +1333,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -1117,8 +1360,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}" @@ -1159,9 +1403,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">