source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/ant/Project.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 132.9 KB
Line 
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:15 NZST 2007 -->
6<TITLE>
7Project (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.Project class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="Project (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>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../org/apache/tools/ant/PathTokenizer.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant"><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> &nbsp;
56&nbsp;<A HREF="Project.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
84org.apache.tools.ant</FONT>
85<BR>
86Class Project</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.Project</B>
90</PRE>
91<HR>
92<DL>
93<DT>public class <B>Project</B><DT>extends java.lang.Object</DL>
94
95<P>
96Central representation of an Ant project. This class defines an
97 Ant project with all of its targets, tasks and various other
98 properties. It also provides the mechanism to kick off a build using
99 a particular target name.
100 <p>
101 This class also encapsulates methods which allow files to be referred
102 to using abstract path names which are translated to native system
103 file paths at runtime.
104<P>
105
106<P>
107<HR>
108
109<P>
110<!-- ======== NESTED CLASS SUMMARY ======== -->
111
112
113<!-- =========== FIELD SUMMARY =========== -->
114
115<A NAME="field_summary"><!-- --></A>
116<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118<TD COLSPAN=2><FONT SIZE="+2">
119<B>Field Summary</B></FONT></TD>
120</TR>
121<TR BGCOLOR="white" CLASS="TableRowColor">
122<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
124<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#JAVA_1_0">JAVA_1_0</A></B></CODE>
125
126<BR>
127&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/tools/ant/util/JavaEnvUtils.html#JAVA_1_0"><CODE>JavaEnvUtils.JAVA_1_0</CODE></A> instead.</I></TD>
128</TR>
129<TR BGCOLOR="white" CLASS="TableRowColor">
130<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
132<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#JAVA_1_1">JAVA_1_1</A></B></CODE>
133
134<BR>
135&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/tools/ant/util/JavaEnvUtils.html#JAVA_1_1"><CODE>JavaEnvUtils.JAVA_1_1</CODE></A> instead.</I></TD>
136</TR>
137<TR BGCOLOR="white" CLASS="TableRowColor">
138<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
139<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
140<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#JAVA_1_2">JAVA_1_2</A></B></CODE>
141
142<BR>
143&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/tools/ant/util/JavaEnvUtils.html#JAVA_1_2"><CODE>JavaEnvUtils.JAVA_1_2</CODE></A> instead.</I></TD>
144</TR>
145<TR BGCOLOR="white" CLASS="TableRowColor">
146<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
148<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#JAVA_1_3">JAVA_1_3</A></B></CODE>
149
150<BR>
151&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/tools/ant/util/JavaEnvUtils.html#JAVA_1_3"><CODE>JavaEnvUtils.JAVA_1_3</CODE></A> instead.</I></TD>
152</TR>
153<TR BGCOLOR="white" CLASS="TableRowColor">
154<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
155<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
156<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#JAVA_1_4">JAVA_1_4</A></B></CODE>
157
158<BR>
159&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/tools/ant/util/JavaEnvUtils.html#JAVA_1_4"><CODE>JavaEnvUtils.JAVA_1_4</CODE></A> instead.</I></TD>
160</TR>
161<TR BGCOLOR="white" CLASS="TableRowColor">
162<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163<CODE>static&nbsp;int</CODE></FONT></TD>
164<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#MSG_DEBUG">MSG_DEBUG</A></B></CODE>
165
166<BR>
167&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Message priority of &quot;debug&quot;.</TD>
168</TR>
169<TR BGCOLOR="white" CLASS="TableRowColor">
170<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171<CODE>static&nbsp;int</CODE></FONT></TD>
172<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#MSG_ERR">MSG_ERR</A></B></CODE>
173
174<BR>
175&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Message priority of &quot;error&quot;.</TD>
176</TR>
177<TR BGCOLOR="white" CLASS="TableRowColor">
178<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179<CODE>static&nbsp;int</CODE></FONT></TD>
180<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#MSG_INFO">MSG_INFO</A></B></CODE>
181
182<BR>
183&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Message priority of &quot;information&quot;.</TD>
184</TR>
185<TR BGCOLOR="white" CLASS="TableRowColor">
186<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187<CODE>static&nbsp;int</CODE></FONT></TD>
188<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#MSG_VERBOSE">MSG_VERBOSE</A></B></CODE>
189
190<BR>
191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Message priority of &quot;verbose&quot;.</TD>
192</TR>
193<TR BGCOLOR="white" CLASS="TableRowColor">
194<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195<CODE>static&nbsp;int</CODE></FONT></TD>
196<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#MSG_WARN">MSG_WARN</A></B></CODE>
197
198<BR>
199&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Message priority of &quot;warning&quot;.</TD>
200</TR>
201<TR BGCOLOR="white" CLASS="TableRowColor">
202<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
204<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#TOKEN_END">TOKEN_END</A></B></CODE>
205
206<BR>
207&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default filter end token.</TD>
208</TR>
209<TR BGCOLOR="white" CLASS="TableRowColor">
210<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
212<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#TOKEN_START">TOKEN_START</A></B></CODE>
213
214<BR>
215&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default filter start token.</TD>
216</TR>
217</TABLE>
218&nbsp;
219<!-- ======== CONSTRUCTOR SUMMARY ======== -->
220
221<A NAME="constructor_summary"><!-- --></A>
222<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
223<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
224<TD COLSPAN=2><FONT SIZE="+2">
225<B>Constructor Summary</B></FONT></TD>
226</TR>
227<TR BGCOLOR="white" CLASS="TableRowColor">
228<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#Project()">Project</A></B>()</CODE>
229
230<BR>
231&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new Ant project.</TD>
232</TR>
233</TABLE>
234&nbsp;
235<!-- ========== METHOD SUMMARY =========== -->
236
237<A NAME="method_summary"><!-- --></A>
238<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
239<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
240<TD COLSPAN=2><FONT SIZE="+2">
241<B>Method Summary</B></FONT></TD>
242</TR>
243<TR BGCOLOR="white" CLASS="TableRowColor">
244<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
245<CODE>&nbsp;void</CODE></FONT></TD>
246<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#addBuildListener(org.apache.tools.ant.BuildListener)">addBuildListener</A></B>(<A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A>&nbsp;listener)</CODE>
247
248<BR>
249&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a build listener to the list.</TD>
250</TR>
251<TR BGCOLOR="white" CLASS="TableRowColor">
252<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
253<CODE>&nbsp;void</CODE></FONT></TD>
254<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#addDataTypeDefinition(java.lang.String, java.lang.Class)">addDataTypeDefinition</A></B>(java.lang.String&nbsp;typeName,
255 java.lang.Class&nbsp;typeClass)</CODE>
256
257<BR>
258&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a new datatype definition.</TD>
259</TR>
260<TR BGCOLOR="white" CLASS="TableRowColor">
261<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
262<CODE>&nbsp;void</CODE></FONT></TD>
263<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#addFilter(java.lang.String, java.lang.String)">addFilter</A></B>(java.lang.String&nbsp;token,
264 java.lang.String&nbsp;value)</CODE>
265
266<BR>
267&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use getGlobalFilterSet().addFilter(token,value)</I></TD>
268</TR>
269<TR BGCOLOR="white" CLASS="TableRowColor">
270<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271<CODE>&nbsp;void</CODE></FONT></TD>
272<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#addOrReplaceTarget(java.lang.String, org.apache.tools.ant.Target)">addOrReplaceTarget</A></B>(java.lang.String&nbsp;targetName,
273 <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target)</CODE>
274
275<BR>
276&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a target to the project, or replaces one with the same
277 name.</TD>
278</TR>
279<TR BGCOLOR="white" CLASS="TableRowColor">
280<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
281<CODE>&nbsp;void</CODE></FONT></TD>
282<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#addOrReplaceTarget(org.apache.tools.ant.Target)">addOrReplaceTarget</A></B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target)</CODE>
283
284<BR>
285&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a target to the project, or replaces one with the same
286 name.</TD>
287</TR>
288<TR BGCOLOR="white" CLASS="TableRowColor">
289<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
290<CODE>&nbsp;void</CODE></FONT></TD>
291<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#addReference(java.lang.String, java.lang.Object)">addReference</A></B>(java.lang.String&nbsp;name,
292 java.lang.Object&nbsp;value)</CODE>
293
294<BR>
295&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a reference to the project.</TD>
296</TR>
297<TR BGCOLOR="white" CLASS="TableRowColor">
298<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
299<CODE>&nbsp;void</CODE></FONT></TD>
300<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#addTarget(java.lang.String, org.apache.tools.ant.Target)">addTarget</A></B>(java.lang.String&nbsp;targetName,
301 <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target)</CODE>
302
303<BR>
304&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a <em>new</em> target to the project.</TD>
305</TR>
306<TR BGCOLOR="white" CLASS="TableRowColor">
307<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
308<CODE>&nbsp;void</CODE></FONT></TD>
309<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#addTarget(org.apache.tools.ant.Target)">addTarget</A></B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target)</CODE>
310
311<BR>
312&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a <em>new</em> target to the project.</TD>
313</TR>
314<TR BGCOLOR="white" CLASS="TableRowColor">
315<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
316<CODE>&nbsp;void</CODE></FONT></TD>
317<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#addTaskDefinition(java.lang.String, java.lang.Class)">addTaskDefinition</A></B>(java.lang.String&nbsp;taskName,
318 java.lang.Class&nbsp;taskClass)</CODE>
319
320<BR>
321&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a new task definition to the project.</TD>
322</TR>
323<TR BGCOLOR="white" CLASS="TableRowColor">
324<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
325<CODE>&nbsp;void</CODE></FONT></TD>
326<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#checkTaskClass(java.lang.Class)">checkTaskClass</A></B>(java.lang.Class&nbsp;taskClass)</CODE>
327
328<BR>
329&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check whether or not a class is suitable for serving as Ant task.</TD>
330</TR>
331<TR BGCOLOR="white" CLASS="TableRowColor">
332<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
333<CODE>&nbsp;void</CODE></FONT></TD>
334<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#copyFile(java.io.File, java.io.File)">copyFile</A></B>(java.io.File&nbsp;sourceFile,
335 java.io.File&nbsp;destFile)</CODE>
336
337<BR>
338&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
339</TR>
340<TR BGCOLOR="white" CLASS="TableRowColor">
341<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
342<CODE>&nbsp;void</CODE></FONT></TD>
343<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#copyFile(java.io.File, java.io.File, boolean)">copyFile</A></B>(java.io.File&nbsp;sourceFile,
344 java.io.File&nbsp;destFile,
345 boolean&nbsp;filtering)</CODE>
346
347<BR>
348&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
349</TR>
350<TR BGCOLOR="white" CLASS="TableRowColor">
351<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
352<CODE>&nbsp;void</CODE></FONT></TD>
353<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#copyFile(java.io.File, java.io.File, boolean, boolean)">copyFile</A></B>(java.io.File&nbsp;sourceFile,
354 java.io.File&nbsp;destFile,
355 boolean&nbsp;filtering,
356 boolean&nbsp;overwrite)</CODE>
357
358<BR>
359&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
360</TR>
361<TR BGCOLOR="white" CLASS="TableRowColor">
362<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
363<CODE>&nbsp;void</CODE></FONT></TD>
364<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#copyFile(java.io.File, java.io.File, boolean, boolean, boolean)">copyFile</A></B>(java.io.File&nbsp;sourceFile,
365 java.io.File&nbsp;destFile,
366 boolean&nbsp;filtering,
367 boolean&nbsp;overwrite,
368 boolean&nbsp;preserveLastModified)</CODE>
369
370<BR>
371&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
372</TR>
373<TR BGCOLOR="white" CLASS="TableRowColor">
374<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
375<CODE>&nbsp;void</CODE></FONT></TD>
376<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#copyFile(java.lang.String, java.lang.String)">copyFile</A></B>(java.lang.String&nbsp;sourceFile,
377 java.lang.String&nbsp;destFile)</CODE>
378
379<BR>
380&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
381</TR>
382<TR BGCOLOR="white" CLASS="TableRowColor">
383<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
384<CODE>&nbsp;void</CODE></FONT></TD>
385<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#copyFile(java.lang.String, java.lang.String, boolean)">copyFile</A></B>(java.lang.String&nbsp;sourceFile,
386 java.lang.String&nbsp;destFile,
387 boolean&nbsp;filtering)</CODE>
388
389<BR>
390&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
391</TR>
392<TR BGCOLOR="white" CLASS="TableRowColor">
393<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
394<CODE>&nbsp;void</CODE></FONT></TD>
395<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#copyFile(java.lang.String, java.lang.String, boolean, boolean)">copyFile</A></B>(java.lang.String&nbsp;sourceFile,
396 java.lang.String&nbsp;destFile,
397 boolean&nbsp;filtering,
398 boolean&nbsp;overwrite)</CODE>
399
400<BR>
401&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
402</TR>
403<TR BGCOLOR="white" CLASS="TableRowColor">
404<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
405<CODE>&nbsp;void</CODE></FONT></TD>
406<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#copyFile(java.lang.String, java.lang.String, boolean, boolean, boolean)">copyFile</A></B>(java.lang.String&nbsp;sourceFile,
407 java.lang.String&nbsp;destFile,
408 boolean&nbsp;filtering,
409 boolean&nbsp;overwrite,
410 boolean&nbsp;preserveLastModified)</CODE>
411
412<BR>
413&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
414</TR>
415<TR BGCOLOR="white" CLASS="TableRowColor">
416<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
417<CODE>&nbsp;void</CODE></FONT></TD>
418<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#copyInheritedProperties(org.apache.tools.ant.Project)">copyInheritedProperties</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;other)</CODE>
419
420<BR>
421&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copy all user properties that have not been set on the
422 command line or a GUI tool from this instance to the Project
423 instance given as the argument.</TD>
424</TR>
425<TR BGCOLOR="white" CLASS="TableRowColor">
426<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
427<CODE>&nbsp;void</CODE></FONT></TD>
428<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#copyUserProperties(org.apache.tools.ant.Project)">copyUserProperties</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;other)</CODE>
429
430<BR>
431&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copy all user properties that have been set on the command
432 line or a GUI tool from this instance to the Project instance
433 given as the argument.</TD>
434</TR>
435<TR BGCOLOR="white" CLASS="TableRowColor">
436<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
437<CODE>&nbsp;<A HREF="../../../../org/apache/tools/ant/AntClassLoader.html" title="class in org.apache.tools.ant">AntClassLoader</A></CODE></FONT></TD>
438<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#createClassLoader(org.apache.tools.ant.types.Path)">createClassLoader</A></B>(<A HREF="../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A>&nbsp;path)</CODE>
439
440<BR>
441&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Factory method to create a class loader for loading classes from
442 a given path.</TD>
443</TR>
444<TR BGCOLOR="white" CLASS="TableRowColor">
445<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
446<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
447<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#createDataType(java.lang.String)">createDataType</A></B>(java.lang.String&nbsp;typeName)</CODE>
448
449<BR>
450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new instance of a data type.</TD>
451</TR>
452<TR BGCOLOR="white" CLASS="TableRowColor">
453<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
454<CODE>&nbsp;<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></FONT></TD>
455<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#createTask(java.lang.String)">createTask</A></B>(java.lang.String&nbsp;taskType)</CODE>
456
457<BR>
458&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new instance of a task, adding it to a list of
459 created tasks for later invalidation.</TD>
460</TR>
461<TR BGCOLOR="white" CLASS="TableRowColor">
462<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
463<CODE>&nbsp;int</CODE></FONT></TD>
464<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#defaultInput(byte[], int, int)">defaultInput</A></B>(byte[]&nbsp;buffer,
465 int&nbsp;offset,
466 int&nbsp;length)</CODE>
467
468<BR>
469&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Read data from the default input stream.</TD>
470</TR>
471<TR BGCOLOR="white" CLASS="TableRowColor">
472<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
473<CODE>&nbsp;void</CODE></FONT></TD>
474<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#demuxFlush(java.lang.String, boolean)">demuxFlush</A></B>(java.lang.String&nbsp;output,
475 boolean&nbsp;isError)</CODE>
476
477<BR>
478&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Demultiplex flush operations so that each task receives the appropriate
479 messages.</TD>
480</TR>
481<TR BGCOLOR="white" CLASS="TableRowColor">
482<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
483<CODE>&nbsp;int</CODE></FONT></TD>
484<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#demuxInput(byte[], int, int)">demuxInput</A></B>(byte[]&nbsp;buffer,
485 int&nbsp;offset,
486 int&nbsp;length)</CODE>
487
488<BR>
489&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Demux an input request to the correct task.</TD>
490</TR>
491<TR BGCOLOR="white" CLASS="TableRowColor">
492<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
493<CODE>&nbsp;void</CODE></FONT></TD>
494<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#demuxOutput(java.lang.String, boolean)">demuxOutput</A></B>(java.lang.String&nbsp;output,
495 boolean&nbsp;isWarning)</CODE>
496
497<BR>
498&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Demultiplex output so that each task receives the appropriate
499 messages.</TD>
500</TR>
501<TR BGCOLOR="white" CLASS="TableRowColor">
502<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
503<CODE>&nbsp;void</CODE></FONT></TD>
504<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#executeSortedTargets(java.util.Vector)">executeSortedTargets</A></B>(java.util.Vector&nbsp;sortedTargets)</CODE>
505
506<BR>
507&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Execute a <code>Vector</code> of sorted targets.</TD>
508</TR>
509<TR BGCOLOR="white" CLASS="TableRowColor">
510<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
511<CODE>&nbsp;void</CODE></FONT></TD>
512<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#executeTarget(java.lang.String)">executeTarget</A></B>(java.lang.String&nbsp;targetName)</CODE>
513
514<BR>
515&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Execute the specified target and any targets it depends on.</TD>
516</TR>
517<TR BGCOLOR="white" CLASS="TableRowColor">
518<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
519<CODE>&nbsp;void</CODE></FONT></TD>
520<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#executeTargets(java.util.Vector)">executeTargets</A></B>(java.util.Vector&nbsp;names)</CODE>
521
522<BR>
523&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Execute the specified sequence of targets, and the targets
524 they depend on.</TD>
525</TR>
526<TR BGCOLOR="white" CLASS="TableRowColor">
527<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
528<CODE>&nbsp;void</CODE></FONT></TD>
529<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#fireBuildFinished(java.lang.Throwable)">fireBuildFinished</A></B>(java.lang.Throwable&nbsp;exception)</CODE>
530
531<BR>
532&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send a &quot;build finished&quot; event to the build listeners
533 for this project.</TD>
534</TR>
535<TR BGCOLOR="white" CLASS="TableRowColor">
536<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
537<CODE>&nbsp;void</CODE></FONT></TD>
538<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#fireBuildStarted()">fireBuildStarted</A></B>()</CODE>
539
540<BR>
541&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send a &quot;build started&quot; event
542 to the build listeners for this project.</TD>
543</TR>
544<TR BGCOLOR="white" CLASS="TableRowColor">
545<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
546<CODE>protected &nbsp;void</CODE></FONT></TD>
547<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#fireMessageLogged(org.apache.tools.ant.Project, java.lang.String, int)">fireMessageLogged</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
548 java.lang.String&nbsp;message,
549 int&nbsp;priority)</CODE>
550
551<BR>
552&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send a &quot;message logged&quot; project level event
553 to the build listeners for this project.</TD>
554</TR>
555<TR BGCOLOR="white" CLASS="TableRowColor">
556<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
557<CODE>protected &nbsp;void</CODE></FONT></TD>
558<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#fireMessageLogged(org.apache.tools.ant.Target, java.lang.String, int)">fireMessageLogged</A></B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target,
559 java.lang.String&nbsp;message,
560 int&nbsp;priority)</CODE>
561
562<BR>
563&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send a &quot;message logged&quot; target level event
564 to the build listeners for this project.</TD>
565</TR>
566<TR BGCOLOR="white" CLASS="TableRowColor">
567<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
568<CODE>protected &nbsp;void</CODE></FONT></TD>
569<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#fireMessageLogged(org.apache.tools.ant.Task, java.lang.String, int)">fireMessageLogged</A></B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;task,
570 java.lang.String&nbsp;message,
571 int&nbsp;priority)</CODE>
572
573<BR>
574&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send a &quot;message logged&quot; task level event
575 to the build listeners for this project.</TD>
576</TR>
577<TR BGCOLOR="white" CLASS="TableRowColor">
578<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
579<CODE>&nbsp;void</CODE></FONT></TD>
580<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#fireSubBuildFinished(java.lang.Throwable)">fireSubBuildFinished</A></B>(java.lang.Throwable&nbsp;exception)</CODE>
581
582<BR>
583&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send a &quot;subbuild finished&quot; event to the build listeners for
584 this project.</TD>
585</TR>
586<TR BGCOLOR="white" CLASS="TableRowColor">
587<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
588<CODE>&nbsp;void</CODE></FONT></TD>
589<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#fireSubBuildStarted()">fireSubBuildStarted</A></B>()</CODE>
590
591<BR>
592&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send a &quot;subbuild started&quot; event to the build listeners for
593 this project.</TD>
594</TR>
595<TR BGCOLOR="white" CLASS="TableRowColor">
596<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
597<CODE>protected &nbsp;void</CODE></FONT></TD>
598<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#fireTargetFinished(org.apache.tools.ant.Target, java.lang.Throwable)">fireTargetFinished</A></B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target,
599 java.lang.Throwable&nbsp;exception)</CODE>
600
601<BR>
602&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send a &quot;target finished&quot; event to the build listeners
603 for this project.</TD>
604</TR>
605<TR BGCOLOR="white" CLASS="TableRowColor">
606<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
607<CODE>protected &nbsp;void</CODE></FONT></TD>
608<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#fireTargetStarted(org.apache.tools.ant.Target)">fireTargetStarted</A></B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target)</CODE>
609
610<BR>
611&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send a &quot;target started&quot; event to the build listeners
612 for this project.</TD>
613</TR>
614<TR BGCOLOR="white" CLASS="TableRowColor">
615<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
616<CODE>protected &nbsp;void</CODE></FONT></TD>
617<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#fireTaskFinished(org.apache.tools.ant.Task, java.lang.Throwable)">fireTaskFinished</A></B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;task,
618 java.lang.Throwable&nbsp;exception)</CODE>
619
620<BR>
621&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send a &quot;task finished&quot; event to the build listeners for this
622 project.</TD>
623</TR>
624<TR BGCOLOR="white" CLASS="TableRowColor">
625<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
626<CODE>protected &nbsp;void</CODE></FONT></TD>
627<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#fireTaskStarted(org.apache.tools.ant.Task)">fireTaskStarted</A></B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;task)</CODE>
628
629<BR>
630&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send a &quot;task started&quot; event to the build listeners
631 for this project.</TD>
632</TR>
633<TR BGCOLOR="white" CLASS="TableRowColor">
634<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
635<CODE>&nbsp;java.io.File</CODE></FONT></TD>
636<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getBaseDir()">getBaseDir</A></B>()</CODE>
637
638<BR>
639&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the base directory of the project as a file object.</TD>
640</TR>
641<TR BGCOLOR="white" CLASS="TableRowColor">
642<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
643<CODE>&nbsp;java.util.Vector</CODE></FONT></TD>
644<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getBuildListeners()">getBuildListeners</A></B>()</CODE>
645
646<BR>
647&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a copy of the list of build listeners for the project.</TD>
648</TR>
649<TR BGCOLOR="white" CLASS="TableRowColor">
650<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
651<CODE>&nbsp;java.lang.ClassLoader</CODE></FONT></TD>
652<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getCoreLoader()">getCoreLoader</A></B>()</CODE>
653
654<BR>
655&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the core classloader to use for this project.</TD>
656</TR>
657<TR BGCOLOR="white" CLASS="TableRowColor">
658<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
659<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
660<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getDataTypeDefinitions()">getDataTypeDefinitions</A></B>()</CODE>
661
662<BR>
663&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the current datatype definition hashtable.</TD>
664</TR>
665<TR BGCOLOR="white" CLASS="TableRowColor">
666<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
667<CODE>&nbsp;java.io.InputStream</CODE></FONT></TD>
668<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getDefaultInputStream()">getDefaultInputStream</A></B>()</CODE>
669
670<BR>
671&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get this project's input stream.</TD>
672</TR>
673<TR BGCOLOR="white" CLASS="TableRowColor">
674<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
675<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
676<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getDefaultTarget()">getDefaultTarget</A></B>()</CODE>
677
678<BR>
679&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the name of the default target of the project.</TD>
680</TR>
681<TR BGCOLOR="white" CLASS="TableRowColor">
682<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
683<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
684<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getDescription()">getDescription</A></B>()</CODE>
685
686<BR>
687&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the project description, if one has been set.</TD>
688</TR>
689<TR BGCOLOR="white" CLASS="TableRowColor">
690<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
691<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
692<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getElementName(java.lang.Object)">getElementName</A></B>(java.lang.Object&nbsp;element)</CODE>
693
694<BR>
695&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a description of the type of the given element, with
696 special handling for instances of tasks and data types.</TD>
697</TR>
698<TR BGCOLOR="white" CLASS="TableRowColor">
699<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
700<CODE>&nbsp;<A HREF="../../../../org/apache/tools/ant/Executor.html" title="interface in org.apache.tools.ant">Executor</A></CODE></FONT></TD>
701<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getExecutor()">getExecutor</A></B>()</CODE>
702
703<BR>
704&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get this Project's Executor (setting it if necessary).</TD>
705</TR>
706<TR BGCOLOR="white" CLASS="TableRowColor">
707<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
708<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
709<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getFilters()">getFilters</A></B>()</CODE>
710
711<BR>
712&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use getGlobalFilterSet().getFilterHash()</I></TD>
713</TR>
714<TR BGCOLOR="white" CLASS="TableRowColor">
715<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
716<CODE>&nbsp;<A HREF="../../../../org/apache/tools/ant/types/FilterSet.html" title="class in org.apache.tools.ant.types">FilterSet</A></CODE></FONT></TD>
717<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getGlobalFilterSet()">getGlobalFilterSet</A></B>()</CODE>
718
719<BR>
720&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the set of global filters.</TD>
721</TR>
722<TR BGCOLOR="white" CLASS="TableRowColor">
723<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
724<CODE>&nbsp;<A HREF="../../../../org/apache/tools/ant/input/InputHandler.html" title="interface in org.apache.tools.ant.input">InputHandler</A></CODE></FONT></TD>
725<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getInputHandler()">getInputHandler</A></B>()</CODE>
726
727<BR>
728&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve the current input handler.</TD>
729</TR>
730<TR BGCOLOR="white" CLASS="TableRowColor">
731<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
732<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
733<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getJavaVersion()">getJavaVersion</A></B>()</CODE>
734
735<BR>
736&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use org.apache.tools.ant.util.JavaEnvUtils instead</I></TD>
737</TR>
738<TR BGCOLOR="white" CLASS="TableRowColor">
739<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
740<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
741<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getName()">getName</A></B>()</CODE>
742
743<BR>
744&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the project name, if one has been set.</TD>
745</TR>
746<TR BGCOLOR="white" CLASS="TableRowColor">
747<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
748<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
749<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getProperties()">getProperties</A></B>()</CODE>
750
751<BR>
752&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a copy of the properties table.</TD>
753</TR>
754<TR BGCOLOR="white" CLASS="TableRowColor">
755<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
756<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
757<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getProperty(java.lang.String)">getProperty</A></B>(java.lang.String&nbsp;name)</CODE>
758
759<BR>
760&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the value of a property, if it is set.</TD>
761</TR>
762<TR BGCOLOR="white" CLASS="TableRowColor">
763<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
764<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
765<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getReference(java.lang.String)">getReference</A></B>(java.lang.String&nbsp;key)</CODE>
766
767<BR>
768&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Look up a reference by its key (ID).</TD>
769</TR>
770<TR BGCOLOR="white" CLASS="TableRowColor">
771<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
772<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
773<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getReferences()">getReferences</A></B>()</CODE>
774
775<BR>
776&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a map of the references in the project (String to Object).</TD>
777</TR>
778<TR BGCOLOR="white" CLASS="TableRowColor">
779<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
780<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
781<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getTargets()">getTargets</A></B>()</CODE>
782
783<BR>
784&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the hashtable of targets.</TD>
785</TR>
786<TR BGCOLOR="white" CLASS="TableRowColor">
787<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
788<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
789<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getTaskDefinitions()">getTaskDefinitions</A></B>()</CODE>
790
791<BR>
792&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the current task definition hashtable.</TD>
793</TR>
794<TR BGCOLOR="white" CLASS="TableRowColor">
795<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
796<CODE>&nbsp;<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></FONT></TD>
797<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getThreadTask(java.lang.Thread)">getThreadTask</A></B>(java.lang.Thread&nbsp;thread)</CODE>
798
799<BR>
800&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current task associated with a thread, if any.</TD>
801</TR>
802<TR BGCOLOR="white" CLASS="TableRowColor">
803<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
804<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
805<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getUserProperties()">getUserProperties</A></B>()</CODE>
806
807<BR>
808&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a copy of the user property hashtable.</TD>
809</TR>
810<TR BGCOLOR="white" CLASS="TableRowColor">
811<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
812<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
813<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#getUserProperty(java.lang.String)">getUserProperty</A></B>(java.lang.String&nbsp;name)</CODE>
814
815<BR>
816&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the value of a user property, if it is set.</TD>
817</TR>
818<TR BGCOLOR="white" CLASS="TableRowColor">
819<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
820<CODE>&nbsp;void</CODE></FONT></TD>
821<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#init()">init</A></B>()</CODE>
822
823<BR>
824&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialise the project.</TD>
825</TR>
826<TR BGCOLOR="white" CLASS="TableRowColor">
827<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
828<CODE>&nbsp;void</CODE></FONT></TD>
829<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#initSubProject(org.apache.tools.ant.Project)">initSubProject</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;subProject)</CODE>
830
831<BR>
832&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Init a sub project--used by taskdefs.Ant .</TD>
833</TR>
834<TR BGCOLOR="white" CLASS="TableRowColor">
835<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
836<CODE>&nbsp;boolean</CODE></FONT></TD>
837<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#isKeepGoingMode()">isKeepGoingMode</A></B>()</CODE>
838
839<BR>
840&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the keep-going mode.</TD>
841</TR>
842<TR BGCOLOR="white" CLASS="TableRowColor">
843<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
844<CODE>&nbsp;void</CODE></FONT></TD>
845<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#log(java.lang.String)">log</A></B>(java.lang.String&nbsp;message)</CODE>
846
847<BR>
848&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write a message to the log with the default log level
849 of MSG_INFO .</TD>
850</TR>
851<TR BGCOLOR="white" CLASS="TableRowColor">
852<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
853<CODE>&nbsp;void</CODE></FONT></TD>
854<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#log(java.lang.String, int)">log</A></B>(java.lang.String&nbsp;message,
855 int&nbsp;msgLevel)</CODE>
856
857<BR>
858&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write a project level message to the log with the given log level.</TD>
859</TR>
860<TR BGCOLOR="white" CLASS="TableRowColor">
861<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
862<CODE>&nbsp;void</CODE></FONT></TD>
863<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#log(org.apache.tools.ant.Target, java.lang.String, int)">log</A></B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target,
864 java.lang.String&nbsp;message,
865 int&nbsp;msgLevel)</CODE>
866
867<BR>
868&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write a target level message to the log with the given log level.</TD>
869</TR>
870<TR BGCOLOR="white" CLASS="TableRowColor">
871<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
872<CODE>&nbsp;void</CODE></FONT></TD>
873<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#log(org.apache.tools.ant.Task, java.lang.String, int)">log</A></B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;task,
874 java.lang.String&nbsp;message,
875 int&nbsp;msgLevel)</CODE>
876
877<BR>
878&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write a task level message to the log with the given log level.</TD>
879</TR>
880<TR BGCOLOR="white" CLASS="TableRowColor">
881<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
882<CODE>&nbsp;void</CODE></FONT></TD>
883<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#registerThreadTask(java.lang.Thread, org.apache.tools.ant.Task)">registerThreadTask</A></B>(java.lang.Thread&nbsp;thread,
884 <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;task)</CODE>
885
886<BR>
887&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Register a task as the current task for a thread.</TD>
888</TR>
889<TR BGCOLOR="white" CLASS="TableRowColor">
890<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
891<CODE>&nbsp;void</CODE></FONT></TD>
892<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#removeBuildListener(org.apache.tools.ant.BuildListener)">removeBuildListener</A></B>(<A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A>&nbsp;listener)</CODE>
893
894<BR>
895&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a build listener from the list.</TD>
896</TR>
897<TR BGCOLOR="white" CLASS="TableRowColor">
898<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
899<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
900<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#replaceProperties(java.lang.String)">replaceProperties</A></B>(java.lang.String&nbsp;value)</CODE>
901
902<BR>
903&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replace ${} style constructions in the given value with the
904 string value of the corresponding data types.</TD>
905</TR>
906<TR BGCOLOR="white" CLASS="TableRowColor">
907<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
908<CODE>&nbsp;java.io.File</CODE></FONT></TD>
909<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#resolveFile(java.lang.String)">resolveFile</A></B>(java.lang.String&nbsp;fileName)</CODE>
910
911<BR>
912&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the canonical form of a filename.</TD>
913</TR>
914<TR BGCOLOR="white" CLASS="TableRowColor">
915<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
916<CODE>&nbsp;java.io.File</CODE></FONT></TD>
917<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#resolveFile(java.lang.String, java.io.File)">resolveFile</A></B>(java.lang.String&nbsp;fileName,
918 java.io.File&nbsp;rootDir)</CODE>
919
920<BR>
921&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
922</TR>
923<TR BGCOLOR="white" CLASS="TableRowColor">
924<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
925<CODE>&nbsp;void</CODE></FONT></TD>
926<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setBaseDir(java.io.File)">setBaseDir</A></B>(java.io.File&nbsp;baseDir)</CODE>
927
928<BR>
929&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the base directory for the project, checking that
930 the given file exists and is a directory.</TD>
931</TR>
932<TR BGCOLOR="white" CLASS="TableRowColor">
933<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
934<CODE>&nbsp;void</CODE></FONT></TD>
935<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setBasedir(java.lang.String)">setBasedir</A></B>(java.lang.String&nbsp;baseD)</CODE>
936
937<BR>
938&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the base directory for the project, checking that
939 the given filename exists and is a directory.</TD>
940</TR>
941<TR BGCOLOR="white" CLASS="TableRowColor">
942<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
943<CODE>&nbsp;void</CODE></FONT></TD>
944<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setCoreLoader(java.lang.ClassLoader)">setCoreLoader</A></B>(java.lang.ClassLoader&nbsp;coreLoader)</CODE>
945
946<BR>
947&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the core classloader for the project.</TD>
948</TR>
949<TR BGCOLOR="white" CLASS="TableRowColor">
950<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
951<CODE>&nbsp;void</CODE></FONT></TD>
952<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setDefault(java.lang.String)">setDefault</A></B>(java.lang.String&nbsp;defaultTarget)</CODE>
953
954<BR>
955&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the default target of the project.</TD>
956</TR>
957<TR BGCOLOR="white" CLASS="TableRowColor">
958<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
959<CODE>&nbsp;void</CODE></FONT></TD>
960<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setDefaultInputStream(java.io.InputStream)">setDefaultInputStream</A></B>(java.io.InputStream&nbsp;defaultInputStream)</CODE>
961
962<BR>
963&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the default System input stream.</TD>
964</TR>
965<TR BGCOLOR="white" CLASS="TableRowColor">
966<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
967<CODE>&nbsp;void</CODE></FONT></TD>
968<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setDefaultTarget(java.lang.String)">setDefaultTarget</A></B>(java.lang.String&nbsp;defaultTarget)</CODE>
969
970<BR>
971&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use setDefault</I></TD>
972</TR>
973<TR BGCOLOR="white" CLASS="TableRowColor">
974<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
975<CODE>&nbsp;void</CODE></FONT></TD>
976<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setDescription(java.lang.String)">setDescription</A></B>(java.lang.String&nbsp;description)</CODE>
977
978<BR>
979&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the project description.</TD>
980</TR>
981<TR BGCOLOR="white" CLASS="TableRowColor">
982<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
983<CODE>&nbsp;void</CODE></FONT></TD>
984<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setExecutor(org.apache.tools.ant.Executor)">setExecutor</A></B>(<A HREF="../../../../org/apache/tools/ant/Executor.html" title="interface in org.apache.tools.ant">Executor</A>&nbsp;e)</CODE>
985
986<BR>
987&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the Executor instance for this Project.</TD>
988</TR>
989<TR BGCOLOR="white" CLASS="TableRowColor">
990<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
991<CODE>&nbsp;void</CODE></FONT></TD>
992<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setFileLastModified(java.io.File, long)">setFileLastModified</A></B>(java.io.File&nbsp;file,
993 long&nbsp;time)</CODE>
994
995<BR>
996&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
997</TR>
998<TR BGCOLOR="white" CLASS="TableRowColor">
999<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1000<CODE>&nbsp;void</CODE></FONT></TD>
1001<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setInheritedProperty(java.lang.String, java.lang.String)">setInheritedProperty</A></B>(java.lang.String&nbsp;name,
1002 java.lang.String&nbsp;value)</CODE>
1003
1004<BR>
1005&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a user property, which cannot be overwritten by set/unset
1006 property calls.</TD>
1007</TR>
1008<TR BGCOLOR="white" CLASS="TableRowColor">
1009<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1010<CODE>&nbsp;void</CODE></FONT></TD>
1011<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setInputHandler(org.apache.tools.ant.input.InputHandler)">setInputHandler</A></B>(<A HREF="../../../../org/apache/tools/ant/input/InputHandler.html" title="interface in org.apache.tools.ant.input">InputHandler</A>&nbsp;handler)</CODE>
1012
1013<BR>
1014&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the input handler.</TD>
1015</TR>
1016<TR BGCOLOR="white" CLASS="TableRowColor">
1017<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1018<CODE>&nbsp;void</CODE></FONT></TD>
1019<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setJavaVersionProperty()">setJavaVersionProperty</A></B>()</CODE>
1020
1021<BR>
1022&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the <code>ant.java.version</code> property and tests for
1023 unsupported JVM versions.</TD>
1024</TR>
1025<TR BGCOLOR="white" CLASS="TableRowColor">
1026<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1027<CODE>&nbsp;void</CODE></FONT></TD>
1028<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setKeepGoingMode(boolean)">setKeepGoingMode</A></B>(boolean&nbsp;keepGoingMode)</CODE>
1029
1030<BR>
1031&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set &quot;keep-going&quot; mode.</TD>
1032</TR>
1033<TR BGCOLOR="white" CLASS="TableRowColor">
1034<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1035<CODE>&nbsp;void</CODE></FONT></TD>
1036<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setName(java.lang.String)">setName</A></B>(java.lang.String&nbsp;name)</CODE>
1037
1038<BR>
1039&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the name of the project, also setting the user
1040 property <code>ant.project.name</code>.</TD>
1041</TR>
1042<TR BGCOLOR="white" CLASS="TableRowColor">
1043<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1044<CODE>&nbsp;void</CODE></FONT></TD>
1045<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setNewProperty(java.lang.String, java.lang.String)">setNewProperty</A></B>(java.lang.String&nbsp;name,
1046 java.lang.String&nbsp;value)</CODE>
1047
1048<BR>
1049&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a property if no value currently exists.</TD>
1050</TR>
1051<TR BGCOLOR="white" CLASS="TableRowColor">
1052<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1053<CODE>&nbsp;void</CODE></FONT></TD>
1054<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setProjectReference(java.lang.Object)">setProjectReference</A></B>(java.lang.Object&nbsp;obj)</CODE>
1055
1056<BR>
1057&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a reference to this Project on the parameterized object.</TD>
1058</TR>
1059<TR BGCOLOR="white" CLASS="TableRowColor">
1060<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1061<CODE>&nbsp;void</CODE></FONT></TD>
1062<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setProperty(java.lang.String, java.lang.String)">setProperty</A></B>(java.lang.String&nbsp;name,
1063 java.lang.String&nbsp;value)</CODE>
1064
1065<BR>
1066&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a property.</TD>
1067</TR>
1068<TR BGCOLOR="white" CLASS="TableRowColor">
1069<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1070<CODE>&nbsp;void</CODE></FONT></TD>
1071<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setSystemProperties()">setSystemProperties</A></B>()</CODE>
1072
1073<BR>
1074&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add all system properties which aren't already defined as
1075 user properties to the project properties.</TD>
1076</TR>
1077<TR BGCOLOR="white" CLASS="TableRowColor">
1078<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1079<CODE>&nbsp;void</CODE></FONT></TD>
1080<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setUserProperty(java.lang.String, java.lang.String)">setUserProperty</A></B>(java.lang.String&nbsp;name,
1081 java.lang.String&nbsp;value)</CODE>
1082
1083<BR>
1084&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a user property, which cannot be overwritten by
1085 set/unset property calls.</TD>
1086</TR>
1087<TR BGCOLOR="white" CLASS="TableRowColor">
1088<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1089<CODE>static&nbsp;boolean</CODE></FONT></TD>
1090<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#toBoolean(java.lang.String)">toBoolean</A></B>(java.lang.String&nbsp;s)</CODE>
1091
1092<BR>
1093&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the boolean equivalent of a string, which is considered
1094 <code>true</code> if either <code>"on"</code>, <code>"true"</code>,
1095 or <code>"yes"</code> is found, ignoring case.</TD>
1096</TR>
1097<TR BGCOLOR="white" CLASS="TableRowColor">
1098<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1099<CODE>&nbsp;java.util.Vector</CODE></FONT></TD>
1100<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#topoSort(java.lang.String[], java.util.Hashtable, boolean)">topoSort</A></B>(java.lang.String[]&nbsp;root,
1101 java.util.Hashtable&nbsp;targets,
1102 boolean&nbsp;returnAll)</CODE>
1103
1104<BR>
1105&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Topologically sort a set of targets.</TD>
1106</TR>
1107<TR BGCOLOR="white" CLASS="TableRowColor">
1108<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1109<CODE>&nbsp;java.util.Vector</CODE></FONT></TD>
1110<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#topoSort(java.lang.String, java.util.Hashtable)">topoSort</A></B>(java.lang.String&nbsp;root,
1111 java.util.Hashtable&nbsp;targets)</CODE>
1112
1113<BR>
1114&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Topologically sort a set of targets.</TD>
1115</TR>
1116<TR BGCOLOR="white" CLASS="TableRowColor">
1117<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1118<CODE>&nbsp;java.util.Vector</CODE></FONT></TD>
1119<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#topoSort(java.lang.String, java.util.Hashtable, boolean)">topoSort</A></B>(java.lang.String&nbsp;root,
1120 java.util.Hashtable&nbsp;targets,
1121 boolean&nbsp;returnAll)</CODE>
1122
1123<BR>
1124&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Topologically sort a set of targets.</TD>
1125</TR>
1126<TR BGCOLOR="white" CLASS="TableRowColor">
1127<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
1128<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
1129<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#translatePath(java.lang.String)">translatePath</A></B>(java.lang.String&nbsp;toProcess)</CODE>
1130
1131<BR>
1132&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translate a path into its native (platform specific) format.</TD>
1133</TR>
1134</TABLE>
1135&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
1136<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
1137<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
1138<TD><B>Methods inherited from class java.lang.Object</B></TD>
1139</TR>
1140<TR BGCOLOR="white" CLASS="TableRowColor">
1141<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
1142</TR>
1143</TABLE>
1144&nbsp;
1145<P>
1146
1147<!-- ============ FIELD DETAIL =========== -->
1148
1149<A NAME="field_detail"><!-- --></A>
1150<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
1151<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
1152<TD COLSPAN=1><FONT SIZE="+2">
1153<B>Field Detail</B></FONT></TD>
1154</TR>
1155</TABLE>
1156
1157<A NAME="MSG_ERR"><!-- --></A><H3>
1158MSG_ERR</H3>
1159<PRE>
1160public static final int <B>MSG_ERR</B></PRE>
1161<DL>
1162<DD>Message priority of &quot;error&quot;.
1163<P>
1164<DL>
1165<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.tools.ant.Project.MSG_ERR">Constant Field Values</A></DL>
1166</DL>
1167<HR>
1168
1169<A NAME="MSG_WARN"><!-- --></A><H3>
1170MSG_WARN</H3>
1171<PRE>
1172public static final int <B>MSG_WARN</B></PRE>
1173<DL>
1174<DD>Message priority of &quot;warning&quot;.
1175<P>
1176<DL>
1177<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.tools.ant.Project.MSG_WARN">Constant Field Values</A></DL>
1178</DL>
1179<HR>
1180
1181<A NAME="MSG_INFO"><!-- --></A><H3>
1182MSG_INFO</H3>
1183<PRE>
1184public static final int <B>MSG_INFO</B></PRE>
1185<DL>
1186<DD>Message priority of &quot;information&quot;.
1187<P>
1188<DL>
1189<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.tools.ant.Project.MSG_INFO">Constant Field Values</A></DL>
1190</DL>
1191<HR>
1192
1193<A NAME="MSG_VERBOSE"><!-- --></A><H3>
1194MSG_VERBOSE</H3>
1195<PRE>
1196public static final int <B>MSG_VERBOSE</B></PRE>
1197<DL>
1198<DD>Message priority of &quot;verbose&quot;.
1199<P>
1200<DL>
1201<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.tools.ant.Project.MSG_VERBOSE">Constant Field Values</A></DL>
1202</DL>
1203<HR>
1204
1205<A NAME="MSG_DEBUG"><!-- --></A><H3>
1206MSG_DEBUG</H3>
1207<PRE>
1208public static final int <B>MSG_DEBUG</B></PRE>
1209<DL>
1210<DD>Message priority of &quot;debug&quot;.
1211<P>
1212<DL>
1213<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.tools.ant.Project.MSG_DEBUG">Constant Field Values</A></DL>
1214</DL>
1215<HR>
1216
1217<A NAME="JAVA_1_0"><!-- --></A><H3>
1218JAVA_1_0</H3>
1219<PRE>
1220public static final java.lang.String <B>JAVA_1_0</B></PRE>
1221<DL>
1222<DD><B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/tools/ant/util/JavaEnvUtils.html#JAVA_1_0"><CODE>JavaEnvUtils.JAVA_1_0</CODE></A> instead.</I>
1223<P>
1224<DD>Version constant for Java 1.0 .
1225<P>
1226<DL>
1227<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.tools.ant.Project.JAVA_1_0">Constant Field Values</A></DL>
1228</DL>
1229<HR>
1230
1231<A NAME="JAVA_1_1"><!-- --></A><H3>
1232JAVA_1_1</H3>
1233<PRE>
1234public static final java.lang.String <B>JAVA_1_1</B></PRE>
1235<DL>
1236<DD><B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/tools/ant/util/JavaEnvUtils.html#JAVA_1_1"><CODE>JavaEnvUtils.JAVA_1_1</CODE></A> instead.</I>
1237<P>
1238<DD>Version constant for Java 1.1 .
1239<P>
1240<DL>
1241<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.tools.ant.Project.JAVA_1_1">Constant Field Values</A></DL>
1242</DL>
1243<HR>
1244
1245<A NAME="JAVA_1_2"><!-- --></A><H3>
1246JAVA_1_2</H3>
1247<PRE>
1248public static final java.lang.String <B>JAVA_1_2</B></PRE>
1249<DL>
1250<DD><B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/tools/ant/util/JavaEnvUtils.html#JAVA_1_2"><CODE>JavaEnvUtils.JAVA_1_2</CODE></A> instead.</I>
1251<P>
1252<DD>Version constant for Java 1.2 .
1253<P>
1254<DL>
1255<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.tools.ant.Project.JAVA_1_2">Constant Field Values</A></DL>
1256</DL>
1257<HR>
1258
1259<A NAME="JAVA_1_3"><!-- --></A><H3>
1260JAVA_1_3</H3>
1261<PRE>
1262public static final java.lang.String <B>JAVA_1_3</B></PRE>
1263<DL>
1264<DD><B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/tools/ant/util/JavaEnvUtils.html#JAVA_1_3"><CODE>JavaEnvUtils.JAVA_1_3</CODE></A> instead.</I>
1265<P>
1266<DD>Version constant for Java 1.3 .
1267<P>
1268<DL>
1269<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.tools.ant.Project.JAVA_1_3">Constant Field Values</A></DL>
1270</DL>
1271<HR>
1272
1273<A NAME="JAVA_1_4"><!-- --></A><H3>
1274JAVA_1_4</H3>
1275<PRE>
1276public static final java.lang.String <B>JAVA_1_4</B></PRE>
1277<DL>
1278<DD><B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/tools/ant/util/JavaEnvUtils.html#JAVA_1_4"><CODE>JavaEnvUtils.JAVA_1_4</CODE></A> instead.</I>
1279<P>
1280<DD>Version constant for Java 1.4 .
1281<P>
1282<DL>
1283<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.tools.ant.Project.JAVA_1_4">Constant Field Values</A></DL>
1284</DL>
1285<HR>
1286
1287<A NAME="TOKEN_START"><!-- --></A><H3>
1288TOKEN_START</H3>
1289<PRE>
1290public static final java.lang.String <B>TOKEN_START</B></PRE>
1291<DL>
1292<DD>Default filter start token.
1293<P>
1294<DL>
1295<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.tools.ant.Project.TOKEN_START">Constant Field Values</A></DL>
1296</DL>
1297<HR>
1298
1299<A NAME="TOKEN_END"><!-- --></A><H3>
1300TOKEN_END</H3>
1301<PRE>
1302public static final java.lang.String <B>TOKEN_END</B></PRE>
1303<DL>
1304<DD>Default filter end token.
1305<P>
1306<DL>
1307<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.tools.ant.Project.TOKEN_END">Constant Field Values</A></DL>
1308</DL>
1309
1310<!-- ========= CONSTRUCTOR DETAIL ======== -->
1311
1312<A NAME="constructor_detail"><!-- --></A>
1313<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
1314<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
1315<TD COLSPAN=1><FONT SIZE="+2">
1316<B>Constructor Detail</B></FONT></TD>
1317</TR>
1318</TABLE>
1319
1320<A NAME="Project()"><!-- --></A><H3>
1321Project</H3>
1322<PRE>
1323public <B>Project</B>()</PRE>
1324<DL>
1325<DD>Create a new Ant project.
1326<P>
1327</DL>
1328
1329<!-- ============ METHOD DETAIL ========== -->
1330
1331<A NAME="method_detail"><!-- --></A>
1332<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
1333<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
1334<TD COLSPAN=1><FONT SIZE="+2">
1335<B>Method Detail</B></FONT></TD>
1336</TR>
1337</TABLE>
1338
1339<A NAME="setInputHandler(org.apache.tools.ant.input.InputHandler)"><!-- --></A><H3>
1340setInputHandler</H3>
1341<PRE>
1342public void <B>setInputHandler</B>(<A HREF="../../../../org/apache/tools/ant/input/InputHandler.html" title="interface in org.apache.tools.ant.input">InputHandler</A>&nbsp;handler)</PRE>
1343<DL>
1344<DD>Set the input handler.
1345<P>
1346<DD><DL>
1347<DT><B>Parameters:</B><DD><CODE>handler</CODE> - the InputHandler instance to use for gathering input.</DL>
1348</DD>
1349</DL>
1350<HR>
1351
1352<A NAME="setDefaultInputStream(java.io.InputStream)"><!-- --></A><H3>
1353setDefaultInputStream</H3>
1354<PRE>
1355public void <B>setDefaultInputStream</B>(java.io.InputStream&nbsp;defaultInputStream)</PRE>
1356<DL>
1357<DD>Set the default System input stream. Normally this stream is set to
1358 System.in. This inputStream is used when no task input redirection is
1359 being performed.
1360<P>
1361<DD><DL>
1362<DT><B>Parameters:</B><DD><CODE>defaultInputStream</CODE> - the default input stream to use when input
1363 is requested.<DT><B>Since:</B></DT>
1364 <DD>Ant 1.6</DD>
1365</DL>
1366</DD>
1367</DL>
1368<HR>
1369
1370<A NAME="getDefaultInputStream()"><!-- --></A><H3>
1371getDefaultInputStream</H3>
1372<PRE>
1373public java.io.InputStream <B>getDefaultInputStream</B>()</PRE>
1374<DL>
1375<DD>Get this project's input stream.
1376<P>
1377<DD><DL>
1378
1379<DT><B>Returns:</B><DD>the InputStream instance in use by this Project instance to
1380 read input.</DL>
1381</DD>
1382</DL>
1383<HR>
1384
1385<A NAME="getInputHandler()"><!-- --></A><H3>
1386getInputHandler</H3>
1387<PRE>
1388public <A HREF="../../../../org/apache/tools/ant/input/InputHandler.html" title="interface in org.apache.tools.ant.input">InputHandler</A> <B>getInputHandler</B>()</PRE>
1389<DL>
1390<DD>Retrieve the current input handler.
1391<P>
1392<DD><DL>
1393
1394<DT><B>Returns:</B><DD>the InputHandler instance currently in place for the project
1395 instance.</DL>
1396</DD>
1397</DL>
1398<HR>
1399
1400<A NAME="initSubProject(org.apache.tools.ant.Project)"><!-- --></A><H3>
1401initSubProject</H3>
1402<PRE>
1403public void <B>initSubProject</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;subProject)</PRE>
1404<DL>
1405<DD>Init a sub project--used by taskdefs.Ant .
1406<P>
1407<DD><DL>
1408<DT><B>Parameters:</B><DD><CODE>subProject</CODE> - the subproject to initialize.</DL>
1409</DD>
1410</DL>
1411<HR>
1412
1413<A NAME="init()"><!-- --></A><H3>
1414init</H3>
1415<PRE>
1416public void <B>init</B>()
1417 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
1418<DL>
1419<DD>Initialise the project.
1420
1421 This involves setting the default task definitions and loading the
1422 system properties.
1423<P>
1424<DD><DL>
1425
1426<DT><B>Throws:</B>
1427<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the default task list cannot be loaded.</DL>
1428</DD>
1429</DL>
1430<HR>
1431
1432<A NAME="createClassLoader(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
1433createClassLoader</H3>
1434<PRE>
1435public <A HREF="../../../../org/apache/tools/ant/AntClassLoader.html" title="class in org.apache.tools.ant">AntClassLoader</A> <B>createClassLoader</B>(<A HREF="../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A>&nbsp;path)</PRE>
1436<DL>
1437<DD>Factory method to create a class loader for loading classes from
1438 a given path.
1439<P>
1440<DD><DL>
1441<DT><B>Parameters:</B><DD><CODE>path</CODE> - the path from which classes are to be loaded.
1442<DT><B>Returns:</B><DD>an appropriate classloader.</DL>
1443</DD>
1444</DL>
1445<HR>
1446
1447<A NAME="setCoreLoader(java.lang.ClassLoader)"><!-- --></A><H3>
1448setCoreLoader</H3>
1449<PRE>
1450public void <B>setCoreLoader</B>(java.lang.ClassLoader&nbsp;coreLoader)</PRE>
1451<DL>
1452<DD>Set the core classloader for the project. If a <code>null</code>
1453 classloader is specified, the parent classloader should be used.
1454<P>
1455<DD><DL>
1456<DT><B>Parameters:</B><DD><CODE>coreLoader</CODE> - The classloader to use for the project.
1457 May be <code>null</code>.</DL>
1458</DD>
1459</DL>
1460<HR>
1461
1462<A NAME="getCoreLoader()"><!-- --></A><H3>
1463getCoreLoader</H3>
1464<PRE>
1465public java.lang.ClassLoader <B>getCoreLoader</B>()</PRE>
1466<DL>
1467<DD>Return the core classloader to use for this project.
1468 This may be <code>null</code>, indicating that
1469 the parent classloader should be used.
1470<P>
1471<DD><DL>
1472
1473<DT><B>Returns:</B><DD>the core classloader to use for this project.</DL>
1474</DD>
1475</DL>
1476<HR>
1477
1478<A NAME="addBuildListener(org.apache.tools.ant.BuildListener)"><!-- --></A><H3>
1479addBuildListener</H3>
1480<PRE>
1481public void <B>addBuildListener</B>(<A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A>&nbsp;listener)</PRE>
1482<DL>
1483<DD>Add a build listener to the list. This listener will
1484 be notified of build events for this project.
1485<P>
1486<DD><DL>
1487<DT><B>Parameters:</B><DD><CODE>listener</CODE> - The listener to add to the list.
1488 Must not be <code>null</code>.</DL>
1489</DD>
1490</DL>
1491<HR>
1492
1493<A NAME="removeBuildListener(org.apache.tools.ant.BuildListener)"><!-- --></A><H3>
1494removeBuildListener</H3>
1495<PRE>
1496public void <B>removeBuildListener</B>(<A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A>&nbsp;listener)</PRE>
1497<DL>
1498<DD>Remove a build listener from the list. This listener
1499 will no longer be notified of build events for this project.
1500<P>
1501<DD><DL>
1502<DT><B>Parameters:</B><DD><CODE>listener</CODE> - The listener to remove from the list.
1503 Should not be <code>null</code>.</DL>
1504</DD>
1505</DL>
1506<HR>
1507
1508<A NAME="getBuildListeners()"><!-- --></A><H3>
1509getBuildListeners</H3>
1510<PRE>
1511public java.util.Vector <B>getBuildListeners</B>()</PRE>
1512<DL>
1513<DD>Return a copy of the list of build listeners for the project.
1514<P>
1515<DD><DL>
1516
1517<DT><B>Returns:</B><DD>a list of build listeners for the project</DL>
1518</DD>
1519</DL>
1520<HR>
1521
1522<A NAME="log(java.lang.String)"><!-- --></A><H3>
1523log</H3>
1524<PRE>
1525public void <B>log</B>(java.lang.String&nbsp;message)</PRE>
1526<DL>
1527<DD>Write a message to the log with the default log level
1528 of MSG_INFO .
1529<P>
1530<DD><DL>
1531<DT><B>Parameters:</B><DD><CODE>message</CODE> - The text to log. Should not be <code>null</code>.</DL>
1532</DD>
1533</DL>
1534<HR>
1535
1536<A NAME="log(java.lang.String, int)"><!-- --></A><H3>
1537log</H3>
1538<PRE>
1539public void <B>log</B>(java.lang.String&nbsp;message,
1540 int&nbsp;msgLevel)</PRE>
1541<DL>
1542<DD>Write a project level message to the log with the given log level.
1543<P>
1544<DD><DL>
1545<DT><B>Parameters:</B><DD><CODE>message</CODE> - The text to log. Should not be <code>null</code>.<DD><CODE>msgLevel</CODE> - The log priority level to use.</DL>
1546</DD>
1547</DL>
1548<HR>
1549
1550<A NAME="log(org.apache.tools.ant.Task, java.lang.String, int)"><!-- --></A><H3>
1551log</H3>
1552<PRE>
1553public void <B>log</B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;task,
1554 java.lang.String&nbsp;message,
1555 int&nbsp;msgLevel)</PRE>
1556<DL>
1557<DD>Write a task level message to the log with the given log level.
1558<P>
1559<DD><DL>
1560<DT><B>Parameters:</B><DD><CODE>task</CODE> - The task to use in the log. Must not be <code>null</code>.<DD><CODE>message</CODE> - The text to log. Should not be <code>null</code>.<DD><CODE>msgLevel</CODE> - The log priority level to use.</DL>
1561</DD>
1562</DL>
1563<HR>
1564
1565<A NAME="log(org.apache.tools.ant.Target, java.lang.String, int)"><!-- --></A><H3>
1566log</H3>
1567<PRE>
1568public void <B>log</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target,
1569 java.lang.String&nbsp;message,
1570 int&nbsp;msgLevel)</PRE>
1571<DL>
1572<DD>Write a target level message to the log with the given log level.
1573<P>
1574<DD><DL>
1575<DT><B>Parameters:</B><DD><CODE>target</CODE> - The target to use in the log.
1576 Must not be <code>null</code>.<DD><CODE>message</CODE> - The text to log. Should not be <code>null</code>.<DD><CODE>msgLevel</CODE> - The log priority level to use.</DL>
1577</DD>
1578</DL>
1579<HR>
1580
1581<A NAME="getGlobalFilterSet()"><!-- --></A><H3>
1582getGlobalFilterSet</H3>
1583<PRE>
1584public <A HREF="../../../../org/apache/tools/ant/types/FilterSet.html" title="class in org.apache.tools.ant.types">FilterSet</A> <B>getGlobalFilterSet</B>()</PRE>
1585<DL>
1586<DD>Return the set of global filters.
1587<P>
1588<DD><DL>
1589
1590<DT><B>Returns:</B><DD>the set of global filters.</DL>
1591</DD>
1592</DL>
1593<HR>
1594
1595<A NAME="setProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
1596setProperty</H3>
1597<PRE>
1598public void <B>setProperty</B>(java.lang.String&nbsp;name,
1599 java.lang.String&nbsp;value)</PRE>
1600<DL>
1601<DD>Set a property. Any existing property of the same name
1602 is overwritten, unless it is a user property.
1603<P>
1604<DD><DL>
1605<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of property to set.
1606 Must not be <code>null</code>.<DD><CODE>value</CODE> - The new value of the property.
1607 Must not be <code>null</code>.</DL>
1608</DD>
1609</DL>
1610<HR>
1611
1612<A NAME="setNewProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
1613setNewProperty</H3>
1614<PRE>
1615public void <B>setNewProperty</B>(java.lang.String&nbsp;name,
1616 java.lang.String&nbsp;value)</PRE>
1617<DL>
1618<DD>Set a property if no value currently exists. If the property
1619 exists already, a message is logged and the method returns with
1620 no other effect.
1621<P>
1622<DD><DL>
1623<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of property to set.
1624 Must not be <code>null</code>.<DD><CODE>value</CODE> - The new value of the property.
1625 Must not be <code>null</code>.<DT><B>Since:</B></DT>
1626 <DD>1.5</DD>
1627</DL>
1628</DD>
1629</DL>
1630<HR>
1631
1632<A NAME="setUserProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
1633setUserProperty</H3>
1634<PRE>
1635public void <B>setUserProperty</B>(java.lang.String&nbsp;name,
1636 java.lang.String&nbsp;value)</PRE>
1637<DL>
1638<DD>Set a user property, which cannot be overwritten by
1639 set/unset property calls. Any previous value is overwritten.
1640<P>
1641<DD><DL>
1642<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of property to set.
1643 Must not be <code>null</code>.<DD><CODE>value</CODE> - The new value of the property.
1644 Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/Project.html#setProperty(java.lang.String, java.lang.String)"><CODE>setProperty(String,String)</CODE></A></DL>
1645</DD>
1646</DL>
1647<HR>
1648
1649<A NAME="setInheritedProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
1650setInheritedProperty</H3>
1651<PRE>
1652public void <B>setInheritedProperty</B>(java.lang.String&nbsp;name,
1653 java.lang.String&nbsp;value)</PRE>
1654<DL>
1655<DD>Set a user property, which cannot be overwritten by set/unset
1656 property calls. Any previous value is overwritten. Also marks
1657 these properties as properties that have not come from the
1658 command line.
1659<P>
1660<DD><DL>
1661<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of property to set.
1662 Must not be <code>null</code>.<DD><CODE>value</CODE> - The new value of the property.
1663 Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/Project.html#setProperty(java.lang.String, java.lang.String)"><CODE>setProperty(String,String)</CODE></A></DL>
1664</DD>
1665</DL>
1666<HR>
1667
1668<A NAME="getProperty(java.lang.String)"><!-- --></A><H3>
1669getProperty</H3>
1670<PRE>
1671public java.lang.String <B>getProperty</B>(java.lang.String&nbsp;name)</PRE>
1672<DL>
1673<DD>Return the value of a property, if it is set.
1674<P>
1675<DD><DL>
1676<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the property.
1677 May be <code>null</code>, in which case
1678 the return value is also <code>null</code>.
1679<DT><B>Returns:</B><DD>the property value, or <code>null</code> for no match
1680 or if a <code>null</code> name is provided.</DL>
1681</DD>
1682</DL>
1683<HR>
1684
1685<A NAME="replaceProperties(java.lang.String)"><!-- --></A><H3>
1686replaceProperties</H3>
1687<PRE>
1688public java.lang.String <B>replaceProperties</B>(java.lang.String&nbsp;value)
1689 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
1690<DL>
1691<DD>Replace ${} style constructions in the given value with the
1692 string value of the corresponding data types.
1693<P>
1694<DD><DL>
1695<DT><B>Parameters:</B><DD><CODE>value</CODE> - The string to be scanned for property references.
1696 May be <code>null</code>.
1697<DT><B>Returns:</B><DD>the given string with embedded property names replaced
1698 by values, or <code>null</code> if the given string is
1699 <code>null</code>.
1700<DT><B>Throws:</B>
1701<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the given value has an unclosed
1702 property name, e.g. <code>${xxx</code>.</DL>
1703</DD>
1704</DL>
1705<HR>
1706
1707<A NAME="getUserProperty(java.lang.String)"><!-- --></A><H3>
1708getUserProperty</H3>
1709<PRE>
1710public java.lang.String <B>getUserProperty</B>(java.lang.String&nbsp;name)</PRE>
1711<DL>
1712<DD>Return the value of a user property, if it is set.
1713<P>
1714<DD><DL>
1715<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the property.
1716 May be <code>null</code>, in which case
1717 the return value is also <code>null</code>.
1718<DT><B>Returns:</B><DD>the property value, or <code>null</code> for no match
1719 or if a <code>null</code> name is provided.</DL>
1720</DD>
1721</DL>
1722<HR>
1723
1724<A NAME="getProperties()"><!-- --></A><H3>
1725getProperties</H3>
1726<PRE>
1727public java.util.Hashtable <B>getProperties</B>()</PRE>
1728<DL>
1729<DD>Return a copy of the properties table.
1730<P>
1731<DD><DL>
1732
1733<DT><B>Returns:</B><DD>a hashtable containing all properties
1734 (including user properties).</DL>
1735</DD>
1736</DL>
1737<HR>
1738
1739<A NAME="getUserProperties()"><!-- --></A><H3>
1740getUserProperties</H3>
1741<PRE>
1742public java.util.Hashtable <B>getUserProperties</B>()</PRE>
1743<DL>
1744<DD>Return a copy of the user property hashtable.
1745<P>
1746<DD><DL>
1747
1748<DT><B>Returns:</B><DD>a hashtable containing just the user properties.</DL>
1749</DD>
1750</DL>
1751<HR>
1752
1753<A NAME="copyUserProperties(org.apache.tools.ant.Project)"><!-- --></A><H3>
1754copyUserProperties</H3>
1755<PRE>
1756public void <B>copyUserProperties</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;other)</PRE>
1757<DL>
1758<DD>Copy all user properties that have been set on the command
1759 line or a GUI tool from this instance to the Project instance
1760 given as the argument.
1761
1762 <p>To copy all &quot;user&quot; properties, you will also have to call
1763 <A HREF="../../../../org/apache/tools/ant/Project.html#copyInheritedProperties(org.apache.tools.ant.Project)"><CODE>copyInheritedProperties</CODE></A>.</p>
1764<P>
1765<DD><DL>
1766<DT><B>Parameters:</B><DD><CODE>other</CODE> - the project to copy the properties to. Must not be null.<DT><B>Since:</B></DT>
1767 <DD>Ant 1.5</DD>
1768</DL>
1769</DD>
1770</DL>
1771<HR>
1772
1773<A NAME="copyInheritedProperties(org.apache.tools.ant.Project)"><!-- --></A><H3>
1774copyInheritedProperties</H3>
1775<PRE>
1776public void <B>copyInheritedProperties</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;other)</PRE>
1777<DL>
1778<DD>Copy all user properties that have not been set on the
1779 command line or a GUI tool from this instance to the Project
1780 instance given as the argument.
1781
1782 <p>To copy all &quot;user&quot; properties, you will also have to call
1783 <A HREF="../../../../org/apache/tools/ant/Project.html#copyUserProperties(org.apache.tools.ant.Project)"><CODE>copyUserProperties</CODE></A>.</p>
1784<P>
1785<DD><DL>
1786<DT><B>Parameters:</B><DD><CODE>other</CODE> - the project to copy the properties to. Must not be null.<DT><B>Since:</B></DT>
1787 <DD>Ant 1.5</DD>
1788</DL>
1789</DD>
1790</DL>
1791<HR>
1792
1793<A NAME="setDefaultTarget(java.lang.String)"><!-- --></A><H3>
1794setDefaultTarget</H3>
1795<PRE>
1796public void <B>setDefaultTarget</B>(java.lang.String&nbsp;defaultTarget)</PRE>
1797<DL>
1798<DD><B>Deprecated.</B>&nbsp;<I>use setDefault</I>
1799<P>
1800<DD>Set the default target of the project.
1801<P>
1802<DD><DL>
1803<DT><B>Parameters:</B><DD><CODE>defaultTarget</CODE> - The name of the default target for this project.
1804 May be <code>null</code>, indicating that there is
1805 no default target.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/Project.html#setDefault(java.lang.String)"><CODE>setDefault(String)</CODE></A></DL>
1806</DD>
1807</DL>
1808<HR>
1809
1810<A NAME="getDefaultTarget()"><!-- --></A><H3>
1811getDefaultTarget</H3>
1812<PRE>
1813public java.lang.String <B>getDefaultTarget</B>()</PRE>
1814<DL>
1815<DD>Return the name of the default target of the project.
1816<P>
1817<DD><DL>
1818
1819<DT><B>Returns:</B><DD>name of the default target or
1820 <code>null</code> if no default has been set.</DL>
1821</DD>
1822</DL>
1823<HR>
1824
1825<A NAME="setDefault(java.lang.String)"><!-- --></A><H3>
1826setDefault</H3>
1827<PRE>
1828public void <B>setDefault</B>(java.lang.String&nbsp;defaultTarget)</PRE>
1829<DL>
1830<DD>Set the default target of the project.
1831<P>
1832<DD><DL>
1833<DT><B>Parameters:</B><DD><CODE>defaultTarget</CODE> - The name of the default target for this project.
1834 May be <code>null</code>, indicating that there is
1835 no default target.</DL>
1836</DD>
1837</DL>
1838<HR>
1839
1840<A NAME="setName(java.lang.String)"><!-- --></A><H3>
1841setName</H3>
1842<PRE>
1843public void <B>setName</B>(java.lang.String&nbsp;name)</PRE>
1844<DL>
1845<DD>Set the name of the project, also setting the user
1846 property <code>ant.project.name</code>.
1847<P>
1848<DD><DL>
1849<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the project.
1850 Must not be <code>null</code>.</DL>
1851</DD>
1852</DL>
1853<HR>
1854
1855<A NAME="getName()"><!-- --></A><H3>
1856getName</H3>
1857<PRE>
1858public java.lang.String <B>getName</B>()</PRE>
1859<DL>
1860<DD>Return the project name, if one has been set.
1861<P>
1862<DD><DL>
1863
1864<DT><B>Returns:</B><DD>the project name, or <code>null</code> if it hasn't been set.</DL>
1865</DD>
1866</DL>
1867<HR>
1868
1869<A NAME="setDescription(java.lang.String)"><!-- --></A><H3>
1870setDescription</H3>
1871<PRE>
1872public void <B>setDescription</B>(java.lang.String&nbsp;description)</PRE>
1873<DL>
1874<DD>Set the project description.
1875<P>
1876<DD><DL>
1877<DT><B>Parameters:</B><DD><CODE>description</CODE> - The description of the project.
1878 May be <code>null</code>.</DL>
1879</DD>
1880</DL>
1881<HR>
1882
1883<A NAME="getDescription()"><!-- --></A><H3>
1884getDescription</H3>
1885<PRE>
1886public java.lang.String <B>getDescription</B>()</PRE>
1887<DL>
1888<DD>Return the project description, if one has been set.
1889<P>
1890<DD><DL>
1891
1892<DT><B>Returns:</B><DD>the project description, or <code>null</code> if it hasn't
1893 been set.</DL>
1894</DD>
1895</DL>
1896<HR>
1897
1898<A NAME="addFilter(java.lang.String, java.lang.String)"><!-- --></A><H3>
1899addFilter</H3>
1900<PRE>
1901public void <B>addFilter</B>(java.lang.String&nbsp;token,
1902 java.lang.String&nbsp;value)</PRE>
1903<DL>
1904<DD><B>Deprecated.</B>&nbsp;<I>Use getGlobalFilterSet().addFilter(token,value)</I>
1905<P>
1906<DD>Add a filter to the set of global filters.
1907<P>
1908<DD><DL>
1909<DT><B>Parameters:</B><DD><CODE>token</CODE> - The token to filter.
1910 Must not be <code>null</code>.<DD><CODE>value</CODE> - The replacement value.
1911 Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/Project.html#getGlobalFilterSet()"><CODE>getGlobalFilterSet()</CODE></A>,
1912<A HREF="../../../../org/apache/tools/ant/types/FilterSet.html#addFilter(java.lang.String, java.lang.String)"><CODE>FilterSet.addFilter(String,String)</CODE></A></DL>
1913</DD>
1914</DL>
1915<HR>
1916
1917<A NAME="getFilters()"><!-- --></A><H3>
1918getFilters</H3>
1919<PRE>
1920public java.util.Hashtable <B>getFilters</B>()</PRE>
1921<DL>
1922<DD><B>Deprecated.</B>&nbsp;<I>Use getGlobalFilterSet().getFilterHash()</I>
1923<P>
1924<DD>Return a hashtable of global filters, mapping tokens to values.
1925<P>
1926<DD><DL>
1927
1928<DT><B>Returns:</B><DD>a hashtable of global filters, mapping tokens to values
1929 (String to String).<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/Project.html#getGlobalFilterSet()"><CODE>getGlobalFilterSet()</CODE></A>,
1930<A HREF="../../../../org/apache/tools/ant/types/FilterSet.html#getFilterHash()"><CODE>FilterSet.getFilterHash()</CODE></A></DL>
1931</DD>
1932</DL>
1933<HR>
1934
1935<A NAME="setBasedir(java.lang.String)"><!-- --></A><H3>
1936setBasedir</H3>
1937<PRE>
1938public void <B>setBasedir</B>(java.lang.String&nbsp;baseD)
1939 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
1940<DL>
1941<DD>Set the base directory for the project, checking that
1942 the given filename exists and is a directory.
1943<P>
1944<DD><DL>
1945<DT><B>Parameters:</B><DD><CODE>baseD</CODE> - The project base directory.
1946 Must not be <code>null</code>.
1947<DT><B>Throws:</B>
1948<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the directory if invalid.</DL>
1949</DD>
1950</DL>
1951<HR>
1952
1953<A NAME="setBaseDir(java.io.File)"><!-- --></A><H3>
1954setBaseDir</H3>
1955<PRE>
1956public void <B>setBaseDir</B>(java.io.File&nbsp;baseDir)
1957 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
1958<DL>
1959<DD>Set the base directory for the project, checking that
1960 the given file exists and is a directory.
1961<P>
1962<DD><DL>
1963<DT><B>Parameters:</B><DD><CODE>baseDir</CODE> - The project base directory.
1964 Must not be <code>null</code>.
1965<DT><B>Throws:</B>
1966<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the specified file doesn't exist or
1967 isn't a directory.</DL>
1968</DD>
1969</DL>
1970<HR>
1971
1972<A NAME="getBaseDir()"><!-- --></A><H3>
1973getBaseDir</H3>
1974<PRE>
1975public java.io.File <B>getBaseDir</B>()</PRE>
1976<DL>
1977<DD>Return the base directory of the project as a file object.
1978<P>
1979<DD><DL>
1980
1981<DT><B>Returns:</B><DD>the project base directory, or <code>null</code> if the
1982 base directory has not been successfully set to a valid value.</DL>
1983</DD>
1984</DL>
1985<HR>
1986
1987<A NAME="setKeepGoingMode(boolean)"><!-- --></A><H3>
1988setKeepGoingMode</H3>
1989<PRE>
1990public void <B>setKeepGoingMode</B>(boolean&nbsp;keepGoingMode)</PRE>
1991<DL>
1992<DD>Set &quot;keep-going&quot; mode. In this mode Ant will try to execute
1993 as many targets as possible. All targets that do not depend
1994 on failed target(s) will be executed. If the keepGoing settor/getter
1995 methods are used in conjunction with the <code>ant.executor.class</code>
1996 property, they will have no effect.
1997<P>
1998<DD><DL>
1999<DT><B>Parameters:</B><DD><CODE>keepGoingMode</CODE> - &quot;keep-going&quot; mode<DT><B>Since:</B></DT>
2000 <DD>Ant 1.6</DD>
2001</DL>
2002</DD>
2003</DL>
2004<HR>
2005
2006<A NAME="isKeepGoingMode()"><!-- --></A><H3>
2007isKeepGoingMode</H3>
2008<PRE>
2009public boolean <B>isKeepGoingMode</B>()</PRE>
2010<DL>
2011<DD>Return the keep-going mode. If the keepGoing settor/getter
2012 methods are used in conjunction with the <code>ant.executor.class</code>
2013 property, they will have no effect.
2014<P>
2015<DD><DL>
2016
2017<DT><B>Returns:</B><DD>&quot;keep-going&quot; mode<DT><B>Since:</B></DT>
2018 <DD>Ant 1.6</DD>
2019</DL>
2020</DD>
2021</DL>
2022<HR>
2023
2024<A NAME="getJavaVersion()"><!-- --></A><H3>
2025getJavaVersion</H3>
2026<PRE>
2027public static java.lang.String <B>getJavaVersion</B>()</PRE>
2028<DL>
2029<DD><B>Deprecated.</B>&nbsp;<I>use org.apache.tools.ant.util.JavaEnvUtils instead</I>
2030<P>
2031<DD>Return the version of Java this class is running under.
2032<P>
2033<DD><DL>
2034
2035<DT><B>Returns:</B><DD>the version of Java as a String, e.g. "1.1" .<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/util/JavaEnvUtils.html#getJavaVersion()"><CODE>JavaEnvUtils.getJavaVersion()</CODE></A></DL>
2036</DD>
2037</DL>
2038<HR>
2039
2040<A NAME="setJavaVersionProperty()"><!-- --></A><H3>
2041setJavaVersionProperty</H3>
2042<PRE>
2043public void <B>setJavaVersionProperty</B>()
2044 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2045<DL>
2046<DD>Set the <code>ant.java.version</code> property and tests for
2047 unsupported JVM versions. If the version is supported,
2048 verbose log messages are generated to record the Java version
2049 and operating system name.
2050<P>
2051<DD><DL>
2052
2053<DT><B>Throws:</B>
2054<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if this Java version is not supported.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/util/JavaEnvUtils.html#getJavaVersion()"><CODE>JavaEnvUtils.getJavaVersion()</CODE></A></DL>
2055</DD>
2056</DL>
2057<HR>
2058
2059<A NAME="setSystemProperties()"><!-- --></A><H3>
2060setSystemProperties</H3>
2061<PRE>
2062public void <B>setSystemProperties</B>()</PRE>
2063<DL>
2064<DD>Add all system properties which aren't already defined as
2065 user properties to the project properties.
2066<P>
2067<DD><DL>
2068</DL>
2069</DD>
2070</DL>
2071<HR>
2072
2073<A NAME="addTaskDefinition(java.lang.String, java.lang.Class)"><!-- --></A><H3>
2074addTaskDefinition</H3>
2075<PRE>
2076public void <B>addTaskDefinition</B>(java.lang.String&nbsp;taskName,
2077 java.lang.Class&nbsp;taskClass)
2078 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2079<DL>
2080<DD>Add a new task definition to the project.
2081 Attempting to override an existing definition with an
2082 equivalent one (i.e. with the same classname) results in
2083 a verbose log message. Attempting to override an existing definition
2084 with a different one results in a warning log message and
2085 invalidates any tasks which have already been created with the
2086 old definition.
2087<P>
2088<DD><DL>
2089<DT><B>Parameters:</B><DD><CODE>taskName</CODE> - The name of the task to add.
2090 Must not be <code>null</code>.<DD><CODE>taskClass</CODE> - The full name of the class implementing the task.
2091 Must not be <code>null</code>.
2092<DT><B>Throws:</B>
2093<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the class is unsuitable for being an Ant
2094 task. An error level message is logged before
2095 this exception is thrown.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/Project.html#checkTaskClass(java.lang.Class)"><CODE>checkTaskClass(Class)</CODE></A></DL>
2096</DD>
2097</DL>
2098<HR>
2099
2100<A NAME="checkTaskClass(java.lang.Class)"><!-- --></A><H3>
2101checkTaskClass</H3>
2102<PRE>
2103public void <B>checkTaskClass</B>(java.lang.Class&nbsp;taskClass)
2104 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2105<DL>
2106<DD>Check whether or not a class is suitable for serving as Ant task.
2107 Ant task implementation classes must be public, concrete, and have
2108 a no-arg constructor.
2109<P>
2110<DD><DL>
2111<DT><B>Parameters:</B><DD><CODE>taskClass</CODE> - The class to be checked.
2112 Must not be <code>null</code>.
2113<DT><B>Throws:</B>
2114<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the class is unsuitable for being an Ant
2115 task. An error level message is logged before
2116 this exception is thrown.</DL>
2117</DD>
2118</DL>
2119<HR>
2120
2121<A NAME="getTaskDefinitions()"><!-- --></A><H3>
2122getTaskDefinitions</H3>
2123<PRE>
2124public java.util.Hashtable <B>getTaskDefinitions</B>()</PRE>
2125<DL>
2126<DD>Return the current task definition hashtable. The returned hashtable is
2127 &quot;live&quot; and so should not be modified.
2128<P>
2129<DD><DL>
2130
2131<DT><B>Returns:</B><DD>a map of from task name to implementing class
2132 (String to Class).</DL>
2133</DD>
2134</DL>
2135<HR>
2136
2137<A NAME="addDataTypeDefinition(java.lang.String, java.lang.Class)"><!-- --></A><H3>
2138addDataTypeDefinition</H3>
2139<PRE>
2140public void <B>addDataTypeDefinition</B>(java.lang.String&nbsp;typeName,
2141 java.lang.Class&nbsp;typeClass)</PRE>
2142<DL>
2143<DD>Add a new datatype definition.
2144 Attempting to override an existing definition with an
2145 equivalent one (i.e. with the same classname) results in
2146 a verbose log message. Attempting to override an existing definition
2147 with a different one results in a warning log message, but the
2148 definition is changed.
2149<P>
2150<DD><DL>
2151<DT><B>Parameters:</B><DD><CODE>typeName</CODE> - The name of the datatype.
2152 Must not be <code>null</code>.<DD><CODE>typeClass</CODE> - The full name of the class implementing the datatype.
2153 Must not be <code>null</code>.</DL>
2154</DD>
2155</DL>
2156<HR>
2157
2158<A NAME="getDataTypeDefinitions()"><!-- --></A><H3>
2159getDataTypeDefinitions</H3>
2160<PRE>
2161public java.util.Hashtable <B>getDataTypeDefinitions</B>()</PRE>
2162<DL>
2163<DD>Return the current datatype definition hashtable. The returned
2164 hashtable is &quot;live&quot; and so should not be modified.
2165<P>
2166<DD><DL>
2167
2168<DT><B>Returns:</B><DD>a map of from datatype name to implementing class
2169 (String to Class).</DL>
2170</DD>
2171</DL>
2172<HR>
2173
2174<A NAME="addTarget(org.apache.tools.ant.Target)"><!-- --></A><H3>
2175addTarget</H3>
2176<PRE>
2177public void <B>addTarget</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target)
2178 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2179<DL>
2180<DD>Add a <em>new</em> target to the project.
2181<P>
2182<DD><DL>
2183<DT><B>Parameters:</B><DD><CODE>target</CODE> - The target to be added to the project.
2184 Must not be <code>null</code>.
2185<DT><B>Throws:</B>
2186<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the target already exists in the project<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/Project.html#addOrReplaceTarget(org.apache.tools.ant.Target)"><CODE>addOrReplaceTarget(org.apache.tools.ant.Target)</CODE></A></DL>
2187</DD>
2188</DL>
2189<HR>
2190
2191<A NAME="addTarget(java.lang.String, org.apache.tools.ant.Target)"><!-- --></A><H3>
2192addTarget</H3>
2193<PRE>
2194public void <B>addTarget</B>(java.lang.String&nbsp;targetName,
2195 <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target)
2196 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2197<DL>
2198<DD>Add a <em>new</em> target to the project.
2199<P>
2200<DD><DL>
2201<DT><B>Parameters:</B><DD><CODE>targetName</CODE> - The name to use for the target.
2202 Must not be <code>null</code>.<DD><CODE>target</CODE> - The target to be added to the project.
2203 Must not be <code>null</code>.
2204<DT><B>Throws:</B>
2205<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the target already exists in the project.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/Project.html#addOrReplaceTarget(org.apache.tools.ant.Target)"><CODE>addOrReplaceTarget(org.apache.tools.ant.Target)</CODE></A></DL>
2206</DD>
2207</DL>
2208<HR>
2209
2210<A NAME="addOrReplaceTarget(org.apache.tools.ant.Target)"><!-- --></A><H3>
2211addOrReplaceTarget</H3>
2212<PRE>
2213public void <B>addOrReplaceTarget</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target)</PRE>
2214<DL>
2215<DD>Add a target to the project, or replaces one with the same
2216 name.
2217<P>
2218<DD><DL>
2219<DT><B>Parameters:</B><DD><CODE>target</CODE> - The target to be added or replaced in the project.
2220 Must not be <code>null</code>.</DL>
2221</DD>
2222</DL>
2223<HR>
2224
2225<A NAME="addOrReplaceTarget(java.lang.String, org.apache.tools.ant.Target)"><!-- --></A><H3>
2226addOrReplaceTarget</H3>
2227<PRE>
2228public void <B>addOrReplaceTarget</B>(java.lang.String&nbsp;targetName,
2229 <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target)</PRE>
2230<DL>
2231<DD>Add a target to the project, or replaces one with the same
2232 name.
2233<P>
2234<DD><DL>
2235<DT><B>Parameters:</B><DD><CODE>targetName</CODE> - The name to use for the target.
2236 Must not be <code>null</code>.<DD><CODE>target</CODE> - The target to be added or replaced in the project.
2237 Must not be <code>null</code>.</DL>
2238</DD>
2239</DL>
2240<HR>
2241
2242<A NAME="getTargets()"><!-- --></A><H3>
2243getTargets</H3>
2244<PRE>
2245public java.util.Hashtable <B>getTargets</B>()</PRE>
2246<DL>
2247<DD>Return the hashtable of targets. The returned hashtable
2248 is &quot;live&quot; and so should not be modified.
2249<P>
2250<DD><DL>
2251
2252<DT><B>Returns:</B><DD>a map from name to target (String to Target).</DL>
2253</DD>
2254</DL>
2255<HR>
2256
2257<A NAME="createTask(java.lang.String)"><!-- --></A><H3>
2258createTask</H3>
2259<PRE>
2260public <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> <B>createTask</B>(java.lang.String&nbsp;taskType)
2261 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2262<DL>
2263<DD>Create a new instance of a task, adding it to a list of
2264 created tasks for later invalidation. This causes all tasks
2265 to be remembered until the containing project is removed
2266<P>
2267<DD><DL>
2268<DT><B>Parameters:</B><DD><CODE>taskType</CODE> - The name of the task to create an instance of.
2269 Must not be <code>null</code>.
2270<DT><B>Returns:</B><DD>an instance of the specified task, or <code>null</code> if
2271 the task name is not recognised.
2272<DT><B>Throws:</B>
2273<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the task name is recognised but task
2274 creation fails.</DL>
2275</DD>
2276</DL>
2277<HR>
2278
2279<A NAME="createDataType(java.lang.String)"><!-- --></A><H3>
2280createDataType</H3>
2281<PRE>
2282public java.lang.Object <B>createDataType</B>(java.lang.String&nbsp;typeName)
2283 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2284<DL>
2285<DD>Create a new instance of a data type.
2286<P>
2287<DD><DL>
2288<DT><B>Parameters:</B><DD><CODE>typeName</CODE> - The name of the data type to create an instance of.
2289 Must not be <code>null</code>.
2290<DT><B>Returns:</B><DD>an instance of the specified data type, or <code>null</code> if
2291 the data type name is not recognised.
2292<DT><B>Throws:</B>
2293<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the data type name is recognised but
2294 instance creation fails.</DL>
2295</DD>
2296</DL>
2297<HR>
2298
2299<A NAME="setExecutor(org.apache.tools.ant.Executor)"><!-- --></A><H3>
2300setExecutor</H3>
2301<PRE>
2302public void <B>setExecutor</B>(<A HREF="../../../../org/apache/tools/ant/Executor.html" title="interface in org.apache.tools.ant">Executor</A>&nbsp;e)</PRE>
2303<DL>
2304<DD>Set the Executor instance for this Project.
2305<P>
2306<DD><DL>
2307<DT><B>Parameters:</B><DD><CODE>e</CODE> - the Executor to use.</DL>
2308</DD>
2309</DL>
2310<HR>
2311
2312<A NAME="getExecutor()"><!-- --></A><H3>
2313getExecutor</H3>
2314<PRE>
2315public <A HREF="../../../../org/apache/tools/ant/Executor.html" title="interface in org.apache.tools.ant">Executor</A> <B>getExecutor</B>()</PRE>
2316<DL>
2317<DD>Get this Project's Executor (setting it if necessary).
2318<P>
2319<DD><DL>
2320
2321<DT><B>Returns:</B><DD>an Executor instance.</DL>
2322</DD>
2323</DL>
2324<HR>
2325
2326<A NAME="executeTargets(java.util.Vector)"><!-- --></A><H3>
2327executeTargets</H3>
2328<PRE>
2329public void <B>executeTargets</B>(java.util.Vector&nbsp;names)
2330 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2331<DL>
2332<DD>Execute the specified sequence of targets, and the targets
2333 they depend on.
2334<P>
2335<DD><DL>
2336<DT><B>Parameters:</B><DD><CODE>names</CODE> - A vector of target name strings to execute.
2337 Must not be <code>null</code>.
2338<DT><B>Throws:</B>
2339<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the build failed.</DL>
2340</DD>
2341</DL>
2342<HR>
2343
2344<A NAME="demuxOutput(java.lang.String, boolean)"><!-- --></A><H3>
2345demuxOutput</H3>
2346<PRE>
2347public void <B>demuxOutput</B>(java.lang.String&nbsp;output,
2348 boolean&nbsp;isWarning)</PRE>
2349<DL>
2350<DD>Demultiplex output so that each task receives the appropriate
2351 messages. If the current thread is not currently executing a task,
2352 the message is logged directly.
2353<P>
2354<DD><DL>
2355<DT><B>Parameters:</B><DD><CODE>output</CODE> - Message to handle. Should not be <code>null</code>.<DD><CODE>isWarning</CODE> - Whether the text represents an warning (<code>true</code>)
2356 or information (<code>false</code>).</DL>
2357</DD>
2358</DL>
2359<HR>
2360
2361<A NAME="defaultInput(byte[], int, int)"><!-- --></A><H3>
2362defaultInput</H3>
2363<PRE>
2364public int <B>defaultInput</B>(byte[]&nbsp;buffer,
2365 int&nbsp;offset,
2366 int&nbsp;length)
2367 throws java.io.IOException</PRE>
2368<DL>
2369<DD>Read data from the default input stream. If no default has been
2370 specified, System.in is used.
2371<P>
2372<DD><DL>
2373<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.
2374<DT><B>Returns:</B><DD>the number of bytes read.
2375<DT><B>Throws:</B>
2376<DD><CODE>java.io.IOException</CODE> - if the data cannot be read.<DT><B>Since:</B></DT>
2377 <DD>Ant 1.6</DD>
2378</DL>
2379</DD>
2380</DL>
2381<HR>
2382
2383<A NAME="demuxInput(byte[], int, int)"><!-- --></A><H3>
2384demuxInput</H3>
2385<PRE>
2386public int <B>demuxInput</B>(byte[]&nbsp;buffer,
2387 int&nbsp;offset,
2388 int&nbsp;length)
2389 throws java.io.IOException</PRE>
2390<DL>
2391<DD>Demux an input request to the correct task.
2392<P>
2393<DD><DL>
2394<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.
2395<DT><B>Returns:</B><DD>the number of bytes read.
2396<DT><B>Throws:</B>
2397<DD><CODE>java.io.IOException</CODE> - if the data cannot be read.<DT><B>Since:</B></DT>
2398 <DD>Ant 1.6</DD>
2399</DL>
2400</DD>
2401</DL>
2402<HR>
2403
2404<A NAME="demuxFlush(java.lang.String, boolean)"><!-- --></A><H3>
2405demuxFlush</H3>
2406<PRE>
2407public void <B>demuxFlush</B>(java.lang.String&nbsp;output,
2408 boolean&nbsp;isError)</PRE>
2409<DL>
2410<DD>Demultiplex flush operations so that each task receives the appropriate
2411 messages. If the current thread is not currently executing a task,
2412 the message is logged directly.
2413<P>
2414<DD><DL>
2415<DT><B>Parameters:</B><DD><CODE>output</CODE> - Message to handle. Should not be <code>null</code>.<DD><CODE>isError</CODE> - Whether the text represents an error (<code>true</code>)
2416 or information (<code>false</code>).<DT><B>Since:</B></DT>
2417 <DD>Ant 1.5.2</DD>
2418</DL>
2419</DD>
2420</DL>
2421<HR>
2422
2423<A NAME="executeTarget(java.lang.String)"><!-- --></A><H3>
2424executeTarget</H3>
2425<PRE>
2426public void <B>executeTarget</B>(java.lang.String&nbsp;targetName)
2427 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2428<DL>
2429<DD>Execute the specified target and any targets it depends on.
2430<P>
2431<DD><DL>
2432<DT><B>Parameters:</B><DD><CODE>targetName</CODE> - The name of the target to execute.
2433 Must not be <code>null</code>.
2434<DT><B>Throws:</B>
2435<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the build failed.</DL>
2436</DD>
2437</DL>
2438<HR>
2439
2440<A NAME="executeSortedTargets(java.util.Vector)"><!-- --></A><H3>
2441executeSortedTargets</H3>
2442<PRE>
2443public void <B>executeSortedTargets</B>(java.util.Vector&nbsp;sortedTargets)
2444 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2445<DL>
2446<DD>Execute a <code>Vector</code> of sorted targets.
2447<P>
2448<DD><DL>
2449<DT><B>Parameters:</B><DD><CODE>sortedTargets</CODE> - the aforementioned <code>Vector</code>.
2450<DT><B>Throws:</B>
2451<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - on error.</DL>
2452</DD>
2453</DL>
2454<HR>
2455
2456<A NAME="resolveFile(java.lang.String, java.io.File)"><!-- --></A><H3>
2457resolveFile</H3>
2458<PRE>
2459public java.io.File <B>resolveFile</B>(java.lang.String&nbsp;fileName,
2460 java.io.File&nbsp;rootDir)</PRE>
2461<DL>
2462<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
2463<P>
2464<DD>Return the canonical form of a filename.
2465 <p>
2466 If the specified file name is relative it is resolved
2467 with respect to the given root directory.
2468<P>
2469<DD><DL>
2470<DT><B>Parameters:</B><DD><CODE>fileName</CODE> - The name of the file to resolve.
2471 Must not be <code>null</code>.<DD><CODE>rootDir</CODE> - The directory respective to which relative file names
2472 are resolved. May be <code>null</code>, in which case
2473 the current directory is used.
2474<DT><B>Returns:</B><DD>the resolved File.</DL>
2475</DD>
2476</DL>
2477<HR>
2478
2479<A NAME="resolveFile(java.lang.String)"><!-- --></A><H3>
2480resolveFile</H3>
2481<PRE>
2482public java.io.File <B>resolveFile</B>(java.lang.String&nbsp;fileName)</PRE>
2483<DL>
2484<DD>Return the canonical form of a filename.
2485 <p>
2486 If the specified file name is relative it is resolved
2487 with respect to the project's base directory.
2488<P>
2489<DD><DL>
2490<DT><B>Parameters:</B><DD><CODE>fileName</CODE> - The name of the file to resolve.
2491 Must not be <code>null</code>.
2492<DT><B>Returns:</B><DD>the resolved File.</DL>
2493</DD>
2494</DL>
2495<HR>
2496
2497<A NAME="translatePath(java.lang.String)"><!-- --></A><H3>
2498translatePath</H3>
2499<PRE>
2500public static java.lang.String <B>translatePath</B>(java.lang.String&nbsp;toProcess)</PRE>
2501<DL>
2502<DD>Translate a path into its native (platform specific) format.
2503 <p>
2504 This method uses PathTokenizer to separate the input path
2505 into its components. This handles DOS style paths in a relatively
2506 sensible way. The file separators are then converted to their platform
2507 specific versions.
2508<P>
2509<DD><DL>
2510<DT><B>Parameters:</B><DD><CODE>toProcess</CODE> - The path to be translated.
2511 May be <code>null</code>.
2512<DT><B>Returns:</B><DD>the native version of the specified path or
2513 an empty string if the path is <code>null</code> or empty.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/PathTokenizer.html" title="class in org.apache.tools.ant"><CODE>PathTokenizer</CODE></A></DL>
2514</DD>
2515</DL>
2516<HR>
2517
2518<A NAME="copyFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
2519copyFile</H3>
2520<PRE>
2521public void <B>copyFile</B>(java.lang.String&nbsp;sourceFile,
2522 java.lang.String&nbsp;destFile)
2523 throws java.io.IOException</PRE>
2524<DL>
2525<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
2526<P>
2527<DD>Convenience method to copy a file from a source to a destination.
2528 No filtering is performed.
2529<P>
2530<DD><DL>
2531<DT><B>Parameters:</B><DD><CODE>sourceFile</CODE> - Name of file to copy from.
2532 Must not be <code>null</code>.<DD><CODE>destFile</CODE> - Name of file to copy to.
2533 Must not be <code>null</code>.
2534<DT><B>Throws:</B>
2535<DD><CODE>java.io.IOException</CODE> - if the copying fails.</DL>
2536</DD>
2537</DL>
2538<HR>
2539
2540<A NAME="copyFile(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
2541copyFile</H3>
2542<PRE>
2543public void <B>copyFile</B>(java.lang.String&nbsp;sourceFile,
2544 java.lang.String&nbsp;destFile,
2545 boolean&nbsp;filtering)
2546 throws java.io.IOException</PRE>
2547<DL>
2548<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
2549<P>
2550<DD>Convenience method to copy a file from a source to a destination
2551 specifying if token filtering should be used.
2552<P>
2553<DD><DL>
2554<DT><B>Parameters:</B><DD><CODE>sourceFile</CODE> - Name of file to copy from.
2555 Must not be <code>null</code>.<DD><CODE>destFile</CODE> - Name of file to copy to.
2556 Must not be <code>null</code>.<DD><CODE>filtering</CODE> - Whether or not token filtering should be used during
2557 the copy.
2558<DT><B>Throws:</B>
2559<DD><CODE>java.io.IOException</CODE> - if the copying fails.</DL>
2560</DD>
2561</DL>
2562<HR>
2563
2564<A NAME="copyFile(java.lang.String, java.lang.String, boolean, boolean)"><!-- --></A><H3>
2565copyFile</H3>
2566<PRE>
2567public void <B>copyFile</B>(java.lang.String&nbsp;sourceFile,
2568 java.lang.String&nbsp;destFile,
2569 boolean&nbsp;filtering,
2570 boolean&nbsp;overwrite)
2571 throws java.io.IOException</PRE>
2572<DL>
2573<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
2574<P>
2575<DD>Convenience method to copy a file from a source to a
2576 destination specifying if token filtering should be used and if
2577 source files may overwrite newer destination files.
2578<P>
2579<DD><DL>
2580<DT><B>Parameters:</B><DD><CODE>sourceFile</CODE> - Name of file to copy from.
2581 Must not be <code>null</code>.<DD><CODE>destFile</CODE> - Name of file to copy to.
2582 Must not be <code>null</code>.<DD><CODE>filtering</CODE> - Whether or not token filtering should be used during
2583 the copy.<DD><CODE>overwrite</CODE> - Whether or not the destination file should be
2584 overwritten if it already exists.
2585<DT><B>Throws:</B>
2586<DD><CODE>java.io.IOException</CODE> - if the copying fails.</DL>
2587</DD>
2588</DL>
2589<HR>
2590
2591<A NAME="copyFile(java.lang.String, java.lang.String, boolean, boolean, boolean)"><!-- --></A><H3>
2592copyFile</H3>
2593<PRE>
2594public void <B>copyFile</B>(java.lang.String&nbsp;sourceFile,
2595 java.lang.String&nbsp;destFile,
2596 boolean&nbsp;filtering,
2597 boolean&nbsp;overwrite,
2598 boolean&nbsp;preserveLastModified)
2599 throws java.io.IOException</PRE>
2600<DL>
2601<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
2602<P>
2603<DD>Convenience method to copy a file from a source to a
2604 destination specifying if token filtering should be used, if
2605 source files may overwrite newer destination files, and if the
2606 last modified time of the resulting file should be set to
2607 that of the source file.
2608<P>
2609<DD><DL>
2610<DT><B>Parameters:</B><DD><CODE>sourceFile</CODE> - Name of file to copy from.
2611 Must not be <code>null</code>.<DD><CODE>destFile</CODE> - Name of file to copy to.
2612 Must not be <code>null</code>.<DD><CODE>filtering</CODE> - Whether or not token filtering should be used during
2613 the copy.<DD><CODE>overwrite</CODE> - Whether or not the destination file should be
2614 overwritten if it already exists.<DD><CODE>preserveLastModified</CODE> - Whether or not the last modified time of
2615 the resulting file should be set to that
2616 of the source file.
2617<DT><B>Throws:</B>
2618<DD><CODE>java.io.IOException</CODE> - if the copying fails.</DL>
2619</DD>
2620</DL>
2621<HR>
2622
2623<A NAME="copyFile(java.io.File, java.io.File)"><!-- --></A><H3>
2624copyFile</H3>
2625<PRE>
2626public void <B>copyFile</B>(java.io.File&nbsp;sourceFile,
2627 java.io.File&nbsp;destFile)
2628 throws java.io.IOException</PRE>
2629<DL>
2630<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
2631<P>
2632<DD>Convenience method to copy a file from a source to a destination.
2633 No filtering is performed.
2634<P>
2635<DD><DL>
2636<DT><B>Parameters:</B><DD><CODE>sourceFile</CODE> - File to copy from.
2637 Must not be <code>null</code>.<DD><CODE>destFile</CODE> - File to copy to.
2638 Must not be <code>null</code>.
2639<DT><B>Throws:</B>
2640<DD><CODE>java.io.IOException</CODE> - if the copying fails.</DL>
2641</DD>
2642</DL>
2643<HR>
2644
2645<A NAME="copyFile(java.io.File, java.io.File, boolean)"><!-- --></A><H3>
2646copyFile</H3>
2647<PRE>
2648public void <B>copyFile</B>(java.io.File&nbsp;sourceFile,
2649 java.io.File&nbsp;destFile,
2650 boolean&nbsp;filtering)
2651 throws java.io.IOException</PRE>
2652<DL>
2653<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
2654<P>
2655<DD>Convenience method to copy a file from a source to a destination
2656 specifying if token filtering should be used.
2657<P>
2658<DD><DL>
2659<DT><B>Parameters:</B><DD><CODE>sourceFile</CODE> - File to copy from.
2660 Must not be <code>null</code>.<DD><CODE>destFile</CODE> - File to copy to.
2661 Must not be <code>null</code>.<DD><CODE>filtering</CODE> - Whether or not token filtering should be used during
2662 the copy.
2663<DT><B>Throws:</B>
2664<DD><CODE>java.io.IOException</CODE> - if the copying fails.</DL>
2665</DD>
2666</DL>
2667<HR>
2668
2669<A NAME="copyFile(java.io.File, java.io.File, boolean, boolean)"><!-- --></A><H3>
2670copyFile</H3>
2671<PRE>
2672public void <B>copyFile</B>(java.io.File&nbsp;sourceFile,
2673 java.io.File&nbsp;destFile,
2674 boolean&nbsp;filtering,
2675 boolean&nbsp;overwrite)
2676 throws java.io.IOException</PRE>
2677<DL>
2678<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
2679<P>
2680<DD>Convenience method to copy a file from a source to a
2681 destination specifying if token filtering should be used and if
2682 source files may overwrite newer destination files.
2683<P>
2684<DD><DL>
2685<DT><B>Parameters:</B><DD><CODE>sourceFile</CODE> - File to copy from.
2686 Must not be <code>null</code>.<DD><CODE>destFile</CODE> - File to copy to.
2687 Must not be <code>null</code>.<DD><CODE>filtering</CODE> - Whether or not token filtering should be used during
2688 the copy.<DD><CODE>overwrite</CODE> - Whether or not the destination file should be
2689 overwritten if it already exists.
2690<DT><B>Throws:</B>
2691<DD><CODE>java.io.IOException</CODE> - if the file cannot be copied.</DL>
2692</DD>
2693</DL>
2694<HR>
2695
2696<A NAME="copyFile(java.io.File, java.io.File, boolean, boolean, boolean)"><!-- --></A><H3>
2697copyFile</H3>
2698<PRE>
2699public void <B>copyFile</B>(java.io.File&nbsp;sourceFile,
2700 java.io.File&nbsp;destFile,
2701 boolean&nbsp;filtering,
2702 boolean&nbsp;overwrite,
2703 boolean&nbsp;preserveLastModified)
2704 throws java.io.IOException</PRE>
2705<DL>
2706<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
2707<P>
2708<DD>Convenience method to copy a file from a source to a
2709 destination specifying if token filtering should be used, if
2710 source files may overwrite newer destination files, and if the
2711 last modified time of the resulting file should be set to
2712 that of the source file.
2713<P>
2714<DD><DL>
2715<DT><B>Parameters:</B><DD><CODE>sourceFile</CODE> - File to copy from.
2716 Must not be <code>null</code>.<DD><CODE>destFile</CODE> - File to copy to.
2717 Must not be <code>null</code>.<DD><CODE>filtering</CODE> - Whether or not token filtering should be used during
2718 the copy.<DD><CODE>overwrite</CODE> - Whether or not the destination file should be
2719 overwritten if it already exists.<DD><CODE>preserveLastModified</CODE> - Whether or not the last modified time of
2720 the resulting file should be set to that
2721 of the source file.
2722<DT><B>Throws:</B>
2723<DD><CODE>java.io.IOException</CODE> - if the file cannot be copied.</DL>
2724</DD>
2725</DL>
2726<HR>
2727
2728<A NAME="setFileLastModified(java.io.File, long)"><!-- --></A><H3>
2729setFileLastModified</H3>
2730<PRE>
2731public void <B>setFileLastModified</B>(java.io.File&nbsp;file,
2732 long&nbsp;time)
2733 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2734<DL>
2735<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
2736<P>
2737<DD>Call File.setLastModified(long time) on Java above 1.1, and logs
2738 a warning on Java 1.1.
2739<P>
2740<DD><DL>
2741<DT><B>Parameters:</B><DD><CODE>file</CODE> - The file to set the last modified time on.
2742 Must not be <code>null</code>.<DD><CODE>time</CODE> - the required modification time.
2743<DT><B>Throws:</B>
2744<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the last modified time cannot be set
2745 despite running on a platform with a version
2746 above 1.1.</DL>
2747</DD>
2748</DL>
2749<HR>
2750
2751<A NAME="toBoolean(java.lang.String)"><!-- --></A><H3>
2752toBoolean</H3>
2753<PRE>
2754public static boolean <B>toBoolean</B>(java.lang.String&nbsp;s)</PRE>
2755<DL>
2756<DD>Return the boolean equivalent of a string, which is considered
2757 <code>true</code> if either <code>"on"</code>, <code>"true"</code>,
2758 or <code>"yes"</code> is found, ignoring case.
2759<P>
2760<DD><DL>
2761<DT><B>Parameters:</B><DD><CODE>s</CODE> - The string to convert to a boolean value.
2762<DT><B>Returns:</B><DD><code>true</code> if the given string is <code>"on"</code>,
2763 <code>"true"</code> or <code>"yes"</code>, or
2764 <code>false</code> otherwise.</DL>
2765</DD>
2766</DL>
2767<HR>
2768
2769<A NAME="topoSort(java.lang.String, java.util.Hashtable)"><!-- --></A><H3>
2770topoSort</H3>
2771<PRE>
2772public final java.util.Vector <B>topoSort</B>(java.lang.String&nbsp;root,
2773 java.util.Hashtable&nbsp;targets)
2774 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2775<DL>
2776<DD>Topologically sort a set of targets. Equivalent to calling
2777 <code>topoSort(new String[] {root}, targets, true)</code>.
2778<P>
2779<DD><DL>
2780<DT><B>Parameters:</B><DD><CODE>root</CODE> - The name of the root target. The sort is created in such
2781 a way that the sequence of Targets up to the root
2782 target is the minimum possible such sequence.
2783 Must not be <code>null</code>.<DD><CODE>targets</CODE> - A Hashtable mapping names to Targets.
2784 Must not be <code>null</code>.
2785<DT><B>Returns:</B><DD>a Vector of ALL Target objects in sorted order.
2786<DT><B>Throws:</B>
2787<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if there is a cyclic dependency among the
2788 targets, or if a named target does not exist.</DL>
2789</DD>
2790</DL>
2791<HR>
2792
2793<A NAME="topoSort(java.lang.String, java.util.Hashtable, boolean)"><!-- --></A><H3>
2794topoSort</H3>
2795<PRE>
2796public final java.util.Vector <B>topoSort</B>(java.lang.String&nbsp;root,
2797 java.util.Hashtable&nbsp;targets,
2798 boolean&nbsp;returnAll)
2799 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2800<DL>
2801<DD>Topologically sort a set of targets. Equivalent to calling
2802 <code>topoSort(new String[] {root}, targets, returnAll)</code>.
2803<P>
2804<DD><DL>
2805<DT><B>Parameters:</B><DD><CODE>root</CODE> - The name of the root target. The sort is created in such
2806 a way that the sequence of Targets up to the root
2807 target is the minimum possible such sequence.
2808 Must not be <code>null</code>.<DD><CODE>targets</CODE> - A Hashtable mapping names to Targets.
2809 Must not be <code>null</code>.<DD><CODE>returnAll</CODE> - <code>boolean</code> indicating whether to return all
2810 targets, or the execution sequence only.
2811<DT><B>Returns:</B><DD>a Vector of Target objects in sorted order.
2812<DT><B>Throws:</B>
2813<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if there is a cyclic dependency among the
2814 targets, or if a named target does not exist.<DT><B>Since:</B></DT>
2815 <DD>Ant 1.6.3</DD>
2816</DL>
2817</DD>
2818</DL>
2819<HR>
2820
2821<A NAME="topoSort(java.lang.String[], java.util.Hashtable, boolean)"><!-- --></A><H3>
2822topoSort</H3>
2823<PRE>
2824public final java.util.Vector <B>topoSort</B>(java.lang.String[]&nbsp;root,
2825 java.util.Hashtable&nbsp;targets,
2826 boolean&nbsp;returnAll)
2827 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
2828<DL>
2829<DD>Topologically sort a set of targets.
2830<P>
2831<DD><DL>
2832<DT><B>Parameters:</B><DD><CODE>root</CODE> - <code>String[]</code> containing the names of the root targets.
2833 The sort is created in such a way that the ordered sequence of
2834 Targets is the minimum possible such sequence to the specified
2835 root targets.
2836 Must not be <code>null</code>.<DD><CODE>targets</CODE> - A map of names to targets (String to Target).
2837 Must not be <code>null</code>.<DD><CODE>returnAll</CODE> - <code>boolean</code> indicating whether to return all
2838 targets, or the execution sequence only.
2839<DT><B>Returns:</B><DD>a Vector of Target objects in sorted order.
2840<DT><B>Throws:</B>
2841<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if there is a cyclic dependency among the
2842 targets, or if a named target does not exist.<DT><B>Since:</B></DT>
2843 <DD>Ant 1.6.3</DD>
2844</DL>
2845</DD>
2846</DL>
2847<HR>
2848
2849<A NAME="addReference(java.lang.String, java.lang.Object)"><!-- --></A><H3>
2850addReference</H3>
2851<PRE>
2852public void <B>addReference</B>(java.lang.String&nbsp;name,
2853 java.lang.Object&nbsp;value)</PRE>
2854<DL>
2855<DD>Add a reference to the project.
2856<P>
2857<DD><DL>
2858<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the reference. Must not be <code>null</code>.<DD><CODE>value</CODE> - The value of the reference. Must not be <code>null</code>.</DL>
2859</DD>
2860</DL>
2861<HR>
2862
2863<A NAME="getReferences()"><!-- --></A><H3>
2864getReferences</H3>
2865<PRE>
2866public java.util.Hashtable <B>getReferences</B>()</PRE>
2867<DL>
2868<DD>Return a map of the references in the project (String to Object).
2869 The returned hashtable is &quot;live&quot; and so must not be modified.
2870<P>
2871<DD><DL>
2872
2873<DT><B>Returns:</B><DD>a map of the references in the project (String to Object).</DL>
2874</DD>
2875</DL>
2876<HR>
2877
2878<A NAME="getReference(java.lang.String)"><!-- --></A><H3>
2879getReference</H3>
2880<PRE>
2881public java.lang.Object <B>getReference</B>(java.lang.String&nbsp;key)</PRE>
2882<DL>
2883<DD>Look up a reference by its key (ID).
2884<P>
2885<DD><DL>
2886<DT><B>Parameters:</B><DD><CODE>key</CODE> - The key for the desired reference.
2887 Must not be <code>null</code>.
2888<DT><B>Returns:</B><DD>the reference with the specified ID, or <code>null</code> if
2889 there is no such reference in the project.</DL>
2890</DD>
2891</DL>
2892<HR>
2893
2894<A NAME="getElementName(java.lang.Object)"><!-- --></A><H3>
2895getElementName</H3>
2896<PRE>
2897public java.lang.String <B>getElementName</B>(java.lang.Object&nbsp;element)</PRE>
2898<DL>
2899<DD>Return a description of the type of the given element, with
2900 special handling for instances of tasks and data types.
2901 <p>
2902 This is useful for logging purposes.
2903<P>
2904<DD><DL>
2905<DT><B>Parameters:</B><DD><CODE>element</CODE> - The element to describe.
2906 Must not be <code>null</code>.
2907<DT><B>Returns:</B><DD>a description of the element type.<DT><B>Since:</B></DT>
2908 <DD>1.95, Ant 1.5</DD>
2909</DL>
2910</DD>
2911</DL>
2912<HR>
2913
2914<A NAME="fireBuildStarted()"><!-- --></A><H3>
2915fireBuildStarted</H3>
2916<PRE>
2917public void <B>fireBuildStarted</B>()</PRE>
2918<DL>
2919<DD>Send a &quot;build started&quot; event
2920 to the build listeners for this project.
2921<P>
2922<DD><DL>
2923</DL>
2924</DD>
2925</DL>
2926<HR>
2927
2928<A NAME="fireBuildFinished(java.lang.Throwable)"><!-- --></A><H3>
2929fireBuildFinished</H3>
2930<PRE>
2931public void <B>fireBuildFinished</B>(java.lang.Throwable&nbsp;exception)</PRE>
2932<DL>
2933<DD>Send a &quot;build finished&quot; event to the build listeners
2934 for this project.
2935<P>
2936<DD><DL>
2937<DT><B>Parameters:</B><DD><CODE>exception</CODE> - an exception indicating a reason for a build
2938 failure. May be <code>null</code>, indicating
2939 a successful build.</DL>
2940</DD>
2941</DL>
2942<HR>
2943
2944<A NAME="fireSubBuildStarted()"><!-- --></A><H3>
2945fireSubBuildStarted</H3>
2946<PRE>
2947public void <B>fireSubBuildStarted</B>()</PRE>
2948<DL>
2949<DD>Send a &quot;subbuild started&quot; event to the build listeners for
2950 this project.
2951<P>
2952<DD><DL>
2953<DT><B>Since:</B></DT>
2954 <DD>Ant 1.6.2</DD>
2955</DL>
2956</DD>
2957</DL>
2958<HR>
2959
2960<A NAME="fireSubBuildFinished(java.lang.Throwable)"><!-- --></A><H3>
2961fireSubBuildFinished</H3>
2962<PRE>
2963public void <B>fireSubBuildFinished</B>(java.lang.Throwable&nbsp;exception)</PRE>
2964<DL>
2965<DD>Send a &quot;subbuild finished&quot; event to the build listeners for
2966 this project.
2967<P>
2968<DD><DL>
2969<DT><B>Parameters:</B><DD><CODE>exception</CODE> - an exception indicating a reason for a build
2970 failure. May be <code>null</code>, indicating
2971 a successful build.<DT><B>Since:</B></DT>
2972 <DD>Ant 1.6.2</DD>
2973</DL>
2974</DD>
2975</DL>
2976<HR>
2977
2978<A NAME="fireTargetStarted(org.apache.tools.ant.Target)"><!-- --></A><H3>
2979fireTargetStarted</H3>
2980<PRE>
2981protected void <B>fireTargetStarted</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target)</PRE>
2982<DL>
2983<DD>Send a &quot;target started&quot; event to the build listeners
2984 for this project.
2985<P>
2986<DD><DL>
2987<DT><B>Parameters:</B><DD><CODE>target</CODE> - The target which is starting to build.
2988 Must not be <code>null</code>.</DL>
2989</DD>
2990</DL>
2991<HR>
2992
2993<A NAME="fireTargetFinished(org.apache.tools.ant.Target, java.lang.Throwable)"><!-- --></A><H3>
2994fireTargetFinished</H3>
2995<PRE>
2996protected void <B>fireTargetFinished</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target,
2997 java.lang.Throwable&nbsp;exception)</PRE>
2998<DL>
2999<DD>Send a &quot;target finished&quot; event to the build listeners
3000 for this project.
3001<P>
3002<DD><DL>
3003<DT><B>Parameters:</B><DD><CODE>target</CODE> - The target which has finished building.
3004 Must not be <code>null</code>.<DD><CODE>exception</CODE> - an exception indicating a reason for a build
3005 failure. May be <code>null</code>, indicating
3006 a successful build.</DL>
3007</DD>
3008</DL>
3009<HR>
3010
3011<A NAME="fireTaskStarted(org.apache.tools.ant.Task)"><!-- --></A><H3>
3012fireTaskStarted</H3>
3013<PRE>
3014protected void <B>fireTaskStarted</B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;task)</PRE>
3015<DL>
3016<DD>Send a &quot;task started&quot; event to the build listeners
3017 for this project.
3018<P>
3019<DD><DL>
3020<DT><B>Parameters:</B><DD><CODE>task</CODE> - The target which is starting to execute.
3021 Must not be <code>null</code>.</DL>
3022</DD>
3023</DL>
3024<HR>
3025
3026<A NAME="fireTaskFinished(org.apache.tools.ant.Task, java.lang.Throwable)"><!-- --></A><H3>
3027fireTaskFinished</H3>
3028<PRE>
3029protected void <B>fireTaskFinished</B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;task,
3030 java.lang.Throwable&nbsp;exception)</PRE>
3031<DL>
3032<DD>Send a &quot;task finished&quot; event to the build listeners for this
3033 project.
3034<P>
3035<DD><DL>
3036<DT><B>Parameters:</B><DD><CODE>task</CODE> - The task which has finished executing.
3037 Must not be <code>null</code>.<DD><CODE>exception</CODE> - an exception indicating a reason for a build
3038 failure. May be <code>null</code>, indicating
3039 a successful build.</DL>
3040</DD>
3041</DL>
3042<HR>
3043
3044<A NAME="fireMessageLogged(org.apache.tools.ant.Project, java.lang.String, int)"><!-- --></A><H3>
3045fireMessageLogged</H3>
3046<PRE>
3047protected void <B>fireMessageLogged</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
3048 java.lang.String&nbsp;message,
3049 int&nbsp;priority)</PRE>
3050<DL>
3051<DD>Send a &quot;message logged&quot; project level event
3052 to the build listeners for this project.
3053<P>
3054<DD><DL>
3055<DT><B>Parameters:</B><DD><CODE>project</CODE> - The project generating the event.
3056 Should not be <code>null</code>.<DD><CODE>message</CODE> - The message to send. Should not be <code>null</code>.<DD><CODE>priority</CODE> - The priority of the message.</DL>
3057</DD>
3058</DL>
3059<HR>
3060
3061<A NAME="fireMessageLogged(org.apache.tools.ant.Target, java.lang.String, int)"><!-- --></A><H3>
3062fireMessageLogged</H3>
3063<PRE>
3064protected void <B>fireMessageLogged</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A>&nbsp;target,
3065 java.lang.String&nbsp;message,
3066 int&nbsp;priority)</PRE>
3067<DL>
3068<DD>Send a &quot;message logged&quot; target level event
3069 to the build listeners for this project.
3070<P>
3071<DD><DL>
3072<DT><B>Parameters:</B><DD><CODE>target</CODE> - The target generating the event.
3073 Must not be <code>null</code>.<DD><CODE>message</CODE> - The message to send. Should not be <code>null</code>.<DD><CODE>priority</CODE> - The priority of the message.</DL>
3074</DD>
3075</DL>
3076<HR>
3077
3078<A NAME="fireMessageLogged(org.apache.tools.ant.Task, java.lang.String, int)"><!-- --></A><H3>
3079fireMessageLogged</H3>
3080<PRE>
3081protected void <B>fireMessageLogged</B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;task,
3082 java.lang.String&nbsp;message,
3083 int&nbsp;priority)</PRE>
3084<DL>
3085<DD>Send a &quot;message logged&quot; task level event
3086 to the build listeners for this project.
3087<P>
3088<DD><DL>
3089<DT><B>Parameters:</B><DD><CODE>task</CODE> - The task generating the event.
3090 Must not be <code>null</code>.<DD><CODE>message</CODE> - The message to send. Should not be <code>null</code>.<DD><CODE>priority</CODE> - The priority of the message.</DL>
3091</DD>
3092</DL>
3093<HR>
3094
3095<A NAME="registerThreadTask(java.lang.Thread, org.apache.tools.ant.Task)"><!-- --></A><H3>
3096registerThreadTask</H3>
3097<PRE>
3098public void <B>registerThreadTask</B>(java.lang.Thread&nbsp;thread,
3099 <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;task)</PRE>
3100<DL>
3101<DD>Register a task as the current task for a thread.
3102 If the task is null, the thread's entry is removed.
3103<P>
3104<DD><DL>
3105<DT><B>Parameters:</B><DD><CODE>thread</CODE> - the thread on which the task is registered.<DD><CODE>task</CODE> - the task to be registered.<DT><B>Since:</B></DT>
3106 <DD>Ant 1.5</DD>
3107</DL>
3108</DD>
3109</DL>
3110<HR>
3111
3112<A NAME="getThreadTask(java.lang.Thread)"><!-- --></A><H3>
3113getThreadTask</H3>
3114<PRE>
3115public <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> <B>getThreadTask</B>(java.lang.Thread&nbsp;thread)</PRE>
3116<DL>
3117<DD>Get the current task associated with a thread, if any.
3118<P>
3119<DD><DL>
3120<DT><B>Parameters:</B><DD><CODE>thread</CODE> - the thread for which the task is required.
3121<DT><B>Returns:</B><DD>the task which is currently registered for the given thread or
3122 null if no task is registered.</DL>
3123</DD>
3124</DL>
3125<HR>
3126
3127<A NAME="setProjectReference(java.lang.Object)"><!-- --></A><H3>
3128setProjectReference</H3>
3129<PRE>
3130public final void <B>setProjectReference</B>(java.lang.Object&nbsp;obj)</PRE>
3131<DL>
3132<DD>Set a reference to this Project on the parameterized object.
3133 Need to set the project before other set/add elements
3134 are called.
3135<P>
3136<DD><DL>
3137<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to invoke setProject(this) on.</DL>
3138</DD>
3139</DL>
3140<!-- ========= END OF CLASS DATA ========= -->
3141<HR>
3142
3143
3144<!-- ======= START OF BOTTOM NAVBAR ====== -->
3145<A NAME="navbar_bottom"><!-- --></A>
3146<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
3147<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
3148<TR>
3149<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
3150<A NAME="navbar_bottom_firstrow"><!-- --></A>
3151<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
3152 <TR ALIGN="center" VALIGN="top">
3153 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
3154 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
3155 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
3156 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
3157 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
3158 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
3159 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
3160 </TR>
3161</TABLE>
3162</TD>
3163<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
3164</EM>
3165</TD>
3166</TR>
3167
3168<TR>
3169<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
3170&nbsp;<A HREF="../../../../org/apache/tools/ant/PathTokenizer.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>&nbsp;
3171&nbsp;<A HREF="../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant"><B>NEXT CLASS</B></A></FONT></TD>
3172<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
3173 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
3174&nbsp;<A HREF="Project.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
3175&nbsp;<SCRIPT type="text/javascript">
3176 <!--
3177 if(window==top) {
3178 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
3179 }
3180 //-->
3181</SCRIPT>
3182<NOSCRIPT>
3183 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
3184</NOSCRIPT>
3185
3186</FONT></TD>
3187</TR>
3188<TR>
3189<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
3190 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
3191<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
3192DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
3193</TR>
3194</TABLE>
3195<A NAME="skip-navbar_bottom"></A>
3196<!-- ======== END OF BOTTOM NAVBAR ======= -->
3197
3198<HR>
3199Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
3200</BODY>
3201</HTML>
Note: See TracBrowser for help on using the repository browser.