--- jsr166/build.xml 2015/09/08 16:54:43 1.176 +++ jsr166/build.xml 2017/01/29 20:19:00 1.231 @@ -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. @@ -26,18 +31,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 +59,22 @@ - - - - - - - + + + + + @@ -89,21 +91,30 @@ - - - - - + + + + + + + + + + + - - + + - + @@ -130,13 +141,14 @@ - + + @@ -145,6 +157,7 @@ + @@ -152,6 +165,7 @@ + @@ -160,6 +174,7 @@ + @@ -171,9 +186,9 @@ - + - + @@ -190,22 +205,34 @@ - - - - - - + + - + + + + + + + + - - + + + @@ -234,17 +263,24 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + + + + + + + + - - + + + + - - - @@ -264,9 +300,6 @@ - - - @@ -276,6 +309,9 @@ + + + @@ -283,23 +319,33 @@ + + + + + + + + + + - - - + workDir="@{workdir}/JTwork"> - + + + - + + + @@ -319,27 +365,41 @@ - + + + + + + + + + + + + + + @@ -354,10 +414,15 @@ - + description="Builds library jar for src/main from compiled sources"> + + - + + + + + @@ -371,12 +436,17 @@ + + + + + @@ -385,14 +455,21 @@ + + + + - - - + - + + + + + + @@ -416,6 +493,10 @@ + + + + @@ -449,7 +530,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"> - + - - - - + + + + - + - + + - - - - - + + + + + - - - - - + + + + + - + + + + + + @@ -534,8 +627,8 @@ - + + @@ -545,6 +638,8 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -572,6 +667,7 @@ deprecation="${build.deprecation}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac9}" fork="true"> @@ -586,6 +682,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -629,10 +899,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"> @@ -653,6 +925,10 @@ + + + + @@ -684,9 +960,9 @@ + + depends="4jdk7compile"> + executable="${javadoc7}" + failonerror = "true"> @@ -792,8 +1069,10 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -813,6 +1092,10 @@ + + + + @@ -828,10 +1111,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"> @@ -877,10 +1161,12 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -900,6 +1186,10 @@ + + + + @@ -915,10 +1205,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"> @@ -967,8 +1258,10 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -988,6 +1281,10 @@ + + + + @@ -1003,7 +1300,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}"> @@ -1054,6 +1351,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -1080,8 +1378,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}" @@ -1103,6 +1402,10 @@ + + + + @@ -1118,9 +1421,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"> @@ -1205,5 +1509,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +