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

Diff of /jsr166/build.xml

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

revision 1.106 by jsr166, Sat Jan 19 22:23:57 2013 UTC revision 1.108 by jsr166, Sat Jan 19 23:58:12 2013 UTC
# Line 46  Line 46 
46    <property name="build.testcases.dir"         location="${build.dir}/testcases"/>    <property name="build.testcases.dir"         location="${build.dir}/testcases"/>
47    <property name="build.loops.dir"             location="${build.dir}/loops"/>    <property name="build.loops.dir"             location="${build.dir}/loops"/>
48    <property name="build.lib.dir"               location="${build.dir}/lib"/>    <property name="build.lib.dir"               location="${build.dir}/lib"/>
   <property name="build.javadocs.dir"          location="${build.dir}/javadocs"/>  
49    <property name="build.reports.dir"           location="${build.dir}/reports"/>    <property name="build.reports.dir"           location="${build.dir}/reports"/>
50    
51    <property name="build.4jdk7.dir"              location="${build.dir}/4jdk7"/>    <property name="build.4jdk7.dir"              location="${build.dir}/4jdk7"/>
# Line 57  Line 56 
56    
57    <property name="build.jsr166x.dir"           location="${build.dir}/jsr166x"/>    <property name="build.jsr166x.dir"           location="${build.dir}/jsr166x"/>
58    <property name="build.jsr166xlib.dir"        location="${build.dir}/jsr166xlib"/>    <property name="build.jsr166xlib.dir"        location="${build.dir}/jsr166xlib"/>
   <property name="build.jsr166xjavadocs.dir"   location="${build.dir}/jsr166xjavadocs"/>  
59    
60    <property name="build.jsr166y.dir"           location="${build.dir}/jsr166y"/>    <property name="build.jsr166y.dir"           location="${build.dir}/jsr166y"/>
61    <property name="build.jsr166ylib.dir"        location="${build.dir}/jsr166ylib"/>    <property name="build.jsr166ylib.dir"        location="${build.dir}/jsr166ylib"/>
   <property name="build.jsr166yjavadocs.dir"   location="${build.dir}/jsr166yjavadocs"/>  
62    
63    <property name="build.jsr166e.dir"           location="${build.dir}/jsr166e"/>    <property name="build.jsr166e.dir"           location="${build.dir}/jsr166e"/>
64    <property name="build.jsr166elib.dir"        location="${build.dir}/jsr166elib"/>    <property name="build.jsr166elib.dir"        location="${build.dir}/jsr166elib"/>
   <property name="build.jsr166ejavadocs.dir"   location="${build.dir}/jsr166ejavadocs"/>  
65    
66    <property name="build.extra166y.dir"         location="${build.dir}/extra166y"/>    <property name="build.extra166y.dir"         location="${build.dir}/extra166y"/>
67    <property name="build.extra166ylib.dir"      location="${build.dir}/extra166ylib"/>    <property name="build.extra166ylib.dir"      location="${build.dir}/extra166ylib"/>
   <property name="build.extra166yjavadocs.dir" location="${build.dir}/extra166yjavadocs"/>  
68    
69    <!-- JDK binary locations -->    <!-- JDK binary locations -->
70    <property name="jdks.home"  location="${user.home}/jdk"/>    <property name="jdks.home"  location="${user.home}/jdk"/>
# Line 154  Line 149 
149    <property name="jdkapi8docs.url"      value="http://download.java.net/jdk8/docs/api/"/>    <property name="jdkapi8docs.url"      value="http://download.java.net/jdk8/docs/api/"/>
150    <!-- The below does not yet exist as of 2012-11 -->    <!-- The below does not yet exist as of 2012-11 -->
151    <!-- <property name="jdkapi8docs.url" value="http://docs.oracle.com/javase/8/docs/api/"/> -->    <!-- <property name="jdkapi8docs.url" value="http://docs.oracle.com/javase/8/docs/api/"/> -->
152    
153      <!-- Default jdk api doc location (latest stable release seems best) -->
154    <property name="jdkapidocs.url"       value="${jdkapi7docs.url}"/>    <property name="jdkapidocs.url"       value="${jdkapi7docs.url}"/>
155    
156    <!-- Test classpath -->    <!-- Test classpath -->
# Line 177  Line 174 
174    <!-- Main targets -->    <!-- Main targets -->
175    
176    <target name="dists"    <target name="dists"
177            depends="dist, jsr166xdist, jsr166ydist,jsr166edist,  extra166ydist"            depends="dist, 4jdk7dist, jsr166edist, jsr166ydist, extra166ydist, jsr166xdist"
178            description="Builds all public jars and docs"/>            description="Builds all public jars and docs"/>
179    
180    <target name="compile"    <target name="compile"
# Line 534  Line 531 
531             debug="${build.debug}"             debug="${build.debug}"
532             debuglevel="${build.debuglevel}"             debuglevel="${build.debuglevel}"
533             deprecation="${build.deprecation}"             deprecation="${build.deprecation}"
534             source="1.6"             source="6"
535             classpath=""             classpath=""
536             bootclasspath="${bootclasspath6}"             bootclasspath="${bootclasspath6}"
537             includeAntRuntime="false"             includeAntRuntime="false"
# Line 562  Line 559 
559             debug="${build.debug}"             debug="${build.debug}"
560             debuglevel="${build.debuglevel}"             debuglevel="${build.debuglevel}"
561             deprecation="${build.deprecation}"             deprecation="${build.deprecation}"
562             source="1.6"             source="6"
563             classpath="${junit.jar}"             classpath="${junit.jar}"
564             bootclasspath="${4jdk7product.jar}:${bootclasspath6}"             bootclasspath="${4jdk7product.jar}:${bootclasspath6}"
565             includeAntRuntime="false"             includeAntRuntime="false"
# Line 683  Line 680 
680             debuglevel="${build.debuglevel}"             debuglevel="${build.debuglevel}"
681             deprecation="${build.deprecation}"             deprecation="${build.deprecation}"
682             classpath=""             classpath=""
683             source="1.5"             source="5"
684             bootclasspath="${bootclasspath6}"             bootclasspath="${bootclasspath6}"
685             includeAntRuntime="false"             includeAntRuntime="false"
686             includeJavaRuntime="false"             includeJavaRuntime="false"
# Line 718  Line 715 
715    <target name="jsr166xdocs"    <target name="jsr166xdocs"
716            description="Builds javadocs to dist dir">            description="Builds javadocs to dist dir">
717    
718      <delete dir="${build.jsr166xjavadocs.dir}"/>      <delete dir="${dist.jsr166xjavadocs.dir}"/>
719      <mkdir dir="${build.jsr166xjavadocs.dir}"/>      <mkdir dir="${dist.jsr166xjavadocs.dir}"/>
720    
721      <javadoc destdir="${build.jsr166xjavadocs.dir}"      <javadoc destdir="${dist.jsr166xjavadocs.dir}"
722               packagenames="jsr166x"               packagenames="jsr166x.*"
723               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
724               source="${build.sourcelevel}"               source="5"
725               sourcepath="${topsrc.dir}:${jdksrc.dir}"               bootclasspath="${bootclasspath6}"
726                 sourcepath="${topsrc.dir}:${jdk6src.dir}"
727                 executable="${javadoc7}"
728               additionalparam="-XDignore.symbol.file=true" />               additionalparam="-XDignore.symbol.file=true" />
729    
730    </target>    </target>
731    
732    
733    <target name="jsr166xdist"    <target name="jsr166xdist"
734            depends="jsr166xdist-clean, jsr166xdist-jar, jsr166xdist-docs"            depends="jsr166xdist-clean, jsr166xdist-jar, jsr166xdocs"
735            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
736    
737    
# Line 753  Line 752 
752    </target>    </target>
753    
754    
   
   <target name="jsr166xdist-docs"  
           description="Builds javadocs to dist dir">  
   
     <delete dir="${dist.jsr166xjavadocs.dir}"/>  
     <mkdir dir="${dist.jsr166xjavadocs.dir}"/>  
   
     <javadoc destdir="${dist.jsr166xjavadocs.dir}"  
              packagenames="jsr166x"  
              link="${jdkapidocs.url}"  
              source="${build.sourcelevel}"  
              sourcepath="${topsrc.dir}:${jdksrc.dir}"  
              additionalparam="-XDignore.symbol.file=true" />  
   
   </target>  
   
755    <target name="jsr166xdist-jar"    <target name="jsr166xdist-jar"
756            depends="jsr166xclean, jsr166xjar">            depends="jsr166xclean, jsr166xjar">
757    
# Line 790  Line 773 
773             debug="${build.debug}"             debug="${build.debug}"
774             debuglevel="${build.debuglevel}"             debuglevel="${build.debuglevel}"
775             deprecation="${build.deprecation}"             deprecation="${build.deprecation}"
776             source="1.6"             source="6"
777             classpath=""             classpath=""
778             bootclasspath="${bootclasspath6}"             bootclasspath="${bootclasspath6}"
779             includeAntRuntime="false"             includeAntRuntime="false"
# Line 823  Line 806 
806    <target name="jsr166ydocs"    <target name="jsr166ydocs"
807            description="Builds javadocs to dist dir">            description="Builds javadocs to dist dir">
808    
809      <delete dir="${build.jsr166yjavadocs.dir}"/>      <delete dir="${dist.jsr166yjavadocs.dir}"/>
810      <mkdir dir="${build.jsr166yjavadocs.dir}"/>      <mkdir dir="${dist.jsr166yjavadocs.dir}"/>
811    
812      <javadoc destdir="${build.jsr166yjavadocs.dir}"      <javadoc destdir="${dist.jsr166yjavadocs.dir}"
813               packagenames="jsr166y"               packagenames="jsr166y.*"
814               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
815               source="${build.sourcelevel}"               source="6"
816               sourcepath="${topsrc.dir}:${jdksrc.dir}"               bootclasspath="${bootclasspath6}"
817                 sourcepath="${topsrc.dir}:${jdk6src.dir}"
818                 executable="${javadoc7}"
819               additionalparam="-XDignore.symbol.file=true" />               additionalparam="-XDignore.symbol.file=true" />
820    
821    </target>    </target>
822    
823    
824    <target name="jsr166ydist"    <target name="jsr166ydist"
825            depends="jsr166ydist-clean, jsr166ydist-jar, jsr166ydist-docs"            depends="jsr166ydist-clean, jsr166ydist-jar, jsr166ydocs"
826            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
827    
828    
# Line 857  Line 842 
842    
843    </target>    </target>
844    
   <target name="jsr166ydist-docs"  
           description="Builds javadocs to dist dir">  
   
     <delete dir="${dist.jsr166yjavadocs.dir}"/>  
     <mkdir dir="${dist.jsr166yjavadocs.dir}"/>  
   
     <javadoc destdir="${dist.jsr166yjavadocs.dir}"  
              packagenames="jsr166y"  
              link="${jdkapidocs.url}"  
              source="${build.sourcelevel}"  
              sourcepath="${topsrc.dir}:${jdksrc.dir}"  
              additionalparam="-XDignore.symbol.file=true" />  
   
   </target>  
   
845    <target name="jsr166ydist-jar"    <target name="jsr166ydist-jar"
846            depends="jsr166yclean, jsr166yjar">            depends="jsr166yclean, jsr166yjar">
847    
# Line 895  Line 865 
865             debuglevel="${build.debuglevel}"             debuglevel="${build.debuglevel}"
866             deprecation="${build.deprecation}"             deprecation="${build.deprecation}"
867             classpath=""             classpath=""
868             source="1.6"             source="6"
869             bootclasspath="${jsr166y.jar}:${bootclasspath6}"             bootclasspath="${jsr166y.jar}:${bootclasspath6}"
870             includeAntRuntime="false"             includeAntRuntime="false"
871             includeJavaRuntime="false"             includeJavaRuntime="false"
# Line 928  Line 898 
898    
899    
900    <target name="extra166ydocs"    <target name="extra166ydocs"
901            description="Builds javadocs with custom tags to build dir">            description="Builds javadocs to build dir">
902    
903      <delete dir="${build.extra166yjavadocs.dir}"/>      <delete dir="${dist.extra166yjavadocs.dir}"/>
904      <mkdir dir="${build.extra166yjavadocs.dir}"/>      <mkdir dir="${dist.extra166yjavadocs.dir}"/>
905    
906      <javadoc destdir="${build.extra166yjavadocs.dir}"      <javadoc destdir="${dist.extra166yjavadocs.dir}"
907               packagenames="extra166y"               packagenames="extra166y.*"
908               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
909               source="${build.sourcelevel}"               source="6"
910               sourcepath="${topsrc.dir}:${jdksrc.dir}"               bootclasspath="${bootclasspath6}"
911                 sourcepath="${topsrc.dir}:${jdk6src.dir}"
912                 executable="${javadoc7}"
913               additionalparam="-XDignore.symbol.file=true" />               additionalparam="-XDignore.symbol.file=true" />
914    
915    </target>    </target>
916    
917    
918    <target name="extra166ydist"    <target name="extra166ydist"
919            depends="extra166ydist-clean, extra166ydist-jar, extra166ydist-docs"            depends="extra166ydist-clean, extra166ydist-jar, extra166ydocs"
920            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
921    
922    
# Line 964  Line 936 
936    
937    </target>    </target>
938    
   <target name="extra166ydist-docs"  
           description="Builds javadocs to dist dir">  
   
     <delete dir="${dist.extra166yjavadocs.dir}"/>  
     <mkdir dir="${dist.extra166yjavadocs.dir}"/>  
   
     <javadoc destdir="${dist.extra166yjavadocs.dir}"  
              packagenames="extra166y"  
              link="${jdkapidocs.url}"  
              source="${build.sourcelevel}"  
              sourcepath="${topsrc.dir}:${jdksrc.dir}"  
              additionalparam="-XDignore.symbol.file=true" />  
   
   </target>  
   
939    <target name="extra166ydist-jar"    <target name="extra166ydist-jar"
940            depends="extra166yclean, extra166yjar">            depends="extra166yclean, extra166yjar">
941    
# Line 999  Line 956 
956             debug="${build.debug}"             debug="${build.debug}"
957             debuglevel="${build.debuglevel}"             debuglevel="${build.debuglevel}"
958             deprecation="${build.deprecation}"             deprecation="${build.deprecation}"
959             source="1.7"             source="7"
960             classpath=""             classpath=""
961             includeAntRuntime="false"             includeAntRuntime="false"
962             includeJavaRuntime="false"             includeJavaRuntime="false"
# Line 1032  Line 989 
989    
990    
991    <target name="jsr166edocs"    <target name="jsr166edocs"
992            description="Builds javadocs with custom tags to build dir">            description="Builds javadocs to build dir">
993    
994      <delete dir="${build.jsr166ejavadocs.dir}"/>      <delete dir="${dist.jsr166ejavadocs.dir}"/>
995      <mkdir dir="${build.jsr166ejavadocs.dir}"/>      <mkdir dir="${dist.jsr166ejavadocs.dir}"/>
996    
997      <javadoc destdir="${build.jsr166ejavadocs.dir}"      <javadoc destdir="${dist.jsr166ejavadocs.dir}"
998               packagenames="jsr166e,jsr166e.extra"               packagenames="jsr166e.*"
999               link="${jdkapi7docs.url}"               link="${jdkapidocs.url}"
1000               source="1.7"               source="7"
1001               sourcepath="${topsrc.dir}:${jdk7src.dir}"               sourcepath="${topsrc.dir}:${jdk7src.dir}"
1002               executable="${javadoc7}"               executable="${javadoc7}"
1003               additionalparam="-XDignore.symbol.file=true" >               additionalparam="-XDignore.symbol.file=true" >
       <fileset dir="${topsrc.dir}" defaultexcludes="yes">  
         <include name="jsr166e/**/*.java"/>  
       </fileset>  
1004      </javadoc>      </javadoc>
1005    
1006    </target>    </target>
1007    
1008    
1009    <target name="jsr166edist"    <target name="jsr166edist"
1010            depends="jsr166edist-clean, jsr166edist-jar, jsr166edist-docs"            depends="jsr166edist-clean, jsr166edist-jar, jsr166edocs"
1011            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
1012    
1013    
# Line 1067  Line 1021 
1021    </target>    </target>
1022    
1023    
   
1024    <target name="jsr166edist-clean"    <target name="jsr166edist-clean"
1025            description="Removes all build and distribution products">            description="Removes all build and distribution products">
1026    
1027    </target>    </target>
1028    
   <target name="jsr166edist-docs"  
           description="Builds javadocs to dist dir">  
   
     <delete dir="${dist.jsr166ejavadocs.dir}"/>  
     <mkdir dir="${dist.jsr166ejavadocs.dir}"/>  
   
     <javadoc destdir="${dist.jsr166ejavadocs.dir}"  
              packagenames="jsr166e,jsr166e.extra"  
              link="${jdkapidocs.url}"  
              source="1.7"  
              sourcepath="${topsrc.dir}:${jdksrc.dir}"  
              additionalparam="-XDignore.symbol.file=true" />  
   
   </target>  
   
1029    <target name="jsr166edist-jar"    <target name="jsr166edist-jar"
1030            depends="jsr166eclean, jsr166ejar">            depends="jsr166eclean, jsr166ejar">
1031    

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.108

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