81 |
81 |
82 This file is organized into sections as follows: |
82 This file is organized into sections as follows: |
83 - global property definitions |
83 - global property definitions |
84 - general top level targets |
84 - general top level targets |
85 - general diagnostic/debugging targets |
85 - general diagnostic/debugging targets |
86 - groups of targets for each tool: javac, javadoc, doclets, javah, javap, apt |
86 - groups of targets for each tool: javac, javadoc, doclets, javah, javap |
87 Within each group, the following targets are provided, where applicable |
87 Within each group, the following targets are provided, where applicable |
88 build-bootstrap-TOOL build the bootstrap version of the tool |
88 build-bootstrap-TOOL build the bootstrap version of the tool |
89 build-classes-TOOL build the classes for the tool |
89 build-classes-TOOL build the classes for the tool |
90 build-TOOL build the jar file and script for the tool |
90 build-TOOL build the jar file and script for the tool |
91 jtreg-TOOL build the tool and run the appropriate tests |
91 jtreg-TOOL build the tool and run the appropriate tests |
243 <target name="build-bootstrap-tools" |
243 <target name="build-bootstrap-tools" |
244 depends="build-bootstrap-javac,build-bootstrap-javadoc,build-bootstrap-doclets,build-bootstrap-javah" |
244 depends="build-bootstrap-javac,build-bootstrap-javadoc,build-bootstrap-doclets,build-bootstrap-javah" |
245 /> |
245 /> |
246 |
246 |
247 <target name="build-all-tools" |
247 <target name="build-all-tools" |
248 depends="build-javac,build-javadoc,build-doclets,build-javah,build-javap,build-apt" |
248 depends="build-javac,build-javadoc,build-doclets,build-javah,build-javap" |
249 /> |
249 /> |
250 |
250 |
251 <target name="build-all-classes" depends="build-bootstrap-javac,-create-import-jdk-stubs"> |
251 <target name="build-all-classes" depends="build-bootstrap-javac,-create-import-jdk-stubs"> |
252 <build-classes includes="${javac.includes} ${javadoc.includes} ${doclets.includes} ${javah.includes} ${javap.includes} ${apt.includes}"/> |
252 <build-classes includes="${javac.includes} ${javadoc.includes} ${doclets.includes} ${javah.includes} ${javap.includes}"/> |
253 </target> |
253 </target> |
254 |
254 |
255 <!-- clean --> |
255 <!-- clean --> |
256 |
256 |
257 <target name="clean" description="Delete all generated files"> |
257 <target name="clean" description="Delete all generated files"> |
652 <target name="findbugs-javap" depends="build-javap,-def-findbugs"> |
652 <target name="findbugs-javap" depends="build-javap,-def-findbugs"> |
653 <findbugs-tool name="javap"/> |
653 <findbugs-tool name="javap"/> |
654 </target> |
654 </target> |
655 |
655 |
656 <target name="javap" depends="build-javap,jtreg-javap,findbugs-javap"/> |
656 <target name="javap" depends="build-javap,jtreg-javap,findbugs-javap"/> |
657 |
|
658 |
|
659 <!-- |
|
660 **** apt targets. |
|
661 --> |
|
662 |
|
663 <target name="build-bootstrap-apt" depends="build-bootstrap-javac"> |
|
664 <build-bootstrap-classes includes="${apt.includes}"/> |
|
665 <build-bootstrap-jar name="apt" includes="${apt.includes}" |
|
666 jarclasspath="javac.jar"/> |
|
667 <build-bootstrap-tool name="apt"/> |
|
668 </target> |
|
669 |
|
670 <target name="build-apt" depends="build-javac,build-classes-apt"> |
|
671 <build-jar name="apt" includes="${apt.includes}" jarclasspath="javac.jar"/> |
|
672 <build-tool name="apt"/> |
|
673 </target> |
|
674 |
|
675 <target name="build-classes-apt" depends="build-classes-javac"> |
|
676 <build-classes includes="${apt.includes}"/> |
|
677 </target> |
|
678 |
|
679 <target name="javadoc-apt" depends="build-apt,-def-javadoc-tool"> |
|
680 <javadoc-tool name="apt" includes="${apt.includes}"/> |
|
681 </target> |
|
682 |
|
683 |
|
684 <target name="jtreg-apt" depends="build-apt,-def-jtreg"> |
|
685 <jtreg-tool name="apt" tests="${apt.tests}"/> |
|
686 </target> |
|
687 |
|
688 <target name="findbugs-apt" depends="build-apt,-def-findbugs"> |
|
689 <findbugs-tool name="apt"/> |
|
690 </target> |
|
691 |
|
692 <target name="apt" depends="build-apt,jtreg-apt,findbugs-apt"/> |
|
693 |
657 |
694 |
658 |
695 <!-- |
659 <!-- |
696 **** Create import JDK stubs. |
660 **** Create import JDK stubs. |
697 --> |
661 --> |
965 <packageset dir="${src.classes.dir}" includes="@{includes}"> |
929 <packageset dir="${src.classes.dir}" includes="@{includes}"> |
966 <or> |
930 <or> |
967 <filename name="java/"/> |
931 <filename name="java/"/> |
968 <filename name="javax/"/> |
932 <filename name="javax/"/> |
969 <filename name="com/sun/javadoc/"/> |
933 <filename name="com/sun/javadoc/"/> |
970 <filename name="com/sun/mirror/"/> |
|
971 <filename name="com/sun/source/"/> |
934 <filename name="com/sun/source/"/> |
972 </or> |
935 </or> |
973 </packageset> |
936 </packageset> |
974 </javadoc> |
937 </javadoc> |
975 </sequential> |
938 </sequential> |