--- jsr166/build.xml 2014/06/25 08:29:01 1.156 +++ jsr166/build.xml 2016/08/30 02:41:07 1.217 @@ -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. @@ -24,16 +28,24 @@ $HOME/jdk/src/jdk9 where each of the above is a complete JDK source tree (e.g. mercurial forest) or a symlink to same. + + Alternatively, define ant variables thus: + 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. ------------------------------------------------------------------------------ - + + @@ -46,20 +58,6 @@ - - - - - - - @@ -72,6 +70,11 @@ + + + + + @@ -88,21 +91,30 @@ - - - - - + + + + + + + + + + + - - + + - + @@ -128,11 +140,15 @@ - + + + + + @@ -141,6 +157,7 @@ + @@ -148,6 +165,7 @@ + @@ -156,6 +174,7 @@ + @@ -166,14 +185,12 @@ - - - - + + - + - + @@ -188,22 +205,34 @@ - - - - - - + + - + + + + + + + + - + + + @@ -232,11 +262,19 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + - - - + + + + + + + + + + @@ -246,31 +284,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + - - - - - + + + - + + @@ -290,17 +362,29 @@ - + + + + + + + + + + + + + + + @@ -324,10 +410,15 @@ - + description="Builds library jar for src/main from compiled sources"> + + - + + + + + @@ -341,12 +432,14 @@ + + @@ -355,6 +448,7 @@ + @@ -363,6 +457,11 @@ + + + + + @@ -386,6 +485,10 @@ + + + + @@ -417,10 +520,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"> - + - - - - - + + + + - - - - - + - + + + + + + + + + + + + + + + + + + + + + @@ -482,8 +619,8 @@ - + + @@ -493,6 +630,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" fork="true"> @@ -508,6 +646,201 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -550,8 +885,9 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" - bootclasspath="${bootclasspath7}" + bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac8}" @@ -574,12 +910,16 @@ + + + + - @@ -591,6 +931,7 @@ + @@ -598,14 +939,15 @@ + - + + - + classes="${4jdk7product.jar}"/> @@ -659,9 +1000,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"> @@ -712,6 +1054,7 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -720,6 +1063,7 @@ + @@ -732,6 +1076,10 @@ + + + + @@ -747,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"> @@ -796,6 +1145,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" @@ -806,6 +1156,7 @@ + @@ -818,6 +1169,10 @@ + + + + @@ -833,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"> @@ -885,6 +1241,7 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -893,6 +1250,7 @@ + @@ -905,6 +1263,10 @@ + + + + @@ -920,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}"> @@ -971,6 +1333,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -980,6 +1343,7 @@ + @@ -996,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}" @@ -1006,6 +1371,7 @@ + @@ -1018,6 +1384,10 @@ + + + + @@ -1033,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"> @@ -1043,7 +1414,7 @@ - @@ -1055,23 +1426,23 @@ classes="${jsr166e.jar}"/> - - + - + - + @@ -1079,7 +1450,7 @@ @@ -1109,6 +1480,13 @@ + + + + + + +