1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
2 | <!--NewPage-->
|
---|
3 | <HTML>
|
---|
4 | <HEAD>
|
---|
5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:22 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | SubAnt (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.SubAnt class">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="SubAnt (Apache Ant API)";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 |
|
---|
21 | </HEAD>
|
---|
22 |
|
---|
23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
27 | <A NAME="navbar_top"><!-- --></A>
|
---|
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
30 | <TR>
|
---|
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
34 | <TR ALIGN="center" VALIGN="top">
|
---|
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/StreamPumper.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Sync.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
55 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
56 | <A HREF="SubAnt.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant.taskdefs</FONT>
|
---|
85 | <BR>
|
---|
86 | Class SubAnt</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A>
|
---|
90 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</A>
|
---|
91 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.SubAnt</B>
|
---|
92 | </PRE>
|
---|
93 | <HR>
|
---|
94 | <DL>
|
---|
95 | <DT>public class <B>SubAnt</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></DL>
|
---|
96 |
|
---|
97 | <P>
|
---|
98 | Calls a given target for all defined sub-builds. This is an extension
|
---|
99 | of ant for bulk project execution.
|
---|
100 | <p>
|
---|
101 | <h2> Use with directories </h2>
|
---|
102 | <p>
|
---|
103 | subant can be used with directory sets to execute a build from different directories.
|
---|
104 | 2 different options are offered
|
---|
105 | </p>
|
---|
106 | <ul>
|
---|
107 | <li>
|
---|
108 | run the same build file /somepath/otherpath/mybuild.xml
|
---|
109 | with different base directories use the genericantfile attribute
|
---|
110 | </li>
|
---|
111 | <li>if you want to run directory1/build.xml, directory2/build.xml, ....
|
---|
112 | use the antfile attribute. The base directory does not get set by the subant task in this case,
|
---|
113 | because you can specify it in each build file.
|
---|
114 | </li>
|
---|
115 | </ul>
|
---|
116 | <P>
|
---|
117 |
|
---|
118 | <P>
|
---|
119 | <DL>
|
---|
120 | <DT><B>Since:</B></DT>
|
---|
121 | <DD>Ant1.6</DD>
|
---|
122 | </DL>
|
---|
123 | <HR>
|
---|
124 |
|
---|
125 | <P>
|
---|
126 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
127 |
|
---|
128 |
|
---|
129 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
130 |
|
---|
131 | <A NAME="field_summary"><!-- --></A>
|
---|
132 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
133 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
134 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
135 | <B>Field Summary</B></FONT></TD>
|
---|
136 | </TR>
|
---|
137 | </TABLE>
|
---|
138 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
139 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
140 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
141 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
142 | </TR>
|
---|
143 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
144 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#description">description</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#location">location</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskName">taskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskType">taskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</A></CODE></TD>
|
---|
145 | </TR>
|
---|
146 | </TABLE>
|
---|
147 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
148 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
149 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
150 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
151 | </TR>
|
---|
152 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
153 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
154 | </TR>
|
---|
155 | </TABLE>
|
---|
156 |
|
---|
157 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
158 |
|
---|
159 | <A NAME="constructor_summary"><!-- --></A>
|
---|
160 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
161 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
162 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
163 | <B>Constructor Summary</B></FONT></TD>
|
---|
164 | </TR>
|
---|
165 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
166 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#SubAnt()">SubAnt</A></B>()</CODE>
|
---|
167 |
|
---|
168 | <BR>
|
---|
169 | </TD>
|
---|
170 | </TR>
|
---|
171 | </TABLE>
|
---|
172 |
|
---|
173 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
174 |
|
---|
175 | <A NAME="method_summary"><!-- --></A>
|
---|
176 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
177 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
178 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
179 | <B>Method Summary</B></FONT></TD>
|
---|
180 | </TR>
|
---|
181 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
182 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
183 | <CODE> void</CODE></FONT></TD>
|
---|
184 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#addDirset(org.apache.tools.ant.types.DirSet)">addDirset</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/DirSet.html" title="class in org.apache.tools.ant.types">DirSet</A> set)</CODE>
|
---|
185 |
|
---|
186 | <BR>
|
---|
187 | Adds a directory set to the implicit build path.</TD>
|
---|
188 | </TR>
|
---|
189 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
191 | <CODE> void</CODE></FONT></TD>
|
---|
192 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#addFilelist(org.apache.tools.ant.types.FileList)">addFilelist</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/FileList.html" title="class in org.apache.tools.ant.types">FileList</A> list)</CODE>
|
---|
193 |
|
---|
194 | <BR>
|
---|
195 | Adds an ordered file list to the implicit build path.</TD>
|
---|
196 | </TR>
|
---|
197 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
199 | <CODE> void</CODE></FONT></TD>
|
---|
200 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#addFileset(org.apache.tools.ant.types.FileSet)">addFileset</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A> set)</CODE>
|
---|
201 |
|
---|
202 | <BR>
|
---|
203 | Adds a file set to the implicit build path.</TD>
|
---|
204 | </TR>
|
---|
205 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
207 | <CODE> void</CODE></FONT></TD>
|
---|
208 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#addProperty(org.apache.tools.ant.taskdefs.Property)">addProperty</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Property.html" title="class in org.apache.tools.ant.taskdefs">Property</A> p)</CODE>
|
---|
209 |
|
---|
210 | <BR>
|
---|
211 | Corresponds to <code><ant></code>'s
|
---|
212 | nested <code><property></code> element.</TD>
|
---|
213 | </TR>
|
---|
214 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
215 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
216 | <CODE> void</CODE></FONT></TD>
|
---|
217 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#addPropertyset(org.apache.tools.ant.types.PropertySet)">addPropertyset</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/PropertySet.html" title="class in org.apache.tools.ant.types">PropertySet</A> ps)</CODE>
|
---|
218 |
|
---|
219 | <BR>
|
---|
220 | Corresponds to <code><ant></code>'s
|
---|
221 | nested <code><propertyset></code> element.</TD>
|
---|
222 | </TR>
|
---|
223 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
224 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
225 | <CODE> void</CODE></FONT></TD>
|
---|
226 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#addReference(org.apache.tools.ant.taskdefs.Ant.Reference)">addReference</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.Reference.html" title="class in org.apache.tools.ant.taskdefs">Ant.Reference</A> r)</CODE>
|
---|
227 |
|
---|
228 | <BR>
|
---|
229 | Corresponds to <code><ant></code>'s
|
---|
230 | nested <code><reference></code> element.</TD>
|
---|
231 | </TR>
|
---|
232 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
233 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
234 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
235 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#createBuildpath()">createBuildpath</A></B>()</CODE>
|
---|
236 |
|
---|
237 | <BR>
|
---|
238 | Creates a nested build path, and add it to the implicit build path.</TD>
|
---|
239 | </TR>
|
---|
240 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
241 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
242 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.PathElement.html" title="class in org.apache.tools.ant.types">Path.PathElement</A></CODE></FONT></TD>
|
---|
243 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#createBuildpathElement()">createBuildpathElement</A></B>()</CODE>
|
---|
244 |
|
---|
245 | <BR>
|
---|
246 | Creates a nested <code><buildpathelement></code>,
|
---|
247 | and add it to the implicit build path.</TD>
|
---|
248 | </TR>
|
---|
249 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
250 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
251 | <CODE> void</CODE></FONT></TD>
|
---|
252 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#execute()">execute</A></B>()</CODE>
|
---|
253 |
|
---|
254 | <BR>
|
---|
255 | Runs the various sub-builds.</TD>
|
---|
256 | </TR>
|
---|
257 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
258 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
259 | <CODE> void</CODE></FONT></TD>
|
---|
260 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A></B>(java.lang.String output)</CODE>
|
---|
261 |
|
---|
262 | <BR>
|
---|
263 | Pass output sent to System.err to the new project.</TD>
|
---|
264 | </TR>
|
---|
265 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
266 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
267 | <CODE> void</CODE></FONT></TD>
|
---|
268 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A></B>(java.lang.String output)</CODE>
|
---|
269 |
|
---|
270 | <BR>
|
---|
271 | Pass output sent to System.err to the new project.</TD>
|
---|
272 | </TR>
|
---|
273 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
274 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
275 | <CODE> void</CODE></FONT></TD>
|
---|
276 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#handleFlush(java.lang.String)">handleFlush</A></B>(java.lang.String output)</CODE>
|
---|
277 |
|
---|
278 | <BR>
|
---|
279 | Pass output sent to System.out to the new project.</TD>
|
---|
280 | </TR>
|
---|
281 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
282 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
283 | <CODE> int</CODE></FONT></TD>
|
---|
284 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#handleInput(byte[], int, int)">handleInput</A></B>(byte[] buffer,
|
---|
285 | int offset,
|
---|
286 | int length)</CODE>
|
---|
287 |
|
---|
288 | <BR>
|
---|
289 | Process input into the ant task</TD>
|
---|
290 | </TR>
|
---|
291 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
292 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
293 | <CODE> void</CODE></FONT></TD>
|
---|
294 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#handleOutput(java.lang.String)">handleOutput</A></B>(java.lang.String output)</CODE>
|
---|
295 |
|
---|
296 | <BR>
|
---|
297 | Pass output sent to System.out to the new project.</TD>
|
---|
298 | </TR>
|
---|
299 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
300 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
301 | <CODE> void</CODE></FONT></TD>
|
---|
302 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#setAntfile(java.lang.String)">setAntfile</A></B>(java.lang.String antfile)</CODE>
|
---|
303 |
|
---|
304 | <BR>
|
---|
305 | This method builds the file name to use in conjunction with directories.</TD>
|
---|
306 | </TR>
|
---|
307 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
308 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
309 | <CODE> void</CODE></FONT></TD>
|
---|
310 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#setBuildpath(org.apache.tools.ant.types.Path)">setBuildpath</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> s)</CODE>
|
---|
311 |
|
---|
312 | <BR>
|
---|
313 | Set the buildpath to be used to find sub-projects.</TD>
|
---|
314 | </TR>
|
---|
315 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
316 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
317 | <CODE> void</CODE></FONT></TD>
|
---|
318 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#setBuildpathRef(org.apache.tools.ant.types.Reference)">setBuildpathRef</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</CODE>
|
---|
319 |
|
---|
320 | <BR>
|
---|
321 | Buildpath to use, by reference.</TD>
|
---|
322 | </TR>
|
---|
323 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
324 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
325 | <CODE> void</CODE></FONT></TD>
|
---|
326 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#setFailonerror(boolean)">setFailonerror</A></B>(boolean failOnError)</CODE>
|
---|
327 |
|
---|
328 | <BR>
|
---|
329 | Sets whether to fail with a build exception on error, or go on.</TD>
|
---|
330 | </TR>
|
---|
331 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
332 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
333 | <CODE> void</CODE></FONT></TD>
|
---|
334 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#setGenericAntfile(java.io.File)">setGenericAntfile</A></B>(java.io.File afile)</CODE>
|
---|
335 |
|
---|
336 | <BR>
|
---|
337 | This method builds a file path to use in conjunction with directories.</TD>
|
---|
338 | </TR>
|
---|
339 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
340 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
341 | <CODE> void</CODE></FONT></TD>
|
---|
342 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#setInheritall(boolean)">setInheritall</A></B>(boolean b)</CODE>
|
---|
343 |
|
---|
344 | <BR>
|
---|
345 | Corresponds to <code><ant></code>'s
|
---|
346 | <code>inheritall</code> attribute.</TD>
|
---|
347 | </TR>
|
---|
348 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
349 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
350 | <CODE> void</CODE></FONT></TD>
|
---|
351 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#setInheritrefs(boolean)">setInheritrefs</A></B>(boolean b)</CODE>
|
---|
352 |
|
---|
353 | <BR>
|
---|
354 | Corresponds to <code><ant></code>'s
|
---|
355 | <code>inheritrefs</code> attribute.</TD>
|
---|
356 | </TR>
|
---|
357 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
358 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
359 | <CODE> void</CODE></FONT></TD>
|
---|
360 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#setOutput(java.lang.String)">setOutput</A></B>(java.lang.String s)</CODE>
|
---|
361 |
|
---|
362 | <BR>
|
---|
363 | Corresponds to <code><ant></code>'s
|
---|
364 | <code>output</code> attribute.</TD>
|
---|
365 | </TR>
|
---|
366 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
367 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
368 | <CODE> void</CODE></FONT></TD>
|
---|
369 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#setTarget(java.lang.String)">setTarget</A></B>(java.lang.String target)</CODE>
|
---|
370 |
|
---|
371 | <BR>
|
---|
372 | The target to call on the different sub-builds.</TD>
|
---|
373 | </TR>
|
---|
374 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
375 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
376 | <CODE> void</CODE></FONT></TD>
|
---|
377 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/SubAnt.html#setVerbose(boolean)">setVerbose</A></B>(boolean on)</CODE>
|
---|
378 |
|
---|
379 | <BR>
|
---|
380 | Enable/ disable verbose log messages showing when each sub-build path is entered/ exited.</TD>
|
---|
381 | </TR>
|
---|
382 | </TABLE>
|
---|
383 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
384 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
385 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
386 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
387 | </TR>
|
---|
388 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
389 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#getDescription()">getDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getLocation()">getLocation</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getOwningTarget()">getOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getRuntimeConfigurableWrapper()">getRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskName()">getTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskType()">getTaskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getWrapper()">getWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#init()">init</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#isInvalid()">isInvalid</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#maybeConfigure()">maybeConfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#perform()">perform</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#reconfigure()">reconfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setLocation(org.apache.tools.ant.Location)">setLocation</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setOwningTarget(org.apache.tools.ant.Target)">setOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)">setRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskName(java.lang.String)">setTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskType(java.lang.String)">setTaskType</A></CODE></TD>
|
---|
390 | </TR>
|
---|
391 | </TABLE>
|
---|
392 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
393 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
394 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
395 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
396 | </TR>
|
---|
397 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
398 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
|
---|
399 | </TR>
|
---|
400 | </TABLE>
|
---|
401 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
402 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
403 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
404 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
405 | </TR>
|
---|
406 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
407 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
408 | </TR>
|
---|
409 | </TABLE>
|
---|
410 |
|
---|
411 | <P>
|
---|
412 |
|
---|
413 | <!-- ============ FIELD DETAIL =========== -->
|
---|
414 |
|
---|
415 |
|
---|
416 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
417 |
|
---|
418 | <A NAME="constructor_detail"><!-- --></A>
|
---|
419 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
420 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
421 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
422 | <B>Constructor Detail</B></FONT></TD>
|
---|
423 | </TR>
|
---|
424 | </TABLE>
|
---|
425 |
|
---|
426 | <A NAME="SubAnt()"><!-- --></A><H3>
|
---|
427 | SubAnt</H3>
|
---|
428 | <PRE>
|
---|
429 | public <B>SubAnt</B>()</PRE>
|
---|
430 | <DL>
|
---|
431 | </DL>
|
---|
432 |
|
---|
433 | <!-- ============ METHOD DETAIL ========== -->
|
---|
434 |
|
---|
435 | <A NAME="method_detail"><!-- --></A>
|
---|
436 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
437 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
438 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
439 | <B>Method Detail</B></FONT></TD>
|
---|
440 | </TR>
|
---|
441 | </TABLE>
|
---|
442 |
|
---|
443 | <A NAME="handleOutput(java.lang.String)"><!-- --></A><H3>
|
---|
444 | handleOutput</H3>
|
---|
445 | <PRE>
|
---|
446 | public void <B>handleOutput</B>(java.lang.String output)</PRE>
|
---|
447 | <DL>
|
---|
448 | <DD>Pass output sent to System.out to the new project.
|
---|
449 | <P>
|
---|
450 | <DD><DL>
|
---|
451 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)">handleOutput</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
|
---|
452 | </DD>
|
---|
453 | <DD><DL>
|
---|
454 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - a line of output<DT><B>Since:</B></DT>
|
---|
455 | <DD>Ant 1.6.2</DD>
|
---|
456 | </DL>
|
---|
457 | </DD>
|
---|
458 | </DL>
|
---|
459 | <HR>
|
---|
460 |
|
---|
461 | <A NAME="handleInput(byte[], int, int)"><!-- --></A><H3>
|
---|
462 | handleInput</H3>
|
---|
463 | <PRE>
|
---|
464 | public int <B>handleInput</B>(byte[] buffer,
|
---|
465 | int offset,
|
---|
466 | int length)
|
---|
467 | throws java.io.IOException</PRE>
|
---|
468 | <DL>
|
---|
469 | <DD>Process input into the ant task
|
---|
470 | <P>
|
---|
471 | <DD><DL>
|
---|
472 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)">handleInput</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
|
---|
473 | </DD>
|
---|
474 | <DD><DL>
|
---|
475 | <DT><B>Parameters:</B><DD><CODE>buffer</CODE> - the buffer into which data is to be read.<DD><CODE>offset</CODE> - the offset into the buffer at which data is stored.<DD><CODE>length</CODE> - the amount of data to read
|
---|
476 | <DT><B>Returns:</B><DD>the number of bytes read
|
---|
477 | <DT><B>Throws:</B>
|
---|
478 | <DD><CODE>java.io.IOException</CODE> - if the data cannot be read<DT><B>Since:</B></DT>
|
---|
479 | <DD>Ant 1.6.2</DD>
|
---|
480 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)"><CODE>Task.handleInput(byte[], int, int)</CODE></A></DL>
|
---|
481 | </DD>
|
---|
482 | </DL>
|
---|
483 | <HR>
|
---|
484 |
|
---|
485 | <A NAME="handleFlush(java.lang.String)"><!-- --></A><H3>
|
---|
486 | handleFlush</H3>
|
---|
487 | <PRE>
|
---|
488 | public void <B>handleFlush</B>(java.lang.String output)</PRE>
|
---|
489 | <DL>
|
---|
490 | <DD>Pass output sent to System.out to the new project.
|
---|
491 | <P>
|
---|
492 | <DD><DL>
|
---|
493 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)">handleFlush</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
|
---|
494 | </DD>
|
---|
495 | <DD><DL>
|
---|
496 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - The output to log. Should not be <code>null</code>.<DT><B>Since:</B></DT>
|
---|
497 | <DD>Ant 1.6.2</DD>
|
---|
498 | </DL>
|
---|
499 | </DD>
|
---|
500 | </DL>
|
---|
501 | <HR>
|
---|
502 |
|
---|
503 | <A NAME="handleErrorOutput(java.lang.String)"><!-- --></A><H3>
|
---|
504 | handleErrorOutput</H3>
|
---|
505 | <PRE>
|
---|
506 | public void <B>handleErrorOutput</B>(java.lang.String output)</PRE>
|
---|
507 | <DL>
|
---|
508 | <DD>Pass output sent to System.err to the new project.
|
---|
509 | <P>
|
---|
510 | <DD><DL>
|
---|
511 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
|
---|
512 | </DD>
|
---|
513 | <DD><DL>
|
---|
514 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - The error output to log. Should not be <code>null</code>.<DT><B>Since:</B></DT>
|
---|
515 | <DD>Ant 1.6.2</DD>
|
---|
516 | </DL>
|
---|
517 | </DD>
|
---|
518 | </DL>
|
---|
519 | <HR>
|
---|
520 |
|
---|
521 | <A NAME="handleErrorFlush(java.lang.String)"><!-- --></A><H3>
|
---|
522 | handleErrorFlush</H3>
|
---|
523 | <PRE>
|
---|
524 | public void <B>handleErrorFlush</B>(java.lang.String output)</PRE>
|
---|
525 | <DL>
|
---|
526 | <DD>Pass output sent to System.err to the new project.
|
---|
527 | <P>
|
---|
528 | <DD><DL>
|
---|
529 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
|
---|
530 | </DD>
|
---|
531 | <DD><DL>
|
---|
532 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - The error output to log. Should not be <code>null</code>.<DT><B>Since:</B></DT>
|
---|
533 | <DD>Ant 1.6.2</DD>
|
---|
534 | </DL>
|
---|
535 | </DD>
|
---|
536 | </DL>
|
---|
537 | <HR>
|
---|
538 |
|
---|
539 | <A NAME="execute()"><!-- --></A><H3>
|
---|
540 | execute</H3>
|
---|
541 | <PRE>
|
---|
542 | public void <B>execute</B>()</PRE>
|
---|
543 | <DL>
|
---|
544 | <DD>Runs the various sub-builds.
|
---|
545 | <P>
|
---|
546 | <DD><DL>
|
---|
547 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#execute()">execute</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
|
---|
548 | </DD>
|
---|
549 | <DD><DL>
|
---|
550 | </DL>
|
---|
551 | </DD>
|
---|
552 | </DL>
|
---|
553 | <HR>
|
---|
554 |
|
---|
555 | <A NAME="setAntfile(java.lang.String)"><!-- --></A><H3>
|
---|
556 | setAntfile</H3>
|
---|
557 | <PRE>
|
---|
558 | public void <B>setAntfile</B>(java.lang.String antfile)</PRE>
|
---|
559 | <DL>
|
---|
560 | <DD>This method builds the file name to use in conjunction with directories.
|
---|
561 |
|
---|
562 | <p>Defaults to "build.xml".
|
---|
563 | If <code>genericantfile</code> is set, this attribute is ignored.</p>
|
---|
564 | <P>
|
---|
565 | <DD><DL>
|
---|
566 | <DT><B>Parameters:</B><DD><CODE>antfile</CODE> - the short build file name. Defaults to "build.xml".</DL>
|
---|
567 | </DD>
|
---|
568 | </DL>
|
---|
569 | <HR>
|
---|
570 |
|
---|
571 | <A NAME="setGenericAntfile(java.io.File)"><!-- --></A><H3>
|
---|
572 | setGenericAntfile</H3>
|
---|
573 | <PRE>
|
---|
574 | public void <B>setGenericAntfile</B>(java.io.File afile)</PRE>
|
---|
575 | <DL>
|
---|
576 | <DD>This method builds a file path to use in conjunction with directories.
|
---|
577 |
|
---|
578 | <p>Use <code>genericantfile</code>, in order to run the same build file
|
---|
579 | with different basedirs.</p>
|
---|
580 | If this attribute is set, <code>antfile</code> is ignored.
|
---|
581 | <P>
|
---|
582 | <DD><DL>
|
---|
583 | <DT><B>Parameters:</B><DD><CODE>afile</CODE> - (path of the generic ant file, absolute or relative to
|
---|
584 | project base directory)</DL>
|
---|
585 | </DD>
|
---|
586 | </DL>
|
---|
587 | <HR>
|
---|
588 |
|
---|
589 | <A NAME="setFailonerror(boolean)"><!-- --></A><H3>
|
---|
590 | setFailonerror</H3>
|
---|
591 | <PRE>
|
---|
592 | public void <B>setFailonerror</B>(boolean failOnError)</PRE>
|
---|
593 | <DL>
|
---|
594 | <DD>Sets whether to fail with a build exception on error, or go on.
|
---|
595 | <P>
|
---|
596 | <DD><DL>
|
---|
597 | <DT><B>Parameters:</B><DD><CODE>failOnError</CODE> - the new value for this boolean flag.</DL>
|
---|
598 | </DD>
|
---|
599 | </DL>
|
---|
600 | <HR>
|
---|
601 |
|
---|
602 | <A NAME="setTarget(java.lang.String)"><!-- --></A><H3>
|
---|
603 | setTarget</H3>
|
---|
604 | <PRE>
|
---|
605 | public void <B>setTarget</B>(java.lang.String target)</PRE>
|
---|
606 | <DL>
|
---|
607 | <DD>The target to call on the different sub-builds. Set to "" to execute
|
---|
608 | the default target.
|
---|
609 | <P>
|
---|
610 | <DD><DL>
|
---|
611 | <DT><B>Parameters:</B><DD><CODE>target</CODE> - the target
|
---|
612 | <p></DL>
|
---|
613 | </DD>
|
---|
614 | </DL>
|
---|
615 | <HR>
|
---|
616 |
|
---|
617 | <A NAME="setVerbose(boolean)"><!-- --></A><H3>
|
---|
618 | setVerbose</H3>
|
---|
619 | <PRE>
|
---|
620 | public void <B>setVerbose</B>(boolean on)</PRE>
|
---|
621 | <DL>
|
---|
622 | <DD>Enable/ disable verbose log messages showing when each sub-build path is entered/ exited.
|
---|
623 | The default value is "false".
|
---|
624 | <P>
|
---|
625 | <DD><DL>
|
---|
626 | <DT><B>Parameters:</B><DD><CODE>on</CODE> - true to enable verbose mode, false otherwise (default).</DL>
|
---|
627 | </DD>
|
---|
628 | </DL>
|
---|
629 | <HR>
|
---|
630 |
|
---|
631 | <A NAME="setOutput(java.lang.String)"><!-- --></A><H3>
|
---|
632 | setOutput</H3>
|
---|
633 | <PRE>
|
---|
634 | public void <B>setOutput</B>(java.lang.String s)</PRE>
|
---|
635 | <DL>
|
---|
636 | <DD>Corresponds to <code><ant></code>'s
|
---|
637 | <code>output</code> attribute.
|
---|
638 | <P>
|
---|
639 | <DD><DL>
|
---|
640 | <DT><B>Parameters:</B><DD><CODE>s</CODE> - the filename to write the output to.</DL>
|
---|
641 | </DD>
|
---|
642 | </DL>
|
---|
643 | <HR>
|
---|
644 |
|
---|
645 | <A NAME="setInheritall(boolean)"><!-- --></A><H3>
|
---|
646 | setInheritall</H3>
|
---|
647 | <PRE>
|
---|
648 | public void <B>setInheritall</B>(boolean b)</PRE>
|
---|
649 | <DL>
|
---|
650 | <DD>Corresponds to <code><ant></code>'s
|
---|
651 | <code>inheritall</code> attribute.
|
---|
652 | <P>
|
---|
653 | <DD><DL>
|
---|
654 | <DT><B>Parameters:</B><DD><CODE>b</CODE> - the new value for this boolean flag.</DL>
|
---|
655 | </DD>
|
---|
656 | </DL>
|
---|
657 | <HR>
|
---|
658 |
|
---|
659 | <A NAME="setInheritrefs(boolean)"><!-- --></A><H3>
|
---|
660 | setInheritrefs</H3>
|
---|
661 | <PRE>
|
---|
662 | public void <B>setInheritrefs</B>(boolean b)</PRE>
|
---|
663 | <DL>
|
---|
664 | <DD>Corresponds to <code><ant></code>'s
|
---|
665 | <code>inheritrefs</code> attribute.
|
---|
666 | <P>
|
---|
667 | <DD><DL>
|
---|
668 | <DT><B>Parameters:</B><DD><CODE>b</CODE> - the new value for this boolean flag.</DL>
|
---|
669 | </DD>
|
---|
670 | </DL>
|
---|
671 | <HR>
|
---|
672 |
|
---|
673 | <A NAME="addProperty(org.apache.tools.ant.taskdefs.Property)"><!-- --></A><H3>
|
---|
674 | addProperty</H3>
|
---|
675 | <PRE>
|
---|
676 | public void <B>addProperty</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Property.html" title="class in org.apache.tools.ant.taskdefs">Property</A> p)</PRE>
|
---|
677 | <DL>
|
---|
678 | <DD>Corresponds to <code><ant></code>'s
|
---|
679 | nested <code><property></code> element.
|
---|
680 | <P>
|
---|
681 | <DD><DL>
|
---|
682 | <DT><B>Parameters:</B><DD><CODE>p</CODE> - the property to pass on explicitly to the sub-build.</DL>
|
---|
683 | </DD>
|
---|
684 | </DL>
|
---|
685 | <HR>
|
---|
686 |
|
---|
687 | <A NAME="addReference(org.apache.tools.ant.taskdefs.Ant.Reference)"><!-- --></A><H3>
|
---|
688 | addReference</H3>
|
---|
689 | <PRE>
|
---|
690 | public void <B>addReference</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.Reference.html" title="class in org.apache.tools.ant.taskdefs">Ant.Reference</A> r)</PRE>
|
---|
691 | <DL>
|
---|
692 | <DD>Corresponds to <code><ant></code>'s
|
---|
693 | nested <code><reference></code> element.
|
---|
694 | <P>
|
---|
695 | <DD><DL>
|
---|
696 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - the reference to pass on explicitly to the sub-build.</DL>
|
---|
697 | </DD>
|
---|
698 | </DL>
|
---|
699 | <HR>
|
---|
700 |
|
---|
701 | <A NAME="addPropertyset(org.apache.tools.ant.types.PropertySet)"><!-- --></A><H3>
|
---|
702 | addPropertyset</H3>
|
---|
703 | <PRE>
|
---|
704 | public void <B>addPropertyset</B>(<A HREF="../../../../../org/apache/tools/ant/types/PropertySet.html" title="class in org.apache.tools.ant.types">PropertySet</A> ps)</PRE>
|
---|
705 | <DL>
|
---|
706 | <DD>Corresponds to <code><ant></code>'s
|
---|
707 | nested <code><propertyset></code> element.
|
---|
708 | <P>
|
---|
709 | <DD><DL>
|
---|
710 | <DT><B>Parameters:</B><DD><CODE>ps</CODE> - the propertset</DL>
|
---|
711 | </DD>
|
---|
712 | </DL>
|
---|
713 | <HR>
|
---|
714 |
|
---|
715 | <A NAME="addDirset(org.apache.tools.ant.types.DirSet)"><!-- --></A><H3>
|
---|
716 | addDirset</H3>
|
---|
717 | <PRE>
|
---|
718 | public void <B>addDirset</B>(<A HREF="../../../../../org/apache/tools/ant/types/DirSet.html" title="class in org.apache.tools.ant.types">DirSet</A> set)</PRE>
|
---|
719 | <DL>
|
---|
720 | <DD>Adds a directory set to the implicit build path.
|
---|
721 | <p>
|
---|
722 | <em>Note that the directories will be added to the build path
|
---|
723 | in no particular order, so if order is significant, one should
|
---|
724 | use a file list instead!</em>
|
---|
725 | <P>
|
---|
726 | <DD><DL>
|
---|
727 | <DT><B>Parameters:</B><DD><CODE>set</CODE> - the directory set to add.</DL>
|
---|
728 | </DD>
|
---|
729 | </DL>
|
---|
730 | <HR>
|
---|
731 |
|
---|
732 | <A NAME="addFileset(org.apache.tools.ant.types.FileSet)"><!-- --></A><H3>
|
---|
733 | addFileset</H3>
|
---|
734 | <PRE>
|
---|
735 | public void <B>addFileset</B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A> set)</PRE>
|
---|
736 | <DL>
|
---|
737 | <DD>Adds a file set to the implicit build path.
|
---|
738 | <p>
|
---|
739 | <em>Note that the directories will be added to the build path
|
---|
740 | in no particular order, so if order is significant, one should
|
---|
741 | use a file list instead!</em>
|
---|
742 | <P>
|
---|
743 | <DD><DL>
|
---|
744 | <DT><B>Parameters:</B><DD><CODE>set</CODE> - the file set to add.</DL>
|
---|
745 | </DD>
|
---|
746 | </DL>
|
---|
747 | <HR>
|
---|
748 |
|
---|
749 | <A NAME="addFilelist(org.apache.tools.ant.types.FileList)"><!-- --></A><H3>
|
---|
750 | addFilelist</H3>
|
---|
751 | <PRE>
|
---|
752 | public void <B>addFilelist</B>(<A HREF="../../../../../org/apache/tools/ant/types/FileList.html" title="class in org.apache.tools.ant.types">FileList</A> list)</PRE>
|
---|
753 | <DL>
|
---|
754 | <DD>Adds an ordered file list to the implicit build path.
|
---|
755 | <p>
|
---|
756 | <em>Note that contrary to file and directory sets, file lists
|
---|
757 | can reference non-existent files or directories!</em>
|
---|
758 | <P>
|
---|
759 | <DD><DL>
|
---|
760 | <DT><B>Parameters:</B><DD><CODE>list</CODE> - the file list to add.</DL>
|
---|
761 | </DD>
|
---|
762 | </DL>
|
---|
763 | <HR>
|
---|
764 |
|
---|
765 | <A NAME="setBuildpath(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
766 | setBuildpath</H3>
|
---|
767 | <PRE>
|
---|
768 | public void <B>setBuildpath</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> s)</PRE>
|
---|
769 | <DL>
|
---|
770 | <DD>Set the buildpath to be used to find sub-projects.
|
---|
771 | <P>
|
---|
772 | <DD><DL>
|
---|
773 | <DT><B>Parameters:</B><DD><CODE>s</CODE> - an Ant Path object containing the buildpath.</DL>
|
---|
774 | </DD>
|
---|
775 | </DL>
|
---|
776 | <HR>
|
---|
777 |
|
---|
778 | <A NAME="createBuildpath()"><!-- --></A><H3>
|
---|
779 | createBuildpath</H3>
|
---|
780 | <PRE>
|
---|
781 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createBuildpath</B>()</PRE>
|
---|
782 | <DL>
|
---|
783 | <DD>Creates a nested build path, and add it to the implicit build path.
|
---|
784 | <P>
|
---|
785 | <DD><DL>
|
---|
786 |
|
---|
787 | <DT><B>Returns:</B><DD>the newly created nested build path.</DL>
|
---|
788 | </DD>
|
---|
789 | </DL>
|
---|
790 | <HR>
|
---|
791 |
|
---|
792 | <A NAME="createBuildpathElement()"><!-- --></A><H3>
|
---|
793 | createBuildpathElement</H3>
|
---|
794 | <PRE>
|
---|
795 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.PathElement.html" title="class in org.apache.tools.ant.types">Path.PathElement</A> <B>createBuildpathElement</B>()</PRE>
|
---|
796 | <DL>
|
---|
797 | <DD>Creates a nested <code><buildpathelement></code>,
|
---|
798 | and add it to the implicit build path.
|
---|
799 | <P>
|
---|
800 | <DD><DL>
|
---|
801 |
|
---|
802 | <DT><B>Returns:</B><DD>the newly created nested build path element.</DL>
|
---|
803 | </DD>
|
---|
804 | </DL>
|
---|
805 | <HR>
|
---|
806 |
|
---|
807 | <A NAME="setBuildpathRef(org.apache.tools.ant.types.Reference)"><!-- --></A><H3>
|
---|
808 | setBuildpathRef</H3>
|
---|
809 | <PRE>
|
---|
810 | public void <B>setBuildpathRef</B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</PRE>
|
---|
811 | <DL>
|
---|
812 | <DD>Buildpath to use, by reference.
|
---|
813 | <P>
|
---|
814 | <DD><DL>
|
---|
815 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - a reference to an Ant Path object containing the buildpath.</DL>
|
---|
816 | </DD>
|
---|
817 | </DL>
|
---|
818 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
819 | <HR>
|
---|
820 |
|
---|
821 |
|
---|
822 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
823 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
824 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
825 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
826 | <TR>
|
---|
827 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
828 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
829 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
830 | <TR ALIGN="center" VALIGN="top">
|
---|
831 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
832 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
833 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
834 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
835 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
836 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
837 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
838 | </TR>
|
---|
839 | </TABLE>
|
---|
840 | </TD>
|
---|
841 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
842 | </EM>
|
---|
843 | </TD>
|
---|
844 | </TR>
|
---|
845 |
|
---|
846 | <TR>
|
---|
847 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
848 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/StreamPumper.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
849 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Sync.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
850 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
851 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
852 | <A HREF="SubAnt.html" target="_top"><B>NO FRAMES</B></A>
|
---|
853 | <SCRIPT type="text/javascript">
|
---|
854 | <!--
|
---|
855 | if(window==top) {
|
---|
856 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
857 | }
|
---|
858 | //-->
|
---|
859 | </SCRIPT>
|
---|
860 | <NOSCRIPT>
|
---|
861 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
862 | </NOSCRIPT>
|
---|
863 |
|
---|
864 | </FONT></TD>
|
---|
865 | </TR>
|
---|
866 | <TR>
|
---|
867 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
868 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
869 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
870 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
871 | </TR>
|
---|
872 | </TABLE>
|
---|
873 | <A NAME="skip-navbar_bottom"></A>
|
---|
874 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
875 |
|
---|
876 | <HR>
|
---|
877 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
878 | </BODY>
|
---|
879 | </HTML>
|
---|