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

Diff of /jsr166/build.xml

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

revision 1.142 by jsr166, Tue Jun 18 20:54:57 2013 UTC revision 1.149 by jsr166, Sat Jul 20 20:40:24 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}"/>
339          <arg value="-tag"/>
340          <arg value="apiNote:a:&lt;em&gt;API Note:&lt;/em&gt;"/>
341          <arg value="-tag"/>
342          <arg value="implSpec:a:&lt;em&gt;Implementation Requirements:&lt;/em&gt;"/>
343          <arg value="-tag"/>
344          <arg value="implNote:a:&lt;em&gt;Implementation Note:&lt;/em&gt;"/>
345      </javadoc>      </javadoc>
346    </target>    </target>
347    
# Line 370  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 489  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 517  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 603  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 694  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 785  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 876  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 893  As of 2013-02, the very latest lambda 8 Line 913  As of 2013-02, the very latest lambda 8
913    
914    <!-- jsr166e -->    <!-- jsr166e -->
915    
916      <property name="build.jsr166e.java.version" value="6"/>
917      <property name="build.jsr166e.javac" value="${javac6}"/>
918    
919    <target name="jsr166ecompile"    <target name="jsr166ecompile"
920            depends="configure-compiler"            depends="configure-compiler"
921            description="Compiles jsr166e sources">            description="Compiles jsr166e sources">
# Line 904  As of 2013-02, the very latest lambda 8 Line 927  As of 2013-02, the very latest lambda 8
927             debug="${build.debug}"             debug="${build.debug}"
928             debuglevel="${build.debuglevel}"             debuglevel="${build.debuglevel}"
929             deprecation="${build.deprecation}"             deprecation="${build.deprecation}"
930             source="7"             source="${build.jsr166e.java.version}"
931             classpath=""             classpath=""
932             includeAntRuntime="false"             includeAntRuntime="false"
933             includeJavaRuntime="false"             includeJavaRuntime="false"
934             executable="${javac7}"             executable="${build.jsr166e.javac}"
935             fork="true">             fork="true">
936    
937        <include name="jsr166e/**/*.java"/>        <include name="jsr166e/**/*.java"/>
# Line 941  As of 2013-02, the very latest lambda 8 Line 964  As of 2013-02, the very latest lambda 8
964               packagenames="jsr166e.*"               packagenames="jsr166e.*"
965               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
966               access="${build.javadoc.access}"               access="${build.javadoc.access}"
967               sourcepath="${topsrc.dir}:${jdk7src.dir}"               sourcepath="${topsrc.dir}:${jdk6src.dir}"
968               source="7"               source="${build.jsr166e.java.version}"
969               executable="${javadoc7}">               executable="${javadoc7}">
970        <arg value="-XDignore.symbol.file=true"/>        <arg value="-XDignore.symbol.file=true"/>
971    
# Line 950  As of 2013-02, the very latest lambda 8 Line 973  As of 2013-02, the very latest lambda 8
973    </target>    </target>
974    
975    
976    <target name="jsr166e-test-tck"    <target name="jsr166e-test-tck-one-java-version"
977            depends="jsr166ejar"            depends="jsr166ejar">
978            description="Runs tck tests for jsr166e">  
979        <echo message="Testing with jdk${build.jsr166e.java.version} ..."/>
980    
981      <run-tck-tests      <run-tck-tests
982        tck.src.dir="${test.src.dir}/tck-jsr166e"        tck.src.dir="${test.src.dir}/tck-jsr166e"
983        target="7"        target="${build.jsr166e.java.version}"
984        workdir="${build.jsr166e.dir}"        workdir="${build.jsr166e.dir}"
985        classes="${jsr166e.jar}"/>        classes="${jsr166e.jar}"/>
986    </target>    </target>
987    
988      <target name="jsr166e-test-tck"
989              description="Runs tck tests for jsr166e for multiple java versions">
990    
991    <!--     <antcall target="clean"/> -->
992    <!--     <antcall target="jsr166e-test-tck-one-java-version"> -->
993    <!--       <param name="build.jsr166e.java.version" value="8"/> -->
994    <!--       <param name="build.jsr166e.javac" value="${javac8}"/> -->
995    <!--     </antcall> -->
996    
997        <antcall target="clean"/>
998        <antcall target="jsr166e-test-tck-one-java-version">
999          <param name="build.jsr166e.java.version" value="7"/>
1000          <param name="build.jsr166e.javac" value="${javac7}"/>
1001        </antcall>
1002    
1003        <antcall target="clean"/>
1004        <antcall target="jsr166e-test-tck-one-java-version">
1005          <param name="build.jsr166e.java.version" value="6"/>
1006          <param name="build.jsr166e.javac" value="${javac6}"/>
1007        </antcall>
1008      </target>
1009    
1010    
1011      <target name="jsr166e-test"
1012              depends="jsr166e-test-tck"
1013              description="Runs all tests for jsr166e">
1014      </target>
1015    
1016    <target name="jsr166edist"    <target name="jsr166edist"
1017            depends="jsr166edist-jar, jsr166edist-docs"            depends="jsr166edist-jar, jsr166edist-docs"
# Line 973  As of 2013-02, the very latest lambda 8 Line 1024  As of 2013-02, the very latest lambda 8
1024    </target>    </target>
1025    
1026    
   <target name="jsr166edist-clean"  
           description="Removes all build and distribution products">  
   
   </target>  
   
1027    <target name="jsr166edist-jar"    <target name="jsr166edist-jar"
1028            depends="jsr166eclean, jsr166ejar">            depends="jsr166eclean, jsr166ejar">
1029      <copy file="${jsr166e.jar}" todir="${dist.dir}"/>      <copy file="${jsr166e.jar}" todir="${dist.dir}"/>

Legend:
Removed from v.1.142  
changed lines
  Added in v.1.149

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