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

Diff of /jsr166/build.xml

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

revision 1.126 by jsr166, Wed Jan 23 06:46:27 2013 UTC revision 1.128 by jsr166, Wed Jan 23 07:05:10 2013 UTC
# Line 118  Line 118 
118    <property name="extra166ysrc.dir"     location="${topsrc.dir}/extra166y"/>    <property name="extra166ysrc.dir"     location="${topsrc.dir}/extra166y"/>
119    
120    <!-- Javadoc locations -->    <!-- Javadoc locations -->
121    <property name="javadocs.dir"          location="${build.dir}/javadocs"/>    <property name="docs.dir"          location="${build.dir}/docs"/>
122    <property name="4jdk7javadocs.dir"     location="${build.4jdk7.dir}/javadocs"/>    <property name="4jdk7docs.dir"     location="${build.4jdk7.dir}/docs"/>
123    <property name="jsr166xjavadocs.dir"   location="${build.jsr166x.dir}/javadocs"/>    <property name="jsr166xdocs.dir"   location="${build.jsr166x.dir}/docs"/>
124    <property name="jsr166yjavadocs.dir"   location="${build.jsr166y.dir}/javadocs"/>    <property name="jsr166ydocs.dir"   location="${build.jsr166y.dir}/docs"/>
125    <property name="jsr166ejavadocs.dir"   location="${build.jsr166e.dir}/javadocs"/>    <property name="jsr166edocs.dir"   location="${build.jsr166e.dir}/docs"/>
126    <property name="extra166yjavadocs.dir" location="${build.extra166y.dir}/javadocs"/>    <property name="extra166ydocs.dir" location="${build.extra166y.dir}/docs"/>
127    
128    <property name="dist.javadocs.dir"          location="${dist.dir}/docs"/>    <property name="dist.docs.dir"          location="${dist.dir}/docs"/>
129    <property name="dist.4jdk7javadocs.dir"     location="${dist.dir}/jsr166-4jdk7docs"/>    <property name="dist.4jdk7docs.dir"     location="${dist.dir}/jsr166-4jdk7docs"/>
130    <property name="dist.jsr166xjavadocs.dir"   location="${dist.dir}/jsr166xdocs"/>    <property name="dist.jsr166xdocs.dir"   location="${dist.dir}/jsr166xdocs"/>
131    <property name="dist.jsr166yjavadocs.dir"   location="${dist.dir}/jsr166ydocs"/>    <property name="dist.jsr166ydocs.dir"   location="${dist.dir}/jsr166ydocs"/>
132    <property name="dist.jsr166ejavadocs.dir"   location="${dist.dir}/jsr166edocs"/>    <property name="dist.jsr166edocs.dir"   location="${dist.dir}/jsr166edocs"/>
133    <property name="dist.extra166yjavadocs.dir" location="${dist.dir}/extra166ydocs"/>    <property name="dist.extra166ydocs.dir" location="${dist.dir}/extra166ydocs"/>
134    
135    <!-- Jar locations -->    <!-- Jar locations -->
136    <property name="product.jar"      location="${build.dir}/jsr166.jar"/>    <property name="product.jar"      location="${build.dir}/jsr166.jar"/>
# Line 269  Line 269 
269    <target name="docs"    <target name="docs"
270            description="Builds javadocs for src/main to dist dir">            description="Builds javadocs for src/main to dist dir">
271    
272      <delete dir="${javadocs.dir}"/>      <delete dir="${docs.dir}"/>
273      <mkdir dir="${javadocs.dir}"/>      <mkdir dir="${docs.dir}"/>
274    
275      <!-- the packagenames="none" hack below prevents scanning the -->      <!-- the packagenames="none" hack below prevents scanning the -->
276      <!-- sourcepath for packages -->      <!-- sourcepath for packages -->
277    
278      <javadoc destdir="${javadocs.dir}"      <javadoc destdir="${docs.dir}"
279               packagenames="none"               packagenames="none"
280               link="${jdkapi8docs.url}"               link="${jdkapi8docs.url}"
281               overview="${src.dir}/intro.html"               overview="${src.dir}/intro.html"
# Line 341  Line 341 
341    
342    <target name="dist-docs"    <target name="dist-docs"
343            depends="clean, docs">            depends="clean, docs">
344      <mirror-dir src="${javadocs.dir}" dst="${dist.javadocs.dir}"/>      <mirror-dir src="${docs.dir}" dst="${dist.docs.dir}"/>
345    </target>    </target>
346    
347    
# Line 582  Line 582 
582    </target>    </target>
583    
584    
585    <target name="4jdk7-jar"    <target name="4jdk7jar"
586            depends="4jdk7compile"            depends="4jdk7compile"
587            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
588    
# Line 594  Line 594 
594    
595    
596    <target name="4jdk7-test-tck"    <target name="4jdk7-test-tck"
597            depends="4jdk7-jar"            depends="4jdk7jar"
598            description="Runs tck tests for jsr166-4jdk7 directly">            description="Runs tck tests for jsr166-4jdk7 directly">
599    
600      <run-tck-tests      <run-tck-tests
# Line 663  Line 663 
663    <target name="4jdk7docs"    <target name="4jdk7docs"
664            description="Builds javadocs for src/jdk7 to dist dir">            description="Builds javadocs for src/jdk7 to dist dir">
665    
666      <delete dir="${4jdk7javadocs.dir}"/>      <delete dir="${4jdk7docs.dir}"/>
667      <mkdir dir="${4jdk7javadocs.dir}"/>      <mkdir dir="${4jdk7docs.dir}"/>
668    
669      <javadoc destdir="${4jdk7javadocs.dir}"      <javadoc destdir="${4jdk7docs.dir}"
670               packagenames="none"               packagenames="none"
671               link="${jdkapi7docs.url}"               link="${jdkapi7docs.url}"
672               overview="${4jdk7src.dir}/intro.html"               overview="${4jdk7src.dir}/intro.html"
# Line 700  Line 700 
700    </target>    </target>
701    
702    <target name="4jdk7dist-jar"    <target name="4jdk7dist-jar"
703            depends="4jdk7clean, 4jdk7-jar">            depends="4jdk7clean, 4jdk7jar">
704      <copy file="${4jdk7product.jar}" todir="${dist.dir}"/>      <copy file="${4jdk7product.jar}" todir="${dist.dir}"/>
705    </target>    </target>
706    
707    
708    <target name="4jdk7dist-docs"    <target name="4jdk7dist-docs"
709            depends="4jdk7clean, 4jdk7docs">            depends="4jdk7clean, 4jdk7docs">
710      <mirror-dir src="${4jdk7javadocs.dir}" dst="${dist.4jdk7javadocs.dir}"/>      <mirror-dir src="${4jdk7docs.dir}" dst="${dist.4jdk7docs.dir}"/>
711    </target>    </target>
712    
713    
# Line 741  Line 741 
741    </target>    </target>
742    
743    
744    <target name="jsr166x-jar"    <target name="jsr166xjar"
745            depends="jsr166xcompile"            depends="jsr166xcompile"
746            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
747    
# Line 755  Line 755 
755    <target name="jsr166xdocs"    <target name="jsr166xdocs"
756            description="Builds javadocs to dist dir">            description="Builds javadocs to dist dir">
757    
758      <delete dir="${jsr166xjavadocs.dir}"/>      <delete dir="${jsr166xdocs.dir}"/>
759      <mkdir dir="${jsr166xjavadocs.dir}"/>      <mkdir dir="${jsr166xdocs.dir}"/>
760    
761      <javadoc destdir="${jsr166xjavadocs.dir}"      <javadoc destdir="${jsr166xdocs.dir}"
762               packagenames="jsr166x.*"               packagenames="jsr166x.*"
763               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
764               sourcepath="${topsrc.dir}:${jdk6src.dir}"               sourcepath="${topsrc.dir}:${jdk6src.dir}"
# Line 791  Line 791 
791    
792    
793    <target name="jsr166xdist-jar"    <target name="jsr166xdist-jar"
794            depends="jsr166xclean, jsr166x-jar">            depends="jsr166xclean, jsr166xjar">
795      <copy file="${jsr166x.jar}" todir="${dist.dir}"/>      <copy file="${jsr166x.jar}" todir="${dist.dir}"/>
796    </target>    </target>
797    
798    <target name="jsr166xdist-docs"    <target name="jsr166xdist-docs"
799            depends="jsr166xclean, jsr166xdocs">            depends="jsr166xclean, jsr166xdocs">
800      <mirror-dir src="${jsr166xjavadocs.dir}" dst="${dist.jsr166xjavadocs.dir}"/>      <mirror-dir src="${jsr166xdocs.dir}" dst="${dist.jsr166xdocs.dir}"/>
801    </target>    </target>
802    
803    <!-- jsr166y -->    <!-- jsr166y -->
# Line 831  Line 831 
831    </target>    </target>
832    
833    
834    <target name="jsr166y-jar"    <target name="jsr166yjar"
835            depends="jsr166ycompile"            depends="jsr166ycompile"
836            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
837    
# Line 845  Line 845 
845    <target name="jsr166ydocs"    <target name="jsr166ydocs"
846            description="Builds javadocs to dist dir">            description="Builds javadocs to dist dir">
847    
848      <delete dir="${jsr166yjavadocs.dir}"/>      <delete dir="${jsr166ydocs.dir}"/>
849      <mkdir dir="${jsr166yjavadocs.dir}"/>      <mkdir dir="${jsr166ydocs.dir}"/>
850    
851      <javadoc destdir="${jsr166yjavadocs.dir}"      <javadoc destdir="${jsr166ydocs.dir}"
852               packagenames="jsr166y.*"               packagenames="jsr166y.*"
853               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
854               sourcepath="${topsrc.dir}:${jdk6src.dir}"               sourcepath="${topsrc.dir}:${jdk6src.dir}"
# Line 880  Line 880 
880    </target>    </target>
881    
882    <target name="jsr166ydist-jar"    <target name="jsr166ydist-jar"
883            depends="jsr166yclean, jsr166y-jar">            depends="jsr166yclean, jsr166yjar">
884      <copy file="${jsr166y.jar}" todir="${dist.dir}"/>      <copy file="${jsr166y.jar}" todir="${dist.dir}"/>
885    </target>    </target>
886    
887    <target name="jsr166ydist-docs"    <target name="jsr166ydist-docs"
888            depends="jsr166yclean, jsr166ydocs">            depends="jsr166yclean, jsr166ydocs">
889      <mirror-dir src="${jsr166yjavadocs.dir}" dst="${dist.jsr166yjavadocs.dir}"/>      <mirror-dir src="${jsr166ydocs.dir}" dst="${dist.jsr166ydocs.dir}"/>
890    </target>    </target>
891    
892    
# Line 894  Line 894 
894    
895    
896    <target name="extra166ycompile"    <target name="extra166ycompile"
897            depends="configure-compiler, jsr166y-jar"            depends="configure-compiler, jsr166yjar"
898            description="Compiles extra166y sources">            description="Compiles extra166y sources">
899    
900      <mkdir dir="${build.extra166y.classes.dir}"/>      <mkdir dir="${build.extra166y.classes.dir}"/>
# Line 921  Line 921 
921    </target>    </target>
922    
923    
924    <target name="extra166y-jar"    <target name="extra166yjar"
925            depends="extra166ycompile"            depends="extra166ycompile"
926            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
927    
# Line 935  Line 935 
935    <target name="extra166ydocs"    <target name="extra166ydocs"
936            description="Builds javadocs to build dir">            description="Builds javadocs to build dir">
937    
938      <delete dir="${extra166yjavadocs.dir}"/>      <delete dir="${extra166ydocs.dir}"/>
939      <mkdir dir="${extra166yjavadocs.dir}"/>      <mkdir dir="${extra166ydocs.dir}"/>
940    
941      <javadoc destdir="${extra166yjavadocs.dir}"      <javadoc destdir="${extra166ydocs.dir}"
942               packagenames="extra166y.*"               packagenames="extra166y.*"
943               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
944               sourcepath="${topsrc.dir}:${jdk6src.dir}"               sourcepath="${topsrc.dir}:${jdk6src.dir}"
# Line 970  Line 970 
970    </target>    </target>
971    
972    <target name="extra166ydist-jar"    <target name="extra166ydist-jar"
973            depends="extra166yclean, extra166y-jar">            depends="extra166yclean, extra166yjar">
974      <copy file="${extra166y.jar}" todir="${dist.dir}"/>      <copy file="${extra166y.jar}" todir="${dist.dir}"/>
975    </target>    </target>
976    
977    <target name="extra166ydist-docs"    <target name="extra166ydist-docs"
978            depends="extra166yclean, extra166ydocs">            depends="extra166yclean, extra166ydocs">
979      <mirror-dir src="${extra166yjavadocs.dir}" dst="${dist.extra166yjavadocs.dir}"/>      <mirror-dir src="${extra166ydocs.dir}" dst="${dist.extra166ydocs.dir}"/>
980    </target>    </target>
981    
982    <!-- jsr166e -->    <!-- jsr166e -->
# Line 1008  Line 1008 
1008    </target>    </target>
1009    
1010    
1011    <target name="jsr166e-jar"    <target name="jsr166ejar"
1012            depends="jsr166ecompile"            depends="jsr166ecompile"
1013            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
1014    
# Line 1022  Line 1022 
1022    <target name="jsr166edocs"    <target name="jsr166edocs"
1023            description="Builds javadocs to build dir">            description="Builds javadocs to build dir">
1024    
1025      <delete dir="${jsr166ejavadocs.dir}"/>      <delete dir="${jsr166edocs.dir}"/>
1026      <mkdir dir="${jsr166ejavadocs.dir}"/>      <mkdir dir="${jsr166edocs.dir}"/>
1027    
1028      <javadoc destdir="${jsr166ejavadocs.dir}"      <javadoc destdir="${jsr166edocs.dir}"
1029               packagenames="jsr166e.*"               packagenames="jsr166e.*"
1030               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
1031               sourcepath="${topsrc.dir}:${jdk7src.dir}"               sourcepath="${topsrc.dir}:${jdk7src.dir}"
# Line 1038  Line 1038 
1038    
1039    
1040    <target name="jsr166e-test-tck"    <target name="jsr166e-test-tck"
1041            depends="jsr166e-jar"            depends="jsr166ejar"
1042            description="Runs tck tests for jsr166e">            description="Runs tck tests for jsr166e">
1043    
1044      <run-tck-tests      <run-tck-tests
# Line 1067  Line 1067 
1067    </target>    </target>
1068    
1069    <target name="jsr166edist-jar"    <target name="jsr166edist-jar"
1070            depends="jsr166eclean, jsr166e-jar">            depends="jsr166eclean, jsr166ejar">
1071      <copy file="${jsr166e.jar}" todir="${dist.dir}"/>      <copy file="${jsr166e.jar}" todir="${dist.dir}"/>
1072    </target>    </target>
1073    
1074    <target name="jsr166edist-docs"    <target name="jsr166edist-docs"
1075            depends="jsr166eclean, jsr166edocs">            depends="jsr166eclean, jsr166edocs">
1076      <mirror-dir src="${jsr166ejavadocs.dir}" dst="${dist.jsr166ejavadocs.dir}"/>      <mirror-dir src="${jsr166edocs.dir}" dst="${dist.jsr166edocs.dir}"/>
1077    </target>    </target>
1078    
1079  </project>  </project>

Legend:
Removed from v.1.126  
changed lines
  Added in v.1.128

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