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

Diff of /jsr166/build.xml

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

revision 1.144 by jsr166, Sun Jul 14 19:55:04 2013 UTC revision 1.150 by jsr166, Mon Jul 22 17:50:12 2013 UTC
# Line 26  As of 2013-02, the very latest lambda 8 Line 26  As of 2013-02, the very latest lambda 8
26  ------------------------------------------------------------------------------  ------------------------------------------------------------------------------
27    </description>    </description>
28    
29    <target name="usage" description="Display main targets by running 'ant -projecthelp'">    <!-- Display main targets by running 'ant -projecthelp' -->
30      <target name="usage">
31      <java classname="org.apache.tools.ant.Main">      <java classname="org.apache.tools.ant.Main">
32        <arg value="-projecthelp" />        <arg value="-projecthelp" />
33      </java>      </java>
# Line 293  As of 2013-02, the very latest lambda 8 Line 294  As of 2013-02, the very latest lambda 8
294        <compilerarg value="-Xprefer:source"/>        <compilerarg value="-Xprefer:source"/>
295        <compilerarg value="-XDignore.symbol.file=true"/>        <compilerarg value="-XDignore.symbol.file=true"/>
296        <compilerarg value="-Xlint:all"/>        <compilerarg value="-Xlint:all"/>
297          <compilerarg value="-Xdoclint:all/protected"/>
298          <compilerarg line="-Xmaxerrs 1000 -Xmaxwarns 1000"/>
299        <compilerarg line="${build.args}"/>        <compilerarg line="${build.args}"/>
300    
301      </javac>      </javac>
# Line 329  As of 2013-02, the very latest lambda 8 Line 332  As of 2013-02, the very latest lambda 8
332        <fileset dir="${src.dir}" defaultexcludes="yes">        <fileset dir="${src.dir}" defaultexcludes="yes">
333          <include name="**/*.java"/>          <include name="**/*.java"/>
334        </fileset>        </fileset>
335          <arg line="-Xmaxerrs 1000 -Xmaxwarns 1000"/>
336        <arg value="-XDignore.symbol.file=true"/>        <arg value="-XDignore.symbol.file=true"/>
337        <arg value="-tag"/>        <arg value="-tag"/>
338        <arg value="${javadoc.jls.option}"/>        <arg value="${javadoc.jls.option}"/>
# Line 376  As of 2013-02, the very latest lambda 8 Line 380  As of 2013-02, the very latest lambda 8
380    <target name="dist-clean"    <target name="dist-clean"
381            description="Removes all build and distribution products">            description="Removes all build and distribution products">
382    
383        <delete dir="${build.dir}"/>
384      <delete dir="${dist.dir}"/>      <delete dir="${dist.dir}"/>
385    
386    </target>    </target>
# Line 495  As of 2013-02, the very latest lambda 8 Line 500  As of 2013-02, the very latest lambda 8
500      </javac>      </javac>
501    </target>    </target>
502    
503      <target name="4jdk7doclint"
504              depends="configure-compiler"
505              description="Finds doclint warnings">
506    
507        <mkdir dir="${build.4jdk7.classes.dir}"/>
508    
509        <javac srcdir="${4jdk7src.dir}"
510               destdir="${build.4jdk7.classes.dir}"
511               debug="${build.debug}"
512               debuglevel="${build.debuglevel}"
513               deprecation="${build.deprecation}"
514               source="6"
515               classpath=""
516               bootclasspath="${bootclasspath7}"
517               includeAntRuntime="false"
518               includeJavaRuntime="false"
519               executable="${javac8}"
520               fork="true">
521    
522          <include name="**/*.java"/>
523          <compilerarg value="-Xprefer:source"/>
524          <compilerarg value="-XDignore.symbol.file=true"/>
525          <compilerarg value="-Xlint:all"/>
526          <compilerarg value="-Xdoclint:all/protected"/>
527          <compilerarg line="${build.args}"/>
528    
529        </javac>
530      </target>
531    
532    
533    <target name="4jdk7jar"    <target name="4jdk7jar"
534            depends="4jdk7compile"            depends="4jdk7compile"
# Line 523  As of 2013-02, the very latest lambda 8 Line 557  As of 2013-02, the very latest lambda 8
557          <exclude name="LongAccumulatorTest.java"/>          <exclude name="LongAccumulatorTest.java"/>
558          <exclude name="LongAdderTest.java"/>          <exclude name="LongAdderTest.java"/>
559          <exclude name="CompletableFutureTest.java"/>          <exclude name="CompletableFutureTest.java"/>
560            <exclude name="SplittableRandomTest.java"/>
561          <exclude name="StampedLockTest.java"/>          <exclude name="StampedLockTest.java"/>
562        </javac-elements>        </javac-elements>
563      </run-tck-tests>      </run-tck-tests>
# Line 609  As of 2013-02, the very latest lambda 8 Line 644  As of 2013-02, the very latest lambda 8
644    </target>    </target>
645    
646    
   <target name="4jdk7dist-clean"  
           description="Removes all build and distribution products">  
   
   </target>  
   
647    <target name="4jdk7dist-jar"    <target name="4jdk7dist-jar"
648            depends="4jdk7clean, 4jdk7jar">            depends="4jdk7clean, 4jdk7jar">
649      <copy file="${4jdk7product.jar}" todir="${dist.dir}"/>      <copy file="${4jdk7product.jar}" todir="${dist.dir}"/>
# Line 700  As of 2013-02, the very latest lambda 8 Line 730  As of 2013-02, the very latest lambda 8
730    </target>    </target>
731    
732    
   <target name="jsr166xdist-clean"  
           description="Removes all build and distribution products">  
   
   </target>  
   
   
733    <target name="jsr166xdist-jar"    <target name="jsr166xdist-jar"
734            depends="jsr166xclean, jsr166xjar">            depends="jsr166xclean, jsr166xjar">
735      <copy file="${jsr166x.jar}" todir="${dist.dir}"/>      <copy file="${jsr166x.jar}" todir="${dist.dir}"/>
# Line 791  As of 2013-02, the very latest lambda 8 Line 815  As of 2013-02, the very latest lambda 8
815    </target>    </target>
816    
817    
   <target name="jsr166ydist-clean"  
           description="Removes all build and distribution products">  
   
   </target>  
   
818    <target name="jsr166ydist-jar"    <target name="jsr166ydist-jar"
819            depends="jsr166yclean, jsr166yjar">            depends="jsr166yclean, jsr166yjar">
820      <copy file="${jsr166y.jar}" todir="${dist.dir}"/>      <copy file="${jsr166y.jar}" todir="${dist.dir}"/>
# Line 882  As of 2013-02, the very latest lambda 8 Line 901  As of 2013-02, the very latest lambda 8
901    </target>    </target>
902    
903    
   <target name="extra166ydist-clean"  
           description="Removes all build and distribution products">  
   
   </target>  
   
904    <target name="extra166ydist-jar"    <target name="extra166ydist-jar"
905            depends="extra166yclean, extra166yjar">            depends="extra166yclean, extra166yjar">
906      <copy file="${extra166y.jar}" todir="${dist.dir}"/>      <copy file="${extra166y.jar}" todir="${dist.dir}"/>
# Line 928  As of 2013-02, the very latest lambda 8 Line 942  As of 2013-02, the very latest lambda 8
942      </javac>      </javac>
943    </target>    </target>
944    
945      <!-- jsr166e: find doclint errors -->
946      <target name="jsr166edoclint">
947    
948        <mkdir dir="${build.jsr166e.classes.dir}"/>
949    
950        <javac srcdir="${topsrc.dir}"
951               destdir="${build.jsr166e.classes.dir}"
952               debug="${build.debug}"
953               debuglevel="${build.debuglevel}"
954               deprecation="${build.deprecation}"
955               source="${build.jsr166e.java.version}"
956               classpath=""
957               bootclasspath="${bootclasspath7}"
958               includeAntRuntime="false"
959               includeJavaRuntime="false"
960               executable="${javac8}"
961               fork="true">
962    
963          <include name="jsr166e/**/*.java"/>
964          <compilerarg value="-XDignore.symbol.file=true"/>
965          <compilerarg value="-Xlint:all"/>
966          <compilerarg value="-Xdoclint:all/protected"/>
967    
968        </javac>
969      </target>
970    
971    
972    <target name="jsr166ejar"    <target name="jsr166ejar"
973            depends="jsr166ecompile"            depends="jsr166ecompile"
# Line 960  As of 2013-02, the very latest lambda 8 Line 1000  As of 2013-02, the very latest lambda 8
1000    
1001    
1002    <target name="jsr166e-test-tck-one-java-version"    <target name="jsr166e-test-tck-one-java-version"
1003            depends="jsr166ejar"            depends="jsr166ejar">
           description="Runs tck tests for jsr166e">  
1004    
1005      <echo message="Testing with jdk${build.jsr166e.java.version} ..."/>      <echo message="Testing with jdk${build.jsr166e.java.version} ..."/>
1006    
# Line 995  As of 2013-02, the very latest lambda 8 Line 1034  As of 2013-02, the very latest lambda 8
1034    </target>    </target>
1035    
1036    
1037      <target name="jsr166e-test"
1038              depends="jsr166e-test-tck"
1039              description="Runs all tests for jsr166e">
1040      </target>
1041    
1042    <target name="jsr166edist"    <target name="jsr166edist"
1043            depends="jsr166edist-jar, jsr166edist-docs"            depends="jsr166edist-jar, jsr166edist-docs"
1044            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
# Line 1006  As of 2013-02, the very latest lambda 8 Line 1050  As of 2013-02, the very latest lambda 8
1050    </target>    </target>
1051    
1052    
   <target name="jsr166edist-clean"  
           description="Removes all build and distribution products">  
   
   </target>  
   
1053    <target name="jsr166edist-jar"    <target name="jsr166edist-jar"
1054            depends="jsr166eclean, jsr166ejar">            depends="jsr166eclean, jsr166ejar">
1055      <copy file="${jsr166e.jar}" todir="${dist.dir}"/>      <copy file="${jsr166e.jar}" todir="${dist.dir}"/>

Legend:
Removed from v.1.144  
changed lines
  Added in v.1.150

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