/[cvs]/jsr166/build.xml
ViewVC logotype

Diff of /jsr166/build.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.251 by jsr166, Tue Sep 19 19:47:20 2017 UTC revision 1.254 by jsr166, Mon Sep 25 22:54:09 2017 UTC
# Line 181  Line 181 
181    <property name="junit.jar"        location="${lib.dir}/junit.jar"/>    <property name="junit.jar"        location="${lib.dir}/junit.jar"/>
182    
183    <!-- Canonical location of jdk docs root, to use with javadoc -Xdocrootparent flag -->    <!-- Canonical location of jdk docs root, to use with javadoc -Xdocrootparent flag -->
184    <property name="java5.docroot.url"      value="http://docs.oracle.com/javase/1.5.0/docs"/>    <property name="java5.docroot.url"  value="http://docs.oracle.com/javase/1.5.0/docs"/>
185    <property name="java6.docroot.url"      value="http://docs.oracle.com/javase/6/docs"/>    <property name="java6.docroot.url"  value="http://docs.oracle.com/javase/6/docs"/>
186    <property name="java7.docroot.url"      value="http://docs.oracle.com/javase/7/docs"/>    <property name="java7.docroot.url"  value="http://docs.oracle.com/javase/7/docs"/>
187    <property name="java8.docroot.url"      value="http://docs.oracle.com/javase/8/docs"/>    <property name="java8.docroot.url"  value="http://docs.oracle.com/javase/8/docs"/>
188    <!-- The expected canonical location does not yet exist as of 2016-04 -->    <property name="java9.docroot.url"  value="http://docs.oracle.com/javase/9/docs"/>
189    <!-- <property name="java9.docroot.url" value="http://docs.oracle.com/javase/9/docs"/> -->    <!-- The location of jdk9 early access docs -->
190    <property name="java9.docroot.url"      value="http://download.java.net/java/jdk9/docs"/>    <!-- <property name="java9.docroot.url" value="http://download.java.net/java/jdk9/docs"/> -->
191    <!-- Default jdk doc location (latest stable release seems best) -->    <!-- Default jdk doc location (latest stable release seems best) -->
192    <property name="java.docroot.url"       value="${java8.docroot.url}"/>    <property name="java.docroot.url"   value="${java9.docroot.url}"/>
193    
194    <!-- Canonical location of jdk API docs, to use with javadoc link attribute -->    <!-- Canonical location of jdk API docs, to use with javadoc link attribute -->
195    <property name="java5.api.url"      value="${java5.docroot.url}/api/"/>    <property name="java5.api.url"      value="${java5.docroot.url}/api/"/>
# Line 1377  Line 1377 
1377  <!-- ==============================================================  <!-- ==============================================================
1378    Experimental errorprone support - http://errorprone.info    Experimental errorprone support - http://errorprone.info
1379  =================================================================== -->  =================================================================== -->
1380      <property name="errorprone.jar" location="${lib.dir}/error_prone_ant-2.0.21.jar"/>
1381    <target name="errorprone"    <target name="errorprone"
1382            depends="clean, configure-compiler"            depends="clean, configure-compiler"
1383            description="Run errorprone over jsr166 source code (experimental)">            description="Run errorprone over jsr166 source code (experimental)">
# Line 1398  Line 1399 
1399             fork="true">             fork="true">
1400    
1401        <include name="**/*.java"/>        <include name="**/*.java"/>
1402        <compilerarg line="-processorpath ${lib.dir}/error_prone_ant-2.0.21.jar"/>        <compilerarg line="-processorpath ${errorprone.jar}"/>
1403        <compilerarg value="-Xplugin:ErrorProne        <compilerarg value="-Xplugin:ErrorProne
1404                            -Xep:IdentityBinaryExpression:WARN                            -Xep:IdentityBinaryExpression:WARN
1405                            -Xep:MissingOverride:OFF                            -Xep:MissingOverride:OFF
# Line 1428  Line 1429 
1429        workdir="${build.dir}"        workdir="${build.dir}"
1430        classes="${product.jar}">        classes="${product.jar}">
1431        <javac-elements>        <javac-elements>
1432          <compilerarg line="-processorpath ${lib.dir}/error_prone_ant-2.0.21.jar"/>          <compilerarg line="-processorpath ${errorprone.jar}"/>
1433          <compilerarg value="-Xplugin:ErrorProne          <compilerarg value="-Xplugin:ErrorProne
1434                              -Xep:IdentityBinaryExpression:WARN                              -Xep:IdentityBinaryExpression:WARN
1435                              -Xep:BoxedPrimitiveConstructor:OFF                              -Xep:BoxedPrimitiveConstructor:OFF
# Line 1502  Line 1503 
1503           dest="${guava.dir}/guava-testlib-tests.jar" usetimestamp="true"/>           dest="${guava.dir}/guava-testlib-tests.jar" usetimestamp="true"/>
1504      <junit printsummary="true" showoutput="true" haltonfailure="true"      <junit printsummary="true" showoutput="true" haltonfailure="true"
1505             jvm="${build.main.java}" fork="true">             jvm="${build.main.java}" fork="true">
1506        <jvmarg line="-ea -esa --patch-module java.base=${product.jar}"/>        <jvmarg line="-ea -esa --patch-module=java.base=${product.jar}"/>
1507        <formatter type="brief"/>        <formatter type="brief"/>
1508        <classpath>        <classpath>
1509          <pathelement location="${guava.dir}/guava-testlib-tests.jar"/>          <pathelement location="${guava.dir}/guava-testlib-tests.jar"/>

Legend:
Removed from v.1.251  
changed lines
  Added in v.1.254

dl@cs.oswego.edu
ViewVC Help
Powered by ViewVC 1.1.27