--- jsr166/build.xml 2016/03/25 03:36:15 1.199 +++ jsr166/build.xml 2016/11/24 01:53:50 1.223 @@ -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. @@ -30,14 +33,12 @@ 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.home="$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. ------------------------------------------------------------------------------ - + @@ -69,6 +70,11 @@ + + + + + @@ -135,13 +141,14 @@ - + + @@ -150,6 +157,7 @@ + @@ -157,6 +165,7 @@ + @@ -165,6 +174,7 @@ + @@ -176,9 +186,9 @@ - + - + @@ -210,7 +220,10 @@ - + + @@ -232,6 +245,7 @@ classpath="${junit.jar}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac@{compile-target}}" fork="true"> @@ -239,7 +253,7 @@ - + @@ -250,10 +264,12 @@ jvm="${java@{target}}" fork="true"> - + + + - + @@ -313,19 +329,15 @@ - - - - - + workDir="@{workdir}/JTwork"> - + + + @@ -351,7 +363,7 @@ @@ -394,18 +407,16 @@ - - - - + description="Builds library jar for src/main from compiled sources"> + + - + @@ -423,12 +434,14 @@ + + @@ -437,20 +450,21 @@ - + + + + - - - - - - + - - - + + + + + + @@ -511,7 +525,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"> - + - - - - + + + + - + - + + - - - - - + + + + + - - - - - + + + + + - + @@ -601,8 +622,8 @@ - + + @@ -613,6 +634,7 @@ deprecation="${build.deprecation}" source="${build.sourcelevel}" target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -640,6 +662,7 @@ deprecation="${build.deprecation}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac9}" fork="true"> @@ -654,6 +677,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -703,6 +899,7 @@ bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac8}" fork="true"> @@ -758,9 +955,9 @@ + + depends="4jdk7compile"> + executable="${javadoc7}" + failonerror = "true"> @@ -869,6 +1067,7 @@ target="5" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -910,7 +1109,8 @@ sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="5" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> @@ -961,6 +1161,7 @@ bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -1002,7 +1203,8 @@ sourcepath="${topsrc.dir}:${jdk6.src.dir}" bootclasspath="${bootclasspath6}" source="6" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true"> @@ -1054,6 +1256,7 @@ target="6" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -1215,7 +1418,8 @@ access="${build.javadoc.access}" sourcepath="${topsrc.dir}:${jdk6.src.dir}" source="${build.jsr166e.java.version}" - executable="${javadoc7}"> + executable="${javadoc7}" + failonerror = "true">