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

Diff of /jsr166/build.xml

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

revision 1.265 by jsr166, Sun Feb 4 20:00:47 2018 UTC revision 1.267 by jsr166, Tue Feb 27 21:18:06 2018 UTC
# Line 1  Line 1 
1  <project name="jsr166" default="usage"  <project name="jsr166" default="usage"
2    xmlns:if="ant:if" xmlns:unless="ant:unless"    xmlns:if="ant:if"
3      xmlns:unless="ant:unless"
4    xmlns:ivy="antlib:org.apache.ivy.ant">    xmlns:ivy="antlib:org.apache.ivy.ant">
5    
6    <description>    <description>
# Line 305  Line 306 
306    </macrodef>    </macrodef>
307    
308    <!-- Define jtreg test sets for different jdk versions -->    <!-- Define jtreg test sets for different jdk versions -->
309    <fileset dir="${jtreg11.src.dir}">    <!-- ant -Djtreg.test.pattern="**/ConcurrentHashMap/" -->
310      <patternset id="jdk11.jtreg.tests">    <!-- ant -Djtreg.test.pattern="**/ToArray.java" -->
311        <include name="**/*.java"/>    <property name="jtreg.test.pattern" value="**/*.java"/>
312      </patternset>    <macrodef name="defjtregtests">
313    </fileset>      <attribute name="v"/>
314        <sequential>
315    <fileset dir="${jtreg10.src.dir}">        <fileset dir="${jtreg@{v}.src.dir}">
316      <patternset id="jdk10.jtreg.tests">          <patternset id="jdk@{v}.jtreg.tests">
317        <include name="**/*.java"/>            <include name="${jtreg.test.pattern}"/>
318      </patternset>          </patternset>
319    </fileset>        </fileset>
320        </sequential>
321    <fileset dir="${jtreg9.src.dir}">    </macrodef>
     <patternset id="jdk9.jtreg.tests">  
       <include name="**/*.java"/>  
     </patternset>  
   </fileset>  
   
   <fileset dir="${jtreg8.src.dir}">  
     <patternset id="jdk8.jtreg.tests">  
       <include name="**/*.java"/>  
     </patternset>  
   </fileset>  
322    
323    <fileset dir="${jtreg7.src.dir}">    <defjtregtests v="11"/>
324      <patternset id="jdk7.jtreg.tests">    <defjtregtests v="10"/>
325        <include name="**/*.java"/>    <defjtregtests v="9"/>
326      </patternset>    <defjtregtests v="8"/>
327    </fileset>    <defjtregtests v="7"/>
328    
329    <!-- ant -Djtreg.flags=-timeoutFactor:4 -->    <!-- ant -Djtreg.flags=-timeoutFactor:4 -->
330    <property name="jtreg.flags" value=""/>    <property name="jtreg.flags" value=""/>
# Line 1398  Line 1389 
1389    Experimental errorprone support - http://errorprone.info    Experimental errorprone support - http://errorprone.info
1390  =================================================================== -->  =================================================================== -->
1391    <property name="errorprone.jar" location="${lib.dir}/error_prone_ant-2.2.0.jar"/>    <property name="errorprone.jar" location="${lib.dir}/error_prone_ant-2.2.0.jar"/>
1392      <property name="errorprone.jsr166.user.flags" value=""/>
1393    <property name="errorprone.jsr166.flags"    <property name="errorprone.jsr166.flags"
1394              value="-Xep:HashtableContains:OFF              value="-Xep:HashtableContains:OFF
1395                     -Xep:JdkObsolete:OFF                     -Xep:JdkObsolete:OFF
# Line 1411  Line 1403 
1403                     -Xep:LongLiteralLowerCaseSuffix:ERROR                     -Xep:LongLiteralLowerCaseSuffix:ERROR
1404                     -Xep:RedundantThrows:ERROR                     -Xep:RedundantThrows:ERROR
1405                     -Xep:IdentityBinaryExpression:WARN                     -Xep:IdentityBinaryExpression:WARN
1406                     -Xep:MethodCanBeStatic:WARN"/>                     -Xep:MethodCanBeStatic:WARN
1407                       ${errorprone.jsr166.user.flags}"/>
1408    <!-- -Xep:WildcardImport:ERROR -->    <!-- -Xep:WildcardImport:ERROR -->
1409    <property name="errorprone.jsr166.test.flags"    <property name="errorprone.jsr166.test.flags"
1410              value="-Xep:StringSplitter:OFF              value="-Xep:StringSplitter:OFF

Legend:
Removed from v.1.265  
changed lines
  Added in v.1.267

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