--- jsr166/build.xml 2014/02/16 14:25:46 1.151 +++ jsr166/build.xml 2016/11/24 01:53:50 1.223 @@ -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,15 +58,6 @@ - - - - - - - - - @@ -67,6 +70,11 @@ + + + + + @@ -83,21 +91,30 @@ - - - - - + + + + + + + + + + + - - + + - + @@ -123,11 +140,15 @@ - + + + + + @@ -136,6 +157,7 @@ + @@ -143,6 +165,7 @@ + @@ -151,49 +174,65 @@ + - - - - - - - - - - - - + + + + + + + + + + - - + + + + + + + - - - - - - + + - + + + + + + + + - + + + @@ -222,11 +263,19 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + - - - + + + + + + + + + + @@ -236,30 +285,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + - - - - - - + workDir="@{workdir}/JTwork"> + + + + - + + + @@ -279,30 +363,45 @@ - + + + + + + + + + + + + + + + @@ -313,10 +412,15 @@ - + description="Builds library jar for src/main from compiled sources"> + + - + + + + + @@ -330,27 +434,37 @@ + + + + + + + - - - + - + + + + + + @@ -374,6 +488,10 @@ + + + + @@ -405,10 +523,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"> - + - - - - - + + + + - - - - - + - + + + + + + + + + + + + + + + + + + + + + @@ -470,8 +622,8 @@ - + + @@ -481,6 +633,8 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -496,6 +650,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -521,6 +876,7 @@ + @@ -538,10 +894,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"> @@ -562,12 +920,16 @@ + + + + - @@ -579,6 +941,7 @@ + @@ -586,14 +949,15 @@ + - + + - + classes="${4jdk7product.jar}"/> @@ -644,15 +1007,17 @@ + executable="${javadoc7}" + failonerror = "true"> + @@ -699,14 +1064,17 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> + @@ -719,6 +1087,10 @@ + + + + @@ -732,12 +1104,14 @@ + executable="${javadoc7}" + failonerror = "true"> + @@ -782,16 +1156,19 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> + @@ -804,6 +1181,10 @@ + + + + @@ -817,12 +1198,14 @@ + executable="${javadoc7}" + failonerror = "true"> + @@ -870,14 +1253,17 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> + @@ -890,6 +1276,10 @@ + + + + @@ -903,12 +1293,13 @@ + @@ -955,6 +1346,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -964,6 +1356,7 @@ + @@ -980,8 +1373,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}" @@ -990,6 +1384,7 @@ + @@ -1002,6 +1397,10 @@ + + + + @@ -1015,18 +1414,20 @@ + executable="${javadoc7}" + failonerror = "true"> + - @@ -1038,23 +1439,23 @@ classes="${jsr166e.jar}"/> - - + - + - + @@ -1062,7 +1463,7 @@ @@ -1092,6 +1493,13 @@ + + + + + + +