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

Diff of /jsr166/build.xml

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

revision 1.174 by jsr166, Thu Sep 3 01:38:44 2015 UTC revision 1.181 by jsr166, Sun Sep 13 05:26:02 2015 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">
3    
4    <description>    <description>
5  ------------------------------------------------------------------------------  ------------------------------------------------------------------------------
# Line 38  Line 39 
39      </java>      </java>
40    </target>    </target>
41    
42      <!-- HOWTO printf debug: <echo message="prop=${prop}"/> -->
43    
44    <!-- User-specific settings -->    <!-- User-specific settings -->
45    <property file="user.properties"/>    <property file="user.properties"/>
# Line 52  Line 54 
54    
55    <!-- Tck options; see JSR166TestCase.java    <!-- Tck options; see JSR166TestCase.java
56     To profile a single tck test class:     To profile a single tck test class:
57     ant -Djsr166.profileTests=true -Djsr166.profileThreshold=100 -Djsr166.tckTestClass=CompletableFutureTest tck     ant -Djsr166.profileTests=true -Djsr166.profileThreshold=10 -Djsr166.tckTestClass=CompletableFutureTest tck
58     To stress test a single tck test class:     To stress test a single tck test class:
59     ant -Djsr166.tckTestClass=CountedCompleterTest -Djsr166.runsPerTest=100 tck     ant -Djsr166.tckTestClass=CountedCompleterTest -Djsr166.runsPerTest=100 tck
60    -->    -->
# Line 93  Line 95 
95      <property name="java@{v}"       location="${jdk@{v}.home}/bin/java"/>      <property name="java@{v}"       location="${jdk@{v}.home}/bin/java"/>
96      <property name="javac@{v}"      location="${jdk@{v}.home}/bin/javac"/>      <property name="javac@{v}"      location="${jdk@{v}.home}/bin/javac"/>
97      <property name="javadoc@{v}"    location="${jdk@{v}.home}/bin/javadoc"/>      <property name="javadoc@{v}"    location="${jdk@{v}.home}/bin/javadoc"/>
98      <property name="jdk@{v}src.dir" location="${jdks.home}/src/jdk@{v}/jdk/src/share/classes"/>      <local name="have.java.base"/>
99        <available property="have.java.base"
100          file="${jdks.home}/src/jdk@{v}/jdk/src/java.base/share/classes" type="dir"/>
101        <property name="jdk@{v}src.dir" location="${jdks.home}/src/jdk@{v}/jdk/src/java.base/share/classes"
102          if:set="have.java.base"/>
103        <property name="jdk@{v}src.dir" location="${jdks.home}/src/jdk@{v}/jdk/src/share/classes"
104          unless:set="have.java.base"/>
105      <local name="boot.jar.dir"/>      <local name="boot.jar.dir"/>
106      <property name="boot.jar.dir"   location="${jdk@{v}.home}/jre/lib"/>      <property name="boot.jar.dir"   location="${jdk@{v}.home}/jre/lib"/>
107      <path id="bootclasspath@{v}">      <path id="bootclasspath@{v}">
# Line 358  Line 366 
366    
367      <jar destfile="${product.jar}">      <jar destfile="${product.jar}">
368        <fileset dir="${build.classes.dir}"/>        <fileset dir="${build.classes.dir}"/>
369          <manifest>
370            <attribute name="Built-By" value="${user.name}"/>
371            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
372          </manifest>
373      </jar>      </jar>
374    </target>    </target>
375    
# Line 416  Line 428 
428        <exclude name="src/emulation/**"/>        <exclude name="src/emulation/**"/>
429        <exclude name="**/SyntaxTest.java"/>        <exclude name="**/SyntaxTest.java"/>
430        <exclude name="**/SuperfluousAbstract.java"/>        <exclude name="**/SuperfluousAbstract.java"/>
431          <manifest>
432            <attribute name="Built-By" value="${user.name}"/>
433            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
434          </manifest>
435      </jar>      </jar>
436    </target>    </target>
437    
# Line 514  Line 530 
530    
531    
532    <target name="configure-compiler">    <target name="configure-compiler">
533        <fail message="ant version too old">
534          <condition>
535            <not> <antversion atleast="1.9.1"/> </not>
536          </condition>
537        </fail>
538    
539      <property name="unchecked.option" value="-Xlint:unchecked"/>      <property name="unchecked.option" value="-Xlint:unchecked"/>
540    
# Line 653  Line 674 
674    
675      <jar destfile="${4jdk7product.jar}">      <jar destfile="${4jdk7product.jar}">
676        <fileset dir="${build.4jdk7.classes.dir}"/>        <fileset dir="${build.4jdk7.classes.dir}"/>
677          <manifest>
678            <attribute name="Built-By" value="${user.name}"/>
679            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
680          </manifest>
681      </jar>      </jar>
682    
683    </target>    </target>
# Line 670  Line 695 
695          <!-- JDK8+ test classes -->          <!-- JDK8+ test classes -->
696          <exclude name="*8Test.java"/>          <exclude name="*8Test.java"/>
697          <exclude name="*9Test.java"/>          <exclude name="*9Test.java"/>
698            <exclude name="*10Test.java"/>
699          <exclude name="DoubleAccumulatorTest.java"/>          <exclude name="DoubleAccumulatorTest.java"/>
700          <exclude name="DoubleAdderTest.java"/>          <exclude name="DoubleAdderTest.java"/>
701          <exclude name="LongAccumulatorTest.java"/>          <exclude name="LongAccumulatorTest.java"/>
# Line 677  Line 703 
703          <exclude name="CompletableFutureTest.java"/>          <exclude name="CompletableFutureTest.java"/>
704          <exclude name="SplittableRandomTest.java"/>          <exclude name="SplittableRandomTest.java"/>
705          <exclude name="StampedLockTest.java"/>          <exclude name="StampedLockTest.java"/>
706            <exclude name="SubmissionPublisherTest.java"/>
707        </javac-elements>        </javac-elements>
708      </run-tck-tests>      </run-tck-tests>
709    </target>    </target>
# Line 811  Line 838 
838    
839      <jar destfile="${jsr166x.jar}">      <jar destfile="${jsr166x.jar}">
840        <fileset dir="${build.jsr166x.classes.dir}"/>        <fileset dir="${build.jsr166x.classes.dir}"/>
841          <manifest>
842            <attribute name="Built-By" value="${user.name}"/>
843            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
844          </manifest>
845      </jar>      </jar>
846    
847    </target>    </target>
# Line 898  Line 929 
929    
930      <jar destfile="${jsr166y.jar}" index="true">      <jar destfile="${jsr166y.jar}" index="true">
931        <fileset dir="${build.jsr166y.classes.dir}"/>        <fileset dir="${build.jsr166y.classes.dir}"/>
932          <manifest>
933            <attribute name="Built-By" value="${user.name}"/>
934            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
935          </manifest>
936      </jar>      </jar>
937    
938    </target>    </target>
# Line 986  Line 1021 
1021    
1022      <jar destfile="${extra166y.jar}" index="true">      <jar destfile="${extra166y.jar}" index="true">
1023        <fileset dir="${build.extra166y.classes.dir}"/>        <fileset dir="${build.extra166y.classes.dir}"/>
1024          <manifest>
1025            <attribute name="Built-By" value="${user.name}"/>
1026            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
1027          </manifest>
1028      </jar>      </jar>
1029    
1030    </target>    </target>
# Line 1101  Line 1140 
1140    
1141      <jar destfile="${jsr166e.jar}" index="true">      <jar destfile="${jsr166e.jar}" index="true">
1142        <fileset dir="${build.jsr166e.classes.dir}"/>        <fileset dir="${build.jsr166e.classes.dir}"/>
1143          <manifest>
1144            <attribute name="Built-By" value="${user.name}"/>
1145            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
1146          </manifest>
1147      </jar>      </jar>
1148    
1149    </target>    </target>

Legend:
Removed from v.1.174  
changed lines
  Added in v.1.181

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