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

Diff of /jsr166/build.xml

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

revision 1.143 by dl, Wed Jul 10 17:09:45 2013 UTC revision 1.148 by jsr166, Sat Jul 20 18:26:16 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 337  As of 2013-02, the very latest lambda 8 Line 341  As of 2013-02, the very latest lambda 8
341        <arg value="-tag"/>        <arg value="-tag"/>
342        <arg value="implSpec:a:&lt;em&gt;Implementation Requirements:&lt;/em&gt;"/>        <arg value="implSpec:a:&lt;em&gt;Implementation Requirements:&lt;/em&gt;"/>
343        <arg value="-tag"/>        <arg value="-tag"/>
344        <arg value="implNote:a:&lt;em&gt;Implementation Note:&lt;/em&gt;"/>        <arg value="implNote:a:&lt;em&gt;Implementation Note:&lt;/em&gt;"/>
345      </javadoc>      </javadoc>
346    </target>    </target>
347    
# 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 523  As of 2013-02, the very latest lambda 8 Line 528  As of 2013-02, the very latest lambda 8
528          <exclude name="LongAccumulatorTest.java"/>          <exclude name="LongAccumulatorTest.java"/>
529          <exclude name="LongAdderTest.java"/>          <exclude name="LongAdderTest.java"/>
530          <exclude name="CompletableFutureTest.java"/>          <exclude name="CompletableFutureTest.java"/>
531            <exclude name="SplittableRandomTest.java"/>
532          <exclude name="StampedLockTest.java"/>          <exclude name="StampedLockTest.java"/>
533        </javac-elements>        </javac-elements>
534      </run-tck-tests>      </run-tck-tests>
# Line 609  As of 2013-02, the very latest lambda 8 Line 615  As of 2013-02, the very latest lambda 8
615    </target>    </target>
616    
617    
   <target name="4jdk7dist-clean"  
           description="Removes all build and distribution products">  
   
   </target>  
   
618    <target name="4jdk7dist-jar"    <target name="4jdk7dist-jar"
619            depends="4jdk7clean, 4jdk7jar">            depends="4jdk7clean, 4jdk7jar">
620      <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 701  As of 2013-02, the very latest lambda 8
701    </target>    </target>
702    
703    
   <target name="jsr166xdist-clean"  
           description="Removes all build and distribution products">  
   
   </target>  
   
   
704    <target name="jsr166xdist-jar"    <target name="jsr166xdist-jar"
705            depends="jsr166xclean, jsr166xjar">            depends="jsr166xclean, jsr166xjar">
706      <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 786  As of 2013-02, the very latest lambda 8
786    </target>    </target>
787    
788    
   <target name="jsr166ydist-clean"  
           description="Removes all build and distribution products">  
   
   </target>  
   
789    <target name="jsr166ydist-jar"    <target name="jsr166ydist-jar"
790            depends="jsr166yclean, jsr166yjar">            depends="jsr166yclean, jsr166yjar">
791      <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 872  As of 2013-02, the very latest lambda 8
872    </target>    </target>
873    
874    
   <target name="extra166ydist-clean"  
           description="Removes all build and distribution products">  
   
   </target>  
   
875    <target name="extra166ydist-jar"    <target name="extra166ydist-jar"
876            depends="extra166yclean, extra166yjar">            depends="extra166yclean, extra166yjar">
877      <copy file="${extra166y.jar}" todir="${dist.dir}"/>      <copy file="${extra166y.jar}" todir="${dist.dir}"/>
# Line 899  As of 2013-02, the very latest lambda 8 Line 884  As of 2013-02, the very latest lambda 8
884    
885    <!-- jsr166e -->    <!-- jsr166e -->
886    
887      <property name="build.jsr166e.java.version" value="6"/>
888      <property name="build.jsr166e.javac" value="${javac6}"/>
889    
890    <target name="jsr166ecompile"    <target name="jsr166ecompile"
891            depends="configure-compiler"            depends="configure-compiler"
892            description="Compiles jsr166e sources">            description="Compiles jsr166e sources">
# Line 910  As of 2013-02, the very latest lambda 8 Line 898  As of 2013-02, the very latest lambda 8
898             debug="${build.debug}"             debug="${build.debug}"
899             debuglevel="${build.debuglevel}"             debuglevel="${build.debuglevel}"
900             deprecation="${build.deprecation}"             deprecation="${build.deprecation}"
901             source="7"             source="${build.jsr166e.java.version}"
902             classpath=""             classpath=""
903             includeAntRuntime="false"             includeAntRuntime="false"
904             includeJavaRuntime="false"             includeJavaRuntime="false"
905             executable="${javac7}"             executable="${build.jsr166e.javac}"
906             fork="true">             fork="true">
907    
908        <include name="jsr166e/**/*.java"/>        <include name="jsr166e/**/*.java"/>
# Line 947  As of 2013-02, the very latest lambda 8 Line 935  As of 2013-02, the very latest lambda 8
935               packagenames="jsr166e.*"               packagenames="jsr166e.*"
936               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
937               access="${build.javadoc.access}"               access="${build.javadoc.access}"
938               sourcepath="${topsrc.dir}:${jdk7src.dir}"               sourcepath="${topsrc.dir}:${jdk6src.dir}"
939               source="7"               source="${build.jsr166e.java.version}"
940               executable="${javadoc7}">               executable="${javadoc7}">
941        <arg value="-XDignore.symbol.file=true"/>        <arg value="-XDignore.symbol.file=true"/>
942    
# Line 956  As of 2013-02, the very latest lambda 8 Line 944  As of 2013-02, the very latest lambda 8
944    </target>    </target>
945    
946    
947    <target name="jsr166e-test-tck"    <target name="jsr166e-test-tck-one-java-version"
948            depends="jsr166ejar"            depends="jsr166ejar">
949            description="Runs tck tests for jsr166e">  
950        <echo message="Testing with jdk${build.jsr166e.java.version} ..."/>
951    
952      <run-tck-tests      <run-tck-tests
953        tck.src.dir="${test.src.dir}/tck-jsr166e"        tck.src.dir="${test.src.dir}/tck-jsr166e"
954        target="7"        target="${build.jsr166e.java.version}"
955        workdir="${build.jsr166e.dir}"        workdir="${build.jsr166e.dir}"
956        classes="${jsr166e.jar}"/>        classes="${jsr166e.jar}"/>
957    </target>    </target>
958    
959      <target name="jsr166e-test-tck"
960              description="Runs tck tests for jsr166e for multiple java versions">
961    
962    <!--     <antcall target="clean"/> -->
963    <!--     <antcall target="jsr166e-test-tck-one-java-version"> -->
964    <!--       <param name="build.jsr166e.java.version" value="8"/> -->
965    <!--       <param name="build.jsr166e.javac" value="${javac8}"/> -->
966    <!--     </antcall> -->
967    
968        <antcall target="clean"/>
969        <antcall target="jsr166e-test-tck-one-java-version">
970          <param name="build.jsr166e.java.version" value="7"/>
971          <param name="build.jsr166e.javac" value="${javac7}"/>
972        </antcall>
973    
974        <antcall target="clean"/>
975        <antcall target="jsr166e-test-tck-one-java-version">
976          <param name="build.jsr166e.java.version" value="6"/>
977          <param name="build.jsr166e.javac" value="${javac6}"/>
978        </antcall>
979      </target>
980    
981    
982      <target name="jsr166e-test"
983              depends="jsr166e-test-tck"
984              description="Runs all tests for jsr166e">
985      </target>
986    
987    <target name="jsr166edist"    <target name="jsr166edist"
988            depends="jsr166edist-jar, jsr166edist-docs"            depends="jsr166edist-jar, jsr166edist-docs"
# Line 979  As of 2013-02, the very latest lambda 8 Line 995  As of 2013-02, the very latest lambda 8
995    </target>    </target>
996    
997    
   <target name="jsr166edist-clean"  
           description="Removes all build and distribution products">  
   
   </target>  
   
998    <target name="jsr166edist-jar"    <target name="jsr166edist-jar"
999            depends="jsr166eclean, jsr166ejar">            depends="jsr166eclean, jsr166ejar">
1000      <copy file="${jsr166e.jar}" todir="${dist.dir}"/>      <copy file="${jsr166e.jar}" todir="${dist.dir}"/>

Legend:
Removed from v.1.143  
changed lines
  Added in v.1.148

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