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:17 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | Ant (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.Ant 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="Ant (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/AbstractCvsTask.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.Reference.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="Ant.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: <A HREF="#nested_class_summary">NESTED</A> | <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 Ant</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.Ant</B>
|
---|
92 | </PRE>
|
---|
93 | <HR>
|
---|
94 | <DL>
|
---|
95 | <DT>public class <B>Ant</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 | Build a sub-project.
|
---|
99 |
|
---|
100 | <pre>
|
---|
101 | <target name="foo" depends="init">
|
---|
102 | <ant antfile="build.xml" target="bar" >
|
---|
103 | <property name="property1" value="aaaaa" />
|
---|
104 | <property name="foo" value="baz" />
|
---|
105 | </ant></span>
|
---|
106 | </target></span>
|
---|
107 |
|
---|
108 | <target name="bar" depends="init">
|
---|
109 | <echo message="prop is ${property1} ${foo}" />
|
---|
110 | </target>
|
---|
111 | </pre>
|
---|
112 | <P>
|
---|
113 |
|
---|
114 | <P>
|
---|
115 | <DL>
|
---|
116 | <DT><B>Since:</B></DT>
|
---|
117 | <DD>Ant 1.1</DD>
|
---|
118 | </DL>
|
---|
119 | <HR>
|
---|
120 |
|
---|
121 | <P>
|
---|
122 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
123 |
|
---|
124 | <A NAME="nested_class_summary"><!-- --></A>
|
---|
125 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
126 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
127 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
128 | <B>Nested Class Summary</B></FONT></TD>
|
---|
129 | </TR>
|
---|
130 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
131 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
132 | <CODE>static class</CODE></FONT></TD>
|
---|
133 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.Reference.html" title="class in org.apache.tools.ant.taskdefs">Ant.Reference</A></B></CODE>
|
---|
134 |
|
---|
135 | <BR>
|
---|
136 | Helper class that implements the nested <reference>
|
---|
137 | element of <ant> and <antcall>.</TD>
|
---|
138 | </TR>
|
---|
139 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
140 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
141 | <CODE>static class</CODE></FONT></TD>
|
---|
142 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.TargetElement.html" title="class in org.apache.tools.ant.taskdefs">Ant.TargetElement</A></B></CODE>
|
---|
143 |
|
---|
144 | <BR>
|
---|
145 | Helper class that implements the nested <target>
|
---|
146 | element of <ant> and <antcall>.</TD>
|
---|
147 | </TR>
|
---|
148 | </TABLE>
|
---|
149 |
|
---|
150 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
151 |
|
---|
152 | <A NAME="field_summary"><!-- --></A>
|
---|
153 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
154 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
155 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
156 | <B>Field Summary</B></FONT></TD>
|
---|
157 | </TR>
|
---|
158 | </TABLE>
|
---|
159 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
160 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
161 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
162 | <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>
|
---|
163 | </TR>
|
---|
164 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
165 | <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#target">target</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>
|
---|
166 | </TR>
|
---|
167 | </TABLE>
|
---|
168 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
169 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
170 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
171 | <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>
|
---|
172 | </TR>
|
---|
173 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
174 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
175 | </TR>
|
---|
176 | </TABLE>
|
---|
177 |
|
---|
178 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
179 |
|
---|
180 | <A NAME="constructor_summary"><!-- --></A>
|
---|
181 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
182 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
183 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
184 | <B>Constructor Summary</B></FONT></TD>
|
---|
185 | </TR>
|
---|
186 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
187 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#Ant()">Ant</A></B>()</CODE>
|
---|
188 |
|
---|
189 | <BR>
|
---|
190 | </TD>
|
---|
191 | </TR>
|
---|
192 | </TABLE>
|
---|
193 |
|
---|
194 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
195 |
|
---|
196 | <A NAME="method_summary"><!-- --></A>
|
---|
197 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
198 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
199 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
200 | <B>Method Summary</B></FONT></TD>
|
---|
201 | </TR>
|
---|
202 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
203 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
204 | <CODE> void</CODE></FONT></TD>
|
---|
205 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#addConfiguredTarget(org.apache.tools.ant.taskdefs.Ant.TargetElement)">addConfiguredTarget</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.TargetElement.html" title="class in org.apache.tools.ant.taskdefs">Ant.TargetElement</A> t)</CODE>
|
---|
206 |
|
---|
207 | <BR>
|
---|
208 | Add a target to this Ant invocation.</TD>
|
---|
209 | </TR>
|
---|
210 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
212 | <CODE> void</CODE></FONT></TD>
|
---|
213 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.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>
|
---|
214 |
|
---|
215 | <BR>
|
---|
216 | Add a set of properties to pass to the new project.</TD>
|
---|
217 | </TR>
|
---|
218 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
220 | <CODE> void</CODE></FONT></TD>
|
---|
221 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.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>
|
---|
222 |
|
---|
223 | <BR>
|
---|
224 | Add a Reference element identifying a data type to carry
|
---|
225 | over to the new project.</TD>
|
---|
226 | </TR>
|
---|
227 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
228 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
229 | <CODE> <A HREF="../../../../../org/apache/tools/ant/taskdefs/Property.html" title="class in org.apache.tools.ant.taskdefs">Property</A></CODE></FONT></TD>
|
---|
230 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#createProperty()">createProperty</A></B>()</CODE>
|
---|
231 |
|
---|
232 | <BR>
|
---|
233 | Property to pass to the new project.</TD>
|
---|
234 | </TR>
|
---|
235 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
236 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
237 | <CODE> void</CODE></FONT></TD>
|
---|
238 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#execute()">execute</A></B>()</CODE>
|
---|
239 |
|
---|
240 | <BR>
|
---|
241 | Do the execution.</TD>
|
---|
242 | </TR>
|
---|
243 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
244 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
245 | <CODE> void</CODE></FONT></TD>
|
---|
246 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#execute(java.lang.String, java.lang.String)">execute</A></B>(java.lang.String targetName,
|
---|
247 | java.lang.String targetAddress)</CODE>
|
---|
248 |
|
---|
249 | <BR>
|
---|
250 | Do the execution.</TD>
|
---|
251 | </TR>
|
---|
252 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
253 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
254 | <CODE> void</CODE></FONT></TD>
|
---|
255 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A></B>(java.lang.String output)</CODE>
|
---|
256 |
|
---|
257 | <BR>
|
---|
258 | Handles an error line by logging it with the WARN priority.</TD>
|
---|
259 | </TR>
|
---|
260 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
261 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
262 | <CODE> void</CODE></FONT></TD>
|
---|
263 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A></B>(java.lang.String output)</CODE>
|
---|
264 |
|
---|
265 | <BR>
|
---|
266 | Handles an error output by logging it with the WARN priority.</TD>
|
---|
267 | </TR>
|
---|
268 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
269 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
270 | <CODE> void</CODE></FONT></TD>
|
---|
271 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#handleFlush(java.lang.String)">handleFlush</A></B>(java.lang.String output)</CODE>
|
---|
272 |
|
---|
273 | <BR>
|
---|
274 | Handles output by logging it with the INFO priority.</TD>
|
---|
275 | </TR>
|
---|
276 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
277 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
278 | <CODE> int</CODE></FONT></TD>
|
---|
279 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#handleInput(byte[], int, int)">handleInput</A></B>(byte[] buffer,
|
---|
280 | int offset,
|
---|
281 | int length)</CODE>
|
---|
282 |
|
---|
283 | <BR>
|
---|
284 | Handle an input request by this task</TD>
|
---|
285 | </TR>
|
---|
286 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
287 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
288 | <CODE> void</CODE></FONT></TD>
|
---|
289 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#handleOutput(java.lang.String)">handleOutput</A></B>(java.lang.String output)</CODE>
|
---|
290 |
|
---|
291 | <BR>
|
---|
292 | Handles output by logging it with the INFO priority.</TD>
|
---|
293 | </TR>
|
---|
294 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
295 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
296 | <CODE> void</CODE></FONT></TD>
|
---|
297 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#init()">init</A></B>()</CODE>
|
---|
298 |
|
---|
299 | <BR>
|
---|
300 | Creates a Project instance for the project to call.</TD>
|
---|
301 | </TR>
|
---|
302 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
303 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
304 | <CODE> void</CODE></FONT></TD>
|
---|
305 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#setAntfile(java.lang.String)">setAntfile</A></B>(java.lang.String s)</CODE>
|
---|
306 |
|
---|
307 | <BR>
|
---|
308 | The build file to use.</TD>
|
---|
309 | </TR>
|
---|
310 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
311 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
312 | <CODE> void</CODE></FONT></TD>
|
---|
313 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#setDir(java.io.File)">setDir</A></B>(java.io.File d)</CODE>
|
---|
314 |
|
---|
315 | <BR>
|
---|
316 | The directory to use as a base directory for the new Ant project.</TD>
|
---|
317 | </TR>
|
---|
318 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
319 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
320 | <CODE> void</CODE></FONT></TD>
|
---|
321 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#setInheritAll(boolean)">setInheritAll</A></B>(boolean value)</CODE>
|
---|
322 |
|
---|
323 | <BR>
|
---|
324 | If true, pass all properties to the new Ant project.</TD>
|
---|
325 | </TR>
|
---|
326 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
327 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
328 | <CODE> void</CODE></FONT></TD>
|
---|
329 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#setInheritRefs(boolean)">setInheritRefs</A></B>(boolean value)</CODE>
|
---|
330 |
|
---|
331 | <BR>
|
---|
332 | If true, pass all references to the new Ant project.</TD>
|
---|
333 | </TR>
|
---|
334 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
335 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
336 | <CODE> void</CODE></FONT></TD>
|
---|
337 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#setOutput(java.lang.String)">setOutput</A></B>(java.lang.String s)</CODE>
|
---|
338 |
|
---|
339 | <BR>
|
---|
340 | Set the filename to write the output to.</TD>
|
---|
341 | </TR>
|
---|
342 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
343 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
344 | <CODE> void</CODE></FONT></TD>
|
---|
345 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.html#setTarget(java.lang.String)">setTarget</A></B>(java.lang.String s)</CODE>
|
---|
346 |
|
---|
347 | <BR>
|
---|
348 | The target of the new Ant project to execute.</TD>
|
---|
349 | </TR>
|
---|
350 | </TABLE>
|
---|
351 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
352 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
353 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
354 | <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>
|
---|
355 | </TR>
|
---|
356 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
357 | <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#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>
|
---|
358 | </TR>
|
---|
359 | </TABLE>
|
---|
360 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
361 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
362 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
363 | <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>
|
---|
364 | </TR>
|
---|
365 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
366 | <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>
|
---|
367 | </TR>
|
---|
368 | </TABLE>
|
---|
369 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
370 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
371 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
372 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
373 | </TR>
|
---|
374 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
375 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
376 | </TR>
|
---|
377 | </TABLE>
|
---|
378 |
|
---|
379 | <P>
|
---|
380 |
|
---|
381 | <!-- ============ FIELD DETAIL =========== -->
|
---|
382 |
|
---|
383 |
|
---|
384 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
385 |
|
---|
386 | <A NAME="constructor_detail"><!-- --></A>
|
---|
387 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
388 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
389 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
390 | <B>Constructor Detail</B></FONT></TD>
|
---|
391 | </TR>
|
---|
392 | </TABLE>
|
---|
393 |
|
---|
394 | <A NAME="Ant()"><!-- --></A><H3>
|
---|
395 | Ant</H3>
|
---|
396 | <PRE>
|
---|
397 | public <B>Ant</B>()</PRE>
|
---|
398 | <DL>
|
---|
399 | </DL>
|
---|
400 |
|
---|
401 | <!-- ============ METHOD DETAIL ========== -->
|
---|
402 |
|
---|
403 | <A NAME="method_detail"><!-- --></A>
|
---|
404 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
405 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
406 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
407 | <B>Method Detail</B></FONT></TD>
|
---|
408 | </TR>
|
---|
409 | </TABLE>
|
---|
410 |
|
---|
411 | <A NAME="setInheritAll(boolean)"><!-- --></A><H3>
|
---|
412 | setInheritAll</H3>
|
---|
413 | <PRE>
|
---|
414 | public void <B>setInheritAll</B>(boolean value)</PRE>
|
---|
415 | <DL>
|
---|
416 | <DD>If true, pass all properties to the new Ant project.
|
---|
417 | Defaults to true.
|
---|
418 | <P>
|
---|
419 | <DD><DL>
|
---|
420 | <DT><B>Parameters:</B><DD><CODE>value</CODE> - if true pass all properties to the new Ant project.</DL>
|
---|
421 | </DD>
|
---|
422 | </DL>
|
---|
423 | <HR>
|
---|
424 |
|
---|
425 | <A NAME="setInheritRefs(boolean)"><!-- --></A><H3>
|
---|
426 | setInheritRefs</H3>
|
---|
427 | <PRE>
|
---|
428 | public void <B>setInheritRefs</B>(boolean value)</PRE>
|
---|
429 | <DL>
|
---|
430 | <DD>If true, pass all references to the new Ant project.
|
---|
431 | Defaults to false.
|
---|
432 | <P>
|
---|
433 | <DD><DL>
|
---|
434 | <DT><B>Parameters:</B><DD><CODE>value</CODE> - if true, pass all references to the new Ant project</DL>
|
---|
435 | </DD>
|
---|
436 | </DL>
|
---|
437 | <HR>
|
---|
438 |
|
---|
439 | <A NAME="init()"><!-- --></A><H3>
|
---|
440 | init</H3>
|
---|
441 | <PRE>
|
---|
442 | public void <B>init</B>()</PRE>
|
---|
443 | <DL>
|
---|
444 | <DD>Creates a Project instance for the project to call.
|
---|
445 | <P>
|
---|
446 | <DD><DL>
|
---|
447 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#init()">init</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
|
---|
448 | </DD>
|
---|
449 | <DD><DL>
|
---|
450 | </DL>
|
---|
451 | </DD>
|
---|
452 | </DL>
|
---|
453 | <HR>
|
---|
454 |
|
---|
455 | <A NAME="handleOutput(java.lang.String)"><!-- --></A><H3>
|
---|
456 | handleOutput</H3>
|
---|
457 | <PRE>
|
---|
458 | public void <B>handleOutput</B>(java.lang.String output)</PRE>
|
---|
459 | <DL>
|
---|
460 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></B></DD>
|
---|
461 | <DD>Handles output by logging it with the INFO priority.
|
---|
462 | <P>
|
---|
463 | <DD><DL>
|
---|
464 | <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>
|
---|
465 | </DD>
|
---|
466 | <DD><DL>
|
---|
467 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - The output to log. Should not be <code>null</code>.<DT><B>Since:</B></DT>
|
---|
468 | <DD>Ant 1.5</DD>
|
---|
469 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)"><CODE>Task.handleOutput(String)</CODE></A></DL>
|
---|
470 | </DD>
|
---|
471 | </DL>
|
---|
472 | <HR>
|
---|
473 |
|
---|
474 | <A NAME="handleInput(byte[], int, int)"><!-- --></A><H3>
|
---|
475 | handleInput</H3>
|
---|
476 | <PRE>
|
---|
477 | public int <B>handleInput</B>(byte[] buffer,
|
---|
478 | int offset,
|
---|
479 | int length)
|
---|
480 | throws java.io.IOException</PRE>
|
---|
481 | <DL>
|
---|
482 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></B></DD>
|
---|
483 | <DD>Handle an input request by this task
|
---|
484 | <P>
|
---|
485 | <DD><DL>
|
---|
486 | <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>
|
---|
487 | </DD>
|
---|
488 | <DD><DL>
|
---|
489 | <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
|
---|
490 | <DT><B>Returns:</B><DD>the number of bytes read
|
---|
491 | <DT><B>Throws:</B>
|
---|
492 | <DD><CODE>java.io.IOException</CODE> - if the data cannot be read<DT><B>Since:</B></DT>
|
---|
493 | <DD>Ant 1.6</DD>
|
---|
494 | <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>
|
---|
495 | </DD>
|
---|
496 | </DL>
|
---|
497 | <HR>
|
---|
498 |
|
---|
499 | <A NAME="handleFlush(java.lang.String)"><!-- --></A><H3>
|
---|
500 | handleFlush</H3>
|
---|
501 | <PRE>
|
---|
502 | public void <B>handleFlush</B>(java.lang.String output)</PRE>
|
---|
503 | <DL>
|
---|
504 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></B></DD>
|
---|
505 | <DD>Handles output by logging it with the INFO priority.
|
---|
506 | <P>
|
---|
507 | <DD><DL>
|
---|
508 | <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>
|
---|
509 | </DD>
|
---|
510 | <DD><DL>
|
---|
511 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - The output to log. Should not be <code>null</code>.<DT><B>Since:</B></DT>
|
---|
512 | <DD>Ant 1.5.2</DD>
|
---|
513 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)"><CODE>Task.handleFlush(String)</CODE></A></DL>
|
---|
514 | </DD>
|
---|
515 | </DL>
|
---|
516 | <HR>
|
---|
517 |
|
---|
518 | <A NAME="handleErrorOutput(java.lang.String)"><!-- --></A><H3>
|
---|
519 | handleErrorOutput</H3>
|
---|
520 | <PRE>
|
---|
521 | public void <B>handleErrorOutput</B>(java.lang.String output)</PRE>
|
---|
522 | <DL>
|
---|
523 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></B></DD>
|
---|
524 | <DD>Handles an error output by logging it with the WARN priority.
|
---|
525 | <P>
|
---|
526 | <DD><DL>
|
---|
527 | <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>
|
---|
528 | </DD>
|
---|
529 | <DD><DL>
|
---|
530 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - The error output to log. Should not be <code>null</code>.<DT><B>Since:</B></DT>
|
---|
531 | <DD>Ant 1.5</DD>
|
---|
532 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)"><CODE>Task.handleErrorOutput(String)</CODE></A></DL>
|
---|
533 | </DD>
|
---|
534 | </DL>
|
---|
535 | <HR>
|
---|
536 |
|
---|
537 | <A NAME="handleErrorFlush(java.lang.String)"><!-- --></A><H3>
|
---|
538 | handleErrorFlush</H3>
|
---|
539 | <PRE>
|
---|
540 | public void <B>handleErrorFlush</B>(java.lang.String output)</PRE>
|
---|
541 | <DL>
|
---|
542 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></B></DD>
|
---|
543 | <DD>Handles an error line by logging it with the WARN priority.
|
---|
544 | <P>
|
---|
545 | <DD><DL>
|
---|
546 | <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>
|
---|
547 | </DD>
|
---|
548 | <DD><DL>
|
---|
549 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - The error output to log. Should not be <code>null</code>.<DT><B>Since:</B></DT>
|
---|
550 | <DD>Ant 1.5.2</DD>
|
---|
551 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)"><CODE>Task.handleErrorFlush(String)</CODE></A></DL>
|
---|
552 | </DD>
|
---|
553 | </DL>
|
---|
554 | <HR>
|
---|
555 |
|
---|
556 | <A NAME="execute(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
---|
557 | execute</H3>
|
---|
558 | <PRE>
|
---|
559 | public void <B>execute</B>(java.lang.String targetName,
|
---|
560 | java.lang.String targetAddress)
|
---|
561 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
562 | <DL>
|
---|
563 | <DD>Do the execution.
|
---|
564 | <P>
|
---|
565 | <DD><DL>
|
---|
566 |
|
---|
567 | <DT><B>Throws:</B>
|
---|
568 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if a target tries to call itself;
|
---|
569 | probably also if a BuildException is thrown by the new project.</DL>
|
---|
570 | </DD>
|
---|
571 | </DL>
|
---|
572 | <HR>
|
---|
573 |
|
---|
574 | <A NAME="execute()"><!-- --></A><H3>
|
---|
575 | execute</H3>
|
---|
576 | <PRE>
|
---|
577 | public void <B>execute</B>()
|
---|
578 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
579 | <DL>
|
---|
580 | <DD>Do the execution.
|
---|
581 | <P>
|
---|
582 | <DD><DL>
|
---|
583 | <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>
|
---|
584 | </DD>
|
---|
585 | <DD><DL>
|
---|
586 |
|
---|
587 | <DT><B>Throws:</B>
|
---|
588 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if a target tries to call itself;
|
---|
589 | probably also if a BuildException is thrown by the new project.</DL>
|
---|
590 | </DD>
|
---|
591 | </DL>
|
---|
592 | <HR>
|
---|
593 |
|
---|
594 | <A NAME="setDir(java.io.File)"><!-- --></A><H3>
|
---|
595 | setDir</H3>
|
---|
596 | <PRE>
|
---|
597 | public void <B>setDir</B>(java.io.File d)</PRE>
|
---|
598 | <DL>
|
---|
599 | <DD>The directory to use as a base directory for the new Ant project.
|
---|
600 | Defaults to the current project's basedir, unless inheritall
|
---|
601 | has been set to false, in which case it doesn't have a default
|
---|
602 | value. This will override the basedir setting of the called project.
|
---|
603 | <P>
|
---|
604 | <DD><DL>
|
---|
605 | <DT><B>Parameters:</B><DD><CODE>d</CODE> - new directory as <code>File</code>.</DL>
|
---|
606 | </DD>
|
---|
607 | </DL>
|
---|
608 | <HR>
|
---|
609 |
|
---|
610 | <A NAME="setAntfile(java.lang.String)"><!-- --></A><H3>
|
---|
611 | setAntfile</H3>
|
---|
612 | <PRE>
|
---|
613 | public void <B>setAntfile</B>(java.lang.String s)</PRE>
|
---|
614 | <DL>
|
---|
615 | <DD>The build file to use. Defaults to "build.xml". This file is expected
|
---|
616 | to be a filename relative to the dir attribute given.
|
---|
617 | <P>
|
---|
618 | <DD><DL>
|
---|
619 | <DT><B>Parameters:</B><DD><CODE>s</CODE> - the <code>String</code> build file name.</DL>
|
---|
620 | </DD>
|
---|
621 | </DL>
|
---|
622 | <HR>
|
---|
623 |
|
---|
624 | <A NAME="setTarget(java.lang.String)"><!-- --></A><H3>
|
---|
625 | setTarget</H3>
|
---|
626 | <PRE>
|
---|
627 | public void <B>setTarget</B>(java.lang.String s)</PRE>
|
---|
628 | <DL>
|
---|
629 | <DD>The target of the new Ant project to execute.
|
---|
630 | Defaults to the new project's default target.
|
---|
631 | <P>
|
---|
632 | <DD><DL>
|
---|
633 | <DT><B>Parameters:</B><DD><CODE>s</CODE> - the name of the target to invoke.</DL>
|
---|
634 | </DD>
|
---|
635 | </DL>
|
---|
636 | <HR>
|
---|
637 |
|
---|
638 | <A NAME="setOutput(java.lang.String)"><!-- --></A><H3>
|
---|
639 | setOutput</H3>
|
---|
640 | <PRE>
|
---|
641 | public void <B>setOutput</B>(java.lang.String s)</PRE>
|
---|
642 | <DL>
|
---|
643 | <DD>Set the filename to write the output to. This is relative to the value
|
---|
644 | of the dir attribute if it has been set or to the base directory of the
|
---|
645 | current project otherwise.
|
---|
646 | <P>
|
---|
647 | <DD><DL>
|
---|
648 | <DT><B>Parameters:</B><DD><CODE>s</CODE> - the name of the file to which the output should go.</DL>
|
---|
649 | </DD>
|
---|
650 | </DL>
|
---|
651 | <HR>
|
---|
652 |
|
---|
653 | <A NAME="createProperty()"><!-- --></A><H3>
|
---|
654 | createProperty</H3>
|
---|
655 | <PRE>
|
---|
656 | public <A HREF="../../../../../org/apache/tools/ant/taskdefs/Property.html" title="class in org.apache.tools.ant.taskdefs">Property</A> <B>createProperty</B>()</PRE>
|
---|
657 | <DL>
|
---|
658 | <DD>Property to pass to the new project.
|
---|
659 | The property is passed as a 'user property'.
|
---|
660 | <P>
|
---|
661 | <DD><DL>
|
---|
662 |
|
---|
663 | <DT><B>Returns:</B><DD>the created <code>Property</code> object.</DL>
|
---|
664 | </DD>
|
---|
665 | </DL>
|
---|
666 | <HR>
|
---|
667 |
|
---|
668 | <A NAME="addReference(org.apache.tools.ant.taskdefs.Ant.Reference)"><!-- --></A><H3>
|
---|
669 | addReference</H3>
|
---|
670 | <PRE>
|
---|
671 | 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>
|
---|
672 | <DL>
|
---|
673 | <DD>Add a Reference element identifying a data type to carry
|
---|
674 | over to the new project.
|
---|
675 | <P>
|
---|
676 | <DD><DL>
|
---|
677 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - <code>Reference</code> to add.</DL>
|
---|
678 | </DD>
|
---|
679 | </DL>
|
---|
680 | <HR>
|
---|
681 |
|
---|
682 | <A NAME="addConfiguredTarget(org.apache.tools.ant.taskdefs.Ant.TargetElement)"><!-- --></A><H3>
|
---|
683 | addConfiguredTarget</H3>
|
---|
684 | <PRE>
|
---|
685 | public void <B>addConfiguredTarget</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.TargetElement.html" title="class in org.apache.tools.ant.taskdefs">Ant.TargetElement</A> t)</PRE>
|
---|
686 | <DL>
|
---|
687 | <DD>Add a target to this Ant invocation.
|
---|
688 | <P>
|
---|
689 | <DD><DL>
|
---|
690 | <DT><B>Parameters:</B><DD><CODE>t</CODE> - the <CODE>TargetElement</CODE> to add.<DT><B>Since:</B></DT>
|
---|
691 | <DD>Ant 1.6.3</DD>
|
---|
692 | </DL>
|
---|
693 | </DD>
|
---|
694 | </DL>
|
---|
695 | <HR>
|
---|
696 |
|
---|
697 | <A NAME="addPropertyset(org.apache.tools.ant.types.PropertySet)"><!-- --></A><H3>
|
---|
698 | addPropertyset</H3>
|
---|
699 | <PRE>
|
---|
700 | 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>
|
---|
701 | <DL>
|
---|
702 | <DD>Add a set of properties to pass to the new project.
|
---|
703 | <P>
|
---|
704 | <DD><DL>
|
---|
705 | <DT><B>Parameters:</B><DD><CODE>ps</CODE> - <code>PropertySet</code> to add.<DT><B>Since:</B></DT>
|
---|
706 | <DD>Ant 1.6</DD>
|
---|
707 | </DL>
|
---|
708 | </DD>
|
---|
709 | </DL>
|
---|
710 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
711 | <HR>
|
---|
712 |
|
---|
713 |
|
---|
714 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
715 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
716 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
717 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
718 | <TR>
|
---|
719 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
720 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
721 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
722 | <TR ALIGN="center" VALIGN="top">
|
---|
723 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
724 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
725 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
726 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
727 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
728 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
729 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
730 | </TR>
|
---|
731 | </TABLE>
|
---|
732 | </TD>
|
---|
733 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
734 | </EM>
|
---|
735 | </TD>
|
---|
736 | </TR>
|
---|
737 |
|
---|
738 | <TR>
|
---|
739 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
740 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/AbstractCvsTask.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
741 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Ant.Reference.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
742 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
743 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
744 | <A HREF="Ant.html" target="_top"><B>NO FRAMES</B></A>
|
---|
745 | <SCRIPT type="text/javascript">
|
---|
746 | <!--
|
---|
747 | if(window==top) {
|
---|
748 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
749 | }
|
---|
750 | //-->
|
---|
751 | </SCRIPT>
|
---|
752 | <NOSCRIPT>
|
---|
753 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
754 | </NOSCRIPT>
|
---|
755 |
|
---|
756 | </FONT></TD>
|
---|
757 | </TR>
|
---|
758 | <TR>
|
---|
759 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
760 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <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>
|
---|
761 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
762 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
763 | </TR>
|
---|
764 | </TABLE>
|
---|
765 | <A NAME="skip-navbar_bottom"></A>
|
---|
766 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
767 |
|
---|
768 | <HR>
|
---|
769 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
770 | </BODY>
|
---|
771 | </HTML>
|
---|