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

Diff of /jsr166/build.xml

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

revision 1.127 by jsr166, Wed Jan 23 06:57:08 2013 UTC revision 1.130 by jsr166, Mon Jan 28 22:00:34 2013 UTC
# Line 25  Line 25 
25  ------------------------------------------------------------------------------  ------------------------------------------------------------------------------
26    </description>    </description>
27    
28    <target name="usage" description="Advises user to run with -projecthelp">    <target name="usage" description="Display main targets by running 'ant -projecthelp'">
29      <echo>Run "ant -projecthelp" for full usage information.</echo>      <java classname="org.apache.tools.ant.Main">
30          <arg value="-projecthelp" />
31        </java>
32    </target>    </target>
33    
34    
# Line 39  Line 41 
41    <property name="build.debug"          value="true"/>    <property name="build.debug"          value="true"/>
42    <property name="build.debuglevel"     value="source,lines,vars"/>    <property name="build.debuglevel"     value="source,lines,vars"/>
43    <property name="build.deprecation"    value="false"/>    <property name="build.deprecation"    value="false"/>
44      <property name="build.javadoc.access" value="protected"/>
45    
46    <!-- Build locations -->    <!-- Build locations -->
47    <property name="build.dir"                   location="build"/>    <property name="build.dir"                   location="build"/>
# Line 279  Line 282 
282               packagenames="none"               packagenames="none"
283               link="${jdkapi8docs.url}"               link="${jdkapi8docs.url}"
284               overview="${src.dir}/intro.html"               overview="${src.dir}/intro.html"
285                 access="${build.javadoc.access}"
286               sourcepath="${src.dir}:${jdk8src.dir}"               sourcepath="${src.dir}:${jdk8src.dir}"
287               classpath=""               classpath=""
288               executable="${javadoc8}">               executable="${javadoc8}">
# Line 582  Line 586 
586    </target>    </target>
587    
588    
589    <target name="4jdk7-jar"    <target name="4jdk7jar"
590            depends="4jdk7compile"            depends="4jdk7compile"
591            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
592    
# Line 594  Line 598 
598    
599    
600    <target name="4jdk7-test-tck"    <target name="4jdk7-test-tck"
601            depends="4jdk7-jar"            depends="4jdk7jar"
602            description="Runs tck tests for jsr166-4jdk7 directly">            description="Runs tck tests for jsr166-4jdk7 directly">
603    
604      <run-tck-tests      <run-tck-tests
# Line 670  Line 674 
674               packagenames="none"               packagenames="none"
675               link="${jdkapi7docs.url}"               link="${jdkapi7docs.url}"
676               overview="${4jdk7src.dir}/intro.html"               overview="${4jdk7src.dir}/intro.html"
677                 access="${build.javadoc.access}"
678               sourcepath="${4jdk7src.dir}:${jdk7src.dir}"               sourcepath="${4jdk7src.dir}:${jdk7src.dir}"
679               classpath=""               classpath=""
680               executable="${javadoc7}">               executable="${javadoc7}">
# Line 700  Line 705 
705    </target>    </target>
706    
707    <target name="4jdk7dist-jar"    <target name="4jdk7dist-jar"
708            depends="4jdk7clean, 4jdk7-jar">            depends="4jdk7clean, 4jdk7jar">
709      <copy file="${4jdk7product.jar}" todir="${dist.dir}"/>      <copy file="${4jdk7product.jar}" todir="${dist.dir}"/>
710    </target>    </target>
711    
# Line 741  Line 746 
746    </target>    </target>
747    
748    
749    <target name="jsr166x-jar"    <target name="jsr166xjar"
750            depends="jsr166xcompile"            depends="jsr166xcompile"
751            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
752    
# Line 761  Line 766 
766      <javadoc destdir="${jsr166xdocs.dir}"      <javadoc destdir="${jsr166xdocs.dir}"
767               packagenames="jsr166x.*"               packagenames="jsr166x.*"
768               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
769                 access="${build.javadoc.access}"
770               sourcepath="${topsrc.dir}:${jdk6src.dir}"               sourcepath="${topsrc.dir}:${jdk6src.dir}"
771               bootclasspath="${bootclasspath6}"               bootclasspath="${bootclasspath6}"
772               source="5"               source="5"
# Line 791  Line 797 
797    
798    
799    <target name="jsr166xdist-jar"    <target name="jsr166xdist-jar"
800            depends="jsr166xclean, jsr166x-jar">            depends="jsr166xclean, jsr166xjar">
801      <copy file="${jsr166x.jar}" todir="${dist.dir}"/>      <copy file="${jsr166x.jar}" todir="${dist.dir}"/>
802    </target>    </target>
803    
# Line 831  Line 837 
837    </target>    </target>
838    
839    
840    <target name="jsr166y-jar"    <target name="jsr166yjar"
841            depends="jsr166ycompile"            depends="jsr166ycompile"
842            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
843    
# Line 851  Line 857 
857      <javadoc destdir="${jsr166ydocs.dir}"      <javadoc destdir="${jsr166ydocs.dir}"
858               packagenames="jsr166y.*"               packagenames="jsr166y.*"
859               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
860                 access="${build.javadoc.access}"
861               sourcepath="${topsrc.dir}:${jdk6src.dir}"               sourcepath="${topsrc.dir}:${jdk6src.dir}"
862               bootclasspath="${bootclasspath6}"               bootclasspath="${bootclasspath6}"
863               source="6"               source="6"
# Line 880  Line 887 
887    </target>    </target>
888    
889    <target name="jsr166ydist-jar"    <target name="jsr166ydist-jar"
890            depends="jsr166yclean, jsr166y-jar">            depends="jsr166yclean, jsr166yjar">
891      <copy file="${jsr166y.jar}" todir="${dist.dir}"/>      <copy file="${jsr166y.jar}" todir="${dist.dir}"/>
892    </target>    </target>
893    
# Line 894  Line 901 
901    
902    
903    <target name="extra166ycompile"    <target name="extra166ycompile"
904            depends="configure-compiler, jsr166y-jar"            depends="configure-compiler, jsr166yjar"
905            description="Compiles extra166y sources">            description="Compiles extra166y sources">
906    
907      <mkdir dir="${build.extra166y.classes.dir}"/>      <mkdir dir="${build.extra166y.classes.dir}"/>
# Line 921  Line 928 
928    </target>    </target>
929    
930    
931    <target name="extra166y-jar"    <target name="extra166yjar"
932            depends="extra166ycompile"            depends="extra166ycompile"
933            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
934    
# Line 941  Line 948 
948      <javadoc destdir="${extra166ydocs.dir}"      <javadoc destdir="${extra166ydocs.dir}"
949               packagenames="extra166y.*"               packagenames="extra166y.*"
950               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
951                 access="${build.javadoc.access}"
952               sourcepath="${topsrc.dir}:${jdk6src.dir}"               sourcepath="${topsrc.dir}:${jdk6src.dir}"
953               bootclasspath="${bootclasspath6}"               bootclasspath="${bootclasspath6}"
954               source="6"               source="6"
# Line 970  Line 978 
978    </target>    </target>
979    
980    <target name="extra166ydist-jar"    <target name="extra166ydist-jar"
981            depends="extra166yclean, extra166y-jar">            depends="extra166yclean, extra166yjar">
982      <copy file="${extra166y.jar}" todir="${dist.dir}"/>      <copy file="${extra166y.jar}" todir="${dist.dir}"/>
983    </target>    </target>
984    
# Line 1008  Line 1016 
1016    </target>    </target>
1017    
1018    
1019    <target name="jsr166e-jar"    <target name="jsr166ejar"
1020            depends="jsr166ecompile"            depends="jsr166ecompile"
1021            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
1022    
# Line 1028  Line 1036 
1036      <javadoc destdir="${jsr166edocs.dir}"      <javadoc destdir="${jsr166edocs.dir}"
1037               packagenames="jsr166e.*"               packagenames="jsr166e.*"
1038               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
1039                 access="${build.javadoc.access}"
1040               sourcepath="${topsrc.dir}:${jdk7src.dir}"               sourcepath="${topsrc.dir}:${jdk7src.dir}"
1041               source="7"               source="7"
1042               executable="${javadoc7}">               executable="${javadoc7}">
# Line 1038  Line 1047 
1047    
1048    
1049    <target name="jsr166e-test-tck"    <target name="jsr166e-test-tck"
1050            depends="jsr166e-jar"            depends="jsr166ejar"
1051            description="Runs tck tests for jsr166e">            description="Runs tck tests for jsr166e">
1052    
1053      <run-tck-tests      <run-tck-tests
# Line 1067  Line 1076 
1076    </target>    </target>
1077    
1078    <target name="jsr166edist-jar"    <target name="jsr166edist-jar"
1079            depends="jsr166eclean, jsr166e-jar">            depends="jsr166eclean, jsr166ejar">
1080      <copy file="${jsr166e.jar}" todir="${dist.dir}"/>      <copy file="${jsr166e.jar}" todir="${dist.dir}"/>
1081    </target>    </target>
1082    
# Line 1076  Line 1085 
1085      <mirror-dir src="${jsr166edocs.dir}" dst="${dist.jsr166edocs.dir}"/>      <mirror-dir src="${jsr166edocs.dir}" dst="${dist.jsr166edocs.dir}"/>
1086    </target>    </target>
1087    
1088    
1089    <!-- Find buglets that can be detected by static build tools -->
1090    
1091      <target name="lint">
1092        <antcall target="dists">
1093          <param name="build.javadoc.access" value="private"/>
1094        </antcall>
1095      </target>
1096    
1097    
1098  </project>  </project>

Legend:
Removed from v.1.127  
changed lines
  Added in v.1.130

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