--- jsr166/build.xml 2015/09/13 17:46:07 1.182 +++ jsr166/build.xml 2016/06/26 23:44:19 1.214 @@ -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,17 +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 2015-09, there is incomplete hacky support for jigsaw - Build for jigsaw using something like: - ant -Djdk9.home="$HOME/jdk/jigsaw" -Djdk9.src.dir="$HOME/jdk/src/jigsaw" clean test dist - "docs" target is still broken. + As of 2016-03, the sources in src/main are for jdk9+ only. The "docs" + target is currently broken. ------------------------------------------------------------------------------ - + @@ -57,17 +58,6 @@ - - - - - - @@ -80,6 +70,11 @@ + + + + + @@ -96,16 +91,17 @@ - - - - + + + + + - + - @@ -145,13 +141,14 @@ - + + @@ -160,6 +157,7 @@ + @@ -167,6 +165,7 @@ + @@ -175,6 +174,7 @@ + @@ -186,9 +186,9 @@ - + - + @@ -205,19 +205,25 @@ - - - - - - + + - + + @@ -244,9 +250,9 @@ - + - + @@ -257,17 +263,18 @@ jvm="${java@{target}}" fork="true"> - + + + - - + + + + - - - @@ -299,6 +306,9 @@ + + + @@ -309,6 +319,9 @@ + + + @@ -316,21 +329,20 @@ - - - + - + + @@ -350,7 +362,7 @@ - + description="Builds library jar for src/main from compiled sources"> + + - + @@ -424,7 +437,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}"> @@ -442,6 +455,11 @@ + + + + + @@ -502,7 +520,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"> - + - - - - + + + + - + - + + - - - - - + + + + + - - - - - + + + + + - + @@ -592,8 +617,8 @@ - + + @@ -603,6 +628,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" fork="true"> @@ -644,6 +670,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depends="4jdk7compile"> + executable="${javadoc7}" + failonerror = "true"> @@ -854,6 +1052,7 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -894,10 +1093,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"> @@ -943,6 +1143,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" @@ -985,10 +1186,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"> @@ -1037,6 +1239,7 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -1077,7 +1280,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}"> @@ -1128,6 +1331,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -1154,8 +1358,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}" @@ -1196,9 +1401,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">