--- jsr166/build.xml 2015/09/13 03:22:29 1.179 +++ 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. @@ -27,12 +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 2016-03, the sources in src/main are for jdk9+ only. The "docs" + target is currently broken. ------------------------------------------------------------------------------ - + @@ -52,17 +58,6 @@ - - - - - - @@ -75,6 +70,11 @@ + + + + + @@ -91,26 +91,30 @@ - - - - - - - + + + + + + + + + + + - - + + - + @@ -137,13 +141,14 @@ - + + @@ -152,6 +157,7 @@ + @@ -159,6 +165,7 @@ + @@ -167,6 +174,7 @@ + @@ -178,9 +186,9 @@ - + - + @@ -197,22 +205,34 @@ - - - - - - + + - + + + + + + + + - - + + + @@ -241,17 +263,19 @@ failonerror="true" jvm="${java@{target}}" fork="true"> - + + + + - - + + + + - - - @@ -283,6 +307,9 @@ + + + @@ -290,23 +317,33 @@ + + + + + + + + + + - - - + workDir="@{workdir}/JTwork"> - + + + - + + + @@ -326,27 +363,41 @@ - + + + + + + + + + + + + + + @@ -361,10 +412,11 @@ - + description="Builds library jar for src/main from compiled sources"> + + - + @@ -382,12 +434,14 @@ + + @@ -396,14 +450,21 @@ + + + + - - - + - + + + + + + @@ -464,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"> - + - - - - + + + + - + - + + - - - - - + + + + + - - - - - + + + + + - + + + + + + @@ -549,8 +622,8 @@ - + + @@ -560,6 +633,8 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" + encoding="ASCII" fork="true"> @@ -587,6 +662,7 @@ deprecation="${build.deprecation}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac9}" fork="true"> @@ -601,6 +677,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -644,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"> @@ -703,9 +955,9 @@ + + depends="4jdk7compile"> + executable="${javadoc7}" + failonerror = "true"> @@ -811,8 +1064,10 @@ classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -851,10 +1106,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"> @@ -900,10 +1156,12 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -942,10 +1200,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"> @@ -994,8 +1253,10 @@ bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" + encoding="ASCII" executable="${javac7}" fork="true"> @@ -1034,7 +1295,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}"> @@ -1085,6 +1346,7 @@ debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" @@ -1111,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}" @@ -1153,9 +1416,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">