/[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.179 by jsr166, Sun Sep 13 03:22:29 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"/>      <available property="jdk@{v}.have.java.base"
99          file="${jdks.home}/src/jdk@{v}/jdk/src/java.base/share/classes" type="dir"/>
100        <property name="jdk@{v}src.dir" location="${jdks.home}/src/jdk@{v}/jdk/src/java.base/share/classes"
101          if:set="jdk@{v}.have.java.base"/>
102        <property name="jdk@{v}src.dir" location="${jdks.home}/src/jdk@{v}/jdk/src/share/classes"
103          unless:set="jdk@{v}.have.java.base"/>
104      <local name="boot.jar.dir"/>      <local name="boot.jar.dir"/>
105      <property name="boot.jar.dir"   location="${jdk@{v}.home}/jre/lib"/>      <property name="boot.jar.dir"   location="${jdk@{v}.home}/jre/lib"/>
106      <path id="bootclasspath@{v}">      <path id="bootclasspath@{v}">
# Line 358  Line 365 
365    
366      <jar destfile="${product.jar}">      <jar destfile="${product.jar}">
367        <fileset dir="${build.classes.dir}"/>        <fileset dir="${build.classes.dir}"/>
368          <manifest>
369            <attribute name="Built-By" value="${user.name}"/>
370            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
371          </manifest>
372      </jar>      </jar>
373    </target>    </target>
374    
# Line 416  Line 427 
427        <exclude name="src/emulation/**"/>        <exclude name="src/emulation/**"/>
428        <exclude name="**/SyntaxTest.java"/>        <exclude name="**/SyntaxTest.java"/>
429        <exclude name="**/SuperfluousAbstract.java"/>        <exclude name="**/SuperfluousAbstract.java"/>
430          <manifest>
431            <attribute name="Built-By" value="${user.name}"/>
432            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
433          </manifest>
434      </jar>      </jar>
435    </target>    </target>
436    
# Line 653  Line 668 
668    
669      <jar destfile="${4jdk7product.jar}">      <jar destfile="${4jdk7product.jar}">
670        <fileset dir="${build.4jdk7.classes.dir}"/>        <fileset dir="${build.4jdk7.classes.dir}"/>
671          <manifest>
672            <attribute name="Built-By" value="${user.name}"/>
673            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
674          </manifest>
675      </jar>      </jar>
676    
677    </target>    </target>
# Line 670  Line 689 
689          <!-- JDK8+ test classes -->          <!-- JDK8+ test classes -->
690          <exclude name="*8Test.java"/>          <exclude name="*8Test.java"/>
691          <exclude name="*9Test.java"/>          <exclude name="*9Test.java"/>
692            <exclude name="*10Test.java"/>
693          <exclude name="DoubleAccumulatorTest.java"/>          <exclude name="DoubleAccumulatorTest.java"/>
694          <exclude name="DoubleAdderTest.java"/>          <exclude name="DoubleAdderTest.java"/>
695          <exclude name="LongAccumulatorTest.java"/>          <exclude name="LongAccumulatorTest.java"/>
# Line 677  Line 697 
697          <exclude name="CompletableFutureTest.java"/>          <exclude name="CompletableFutureTest.java"/>
698          <exclude name="SplittableRandomTest.java"/>          <exclude name="SplittableRandomTest.java"/>
699          <exclude name="StampedLockTest.java"/>          <exclude name="StampedLockTest.java"/>
700            <exclude name="SubmissionPublisherTest.java"/>
701        </javac-elements>        </javac-elements>
702      </run-tck-tests>      </run-tck-tests>
703    </target>    </target>
# Line 811  Line 832 
832    
833      <jar destfile="${jsr166x.jar}">      <jar destfile="${jsr166x.jar}">
834        <fileset dir="${build.jsr166x.classes.dir}"/>        <fileset dir="${build.jsr166x.classes.dir}"/>
835          <manifest>
836            <attribute name="Built-By" value="${user.name}"/>
837            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
838          </manifest>
839      </jar>      </jar>
840    
841    </target>    </target>
# Line 898  Line 923 
923    
924      <jar destfile="${jsr166y.jar}" index="true">      <jar destfile="${jsr166y.jar}" index="true">
925        <fileset dir="${build.jsr166y.classes.dir}"/>        <fileset dir="${build.jsr166y.classes.dir}"/>
926          <manifest>
927            <attribute name="Built-By" value="${user.name}"/>
928            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
929          </manifest>
930      </jar>      </jar>
931    
932    </target>    </target>
# Line 986  Line 1015 
1015    
1016      <jar destfile="${extra166y.jar}" index="true">      <jar destfile="${extra166y.jar}" index="true">
1017        <fileset dir="${build.extra166y.classes.dir}"/>        <fileset dir="${build.extra166y.classes.dir}"/>
1018          <manifest>
1019            <attribute name="Built-By" value="${user.name}"/>
1020            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
1021          </manifest>
1022      </jar>      </jar>
1023    
1024    </target>    </target>
# Line 1101  Line 1134 
1134    
1135      <jar destfile="${jsr166e.jar}" index="true">      <jar destfile="${jsr166e.jar}" index="true">
1136        <fileset dir="${build.jsr166e.classes.dir}"/>        <fileset dir="${build.jsr166e.classes.dir}"/>
1137          <manifest>
1138            <attribute name="Built-By" value="${user.name}"/>
1139            <attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/>
1140          </manifest>
1141      </jar>      </jar>
1142    
1143    </target>    </target>

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

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