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>
|
---|
7 | Project (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">
|
---|
15 | function 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> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | <A HREF="../../../../org/apache/tools/ant/PathTokenizer.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>
|
---|
53 | <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>
|
---|
56 | <A HREF="Project.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant</FONT>
|
---|
85 | <BR>
|
---|
86 | Class Project</H2>
|
---|
87 | <PRE>
|
---|
88 | java.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>
|
---|
96 | Central 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 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 | <B>Deprecated.</B> <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 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 | <B>Deprecated.</B> <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 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 | <B>Deprecated.</B> <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 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 | <B>Deprecated.</B> <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 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 | <B>Deprecated.</B> <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 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 | Message priority of "debug".</TD>
|
---|
168 | </TR>
|
---|
169 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
170 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
171 | <CODE>static 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 | Message priority of "error".</TD>
|
---|
176 | </TR>
|
---|
177 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
178 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
179 | <CODE>static 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 | Message priority of "information".</TD>
|
---|
184 | </TR>
|
---|
185 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
186 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
187 | <CODE>static 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 | Message priority of "verbose".</TD>
|
---|
192 | </TR>
|
---|
193 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
194 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
195 | <CODE>static 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 | Message priority of "warning".</TD>
|
---|
200 | </TR>
|
---|
201 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
202 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
203 | <CODE>static 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 | 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 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 | Default filter start token.</TD>
|
---|
216 | </TR>
|
---|
217 | </TABLE>
|
---|
218 |
|
---|
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 | Create a new Ant project.</TD>
|
---|
232 | </TR>
|
---|
233 | </TABLE>
|
---|
234 |
|
---|
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> 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> listener)</CODE>
|
---|
247 |
|
---|
248 | <BR>
|
---|
249 | 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> 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 typeName,
|
---|
255 | java.lang.Class typeClass)</CODE>
|
---|
256 |
|
---|
257 | <BR>
|
---|
258 | 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> 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 token,
|
---|
264 | java.lang.String value)</CODE>
|
---|
265 |
|
---|
266 | <BR>
|
---|
267 | <B>Deprecated.</B> <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> 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 targetName,
|
---|
273 | <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> target)</CODE>
|
---|
274 |
|
---|
275 | <BR>
|
---|
276 | 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> 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> target)</CODE>
|
---|
283 |
|
---|
284 | <BR>
|
---|
285 | 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> 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 name,
|
---|
292 | java.lang.Object value)</CODE>
|
---|
293 |
|
---|
294 | <BR>
|
---|
295 | 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> 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 targetName,
|
---|
301 | <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> target)</CODE>
|
---|
302 |
|
---|
303 | <BR>
|
---|
304 | 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> 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> target)</CODE>
|
---|
310 |
|
---|
311 | <BR>
|
---|
312 | 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> 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 taskName,
|
---|
318 | java.lang.Class taskClass)</CODE>
|
---|
319 |
|
---|
320 | <BR>
|
---|
321 | 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> 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 taskClass)</CODE>
|
---|
327 |
|
---|
328 | <BR>
|
---|
329 | 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> 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 sourceFile,
|
---|
335 | java.io.File destFile)</CODE>
|
---|
336 |
|
---|
337 | <BR>
|
---|
338 | <B>Deprecated.</B> <I></I> </TD>
|
---|
339 | </TR>
|
---|
340 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
341 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
342 | <CODE> 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 sourceFile,
|
---|
344 | java.io.File destFile,
|
---|
345 | boolean filtering)</CODE>
|
---|
346 |
|
---|
347 | <BR>
|
---|
348 | <B>Deprecated.</B> <I></I> </TD>
|
---|
349 | </TR>
|
---|
350 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
351 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
352 | <CODE> 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 sourceFile,
|
---|
354 | java.io.File destFile,
|
---|
355 | boolean filtering,
|
---|
356 | boolean overwrite)</CODE>
|
---|
357 |
|
---|
358 | <BR>
|
---|
359 | <B>Deprecated.</B> <I></I> </TD>
|
---|
360 | </TR>
|
---|
361 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
362 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
363 | <CODE> 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 sourceFile,
|
---|
365 | java.io.File destFile,
|
---|
366 | boolean filtering,
|
---|
367 | boolean overwrite,
|
---|
368 | boolean preserveLastModified)</CODE>
|
---|
369 |
|
---|
370 | <BR>
|
---|
371 | <B>Deprecated.</B> <I></I> </TD>
|
---|
372 | </TR>
|
---|
373 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
374 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
375 | <CODE> 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 sourceFile,
|
---|
377 | java.lang.String destFile)</CODE>
|
---|
378 |
|
---|
379 | <BR>
|
---|
380 | <B>Deprecated.</B> <I></I> </TD>
|
---|
381 | </TR>
|
---|
382 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
383 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
384 | <CODE> 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 sourceFile,
|
---|
386 | java.lang.String destFile,
|
---|
387 | boolean filtering)</CODE>
|
---|
388 |
|
---|
389 | <BR>
|
---|
390 | <B>Deprecated.</B> <I></I> </TD>
|
---|
391 | </TR>
|
---|
392 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
393 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
394 | <CODE> 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 sourceFile,
|
---|
396 | java.lang.String destFile,
|
---|
397 | boolean filtering,
|
---|
398 | boolean overwrite)</CODE>
|
---|
399 |
|
---|
400 | <BR>
|
---|
401 | <B>Deprecated.</B> <I></I> </TD>
|
---|
402 | </TR>
|
---|
403 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
404 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
405 | <CODE> 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 sourceFile,
|
---|
407 | java.lang.String destFile,
|
---|
408 | boolean filtering,
|
---|
409 | boolean overwrite,
|
---|
410 | boolean preserveLastModified)</CODE>
|
---|
411 |
|
---|
412 | <BR>
|
---|
413 | <B>Deprecated.</B> <I></I> </TD>
|
---|
414 | </TR>
|
---|
415 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
416 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
417 | <CODE> 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> other)</CODE>
|
---|
419 |
|
---|
420 | <BR>
|
---|
421 | 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> 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> other)</CODE>
|
---|
429 |
|
---|
430 | <BR>
|
---|
431 | 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> <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> path)</CODE>
|
---|
439 |
|
---|
440 | <BR>
|
---|
441 | 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> 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 typeName)</CODE>
|
---|
448 |
|
---|
449 | <BR>
|
---|
450 | 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> <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 taskType)</CODE>
|
---|
456 |
|
---|
457 | <BR>
|
---|
458 | 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> int</CODE></FONT></TD>
|
---|
464 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#defaultInput(byte[], int, int)">defaultInput</A></B>(byte[] buffer,
|
---|
465 | int offset,
|
---|
466 | int length)</CODE>
|
---|
467 |
|
---|
468 | <BR>
|
---|
469 | 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> 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 output,
|
---|
475 | boolean isError)</CODE>
|
---|
476 |
|
---|
477 | <BR>
|
---|
478 | 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> int</CODE></FONT></TD>
|
---|
484 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#demuxInput(byte[], int, int)">demuxInput</A></B>(byte[] buffer,
|
---|
485 | int offset,
|
---|
486 | int length)</CODE>
|
---|
487 |
|
---|
488 | <BR>
|
---|
489 | 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> 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 output,
|
---|
495 | boolean isWarning)</CODE>
|
---|
496 |
|
---|
497 | <BR>
|
---|
498 | 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> 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 sortedTargets)</CODE>
|
---|
505 |
|
---|
506 | <BR>
|
---|
507 | 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> 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 targetName)</CODE>
|
---|
513 |
|
---|
514 | <BR>
|
---|
515 | 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> 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 names)</CODE>
|
---|
521 |
|
---|
522 | <BR>
|
---|
523 | 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> 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 exception)</CODE>
|
---|
530 |
|
---|
531 | <BR>
|
---|
532 | Send a "build finished" 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> 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 | Send a "build started" 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 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> project,
|
---|
548 | java.lang.String message,
|
---|
549 | int priority)</CODE>
|
---|
550 |
|
---|
551 | <BR>
|
---|
552 | Send a "message logged" 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 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> target,
|
---|
559 | java.lang.String message,
|
---|
560 | int priority)</CODE>
|
---|
561 |
|
---|
562 | <BR>
|
---|
563 | Send a "message logged" 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 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> task,
|
---|
570 | java.lang.String message,
|
---|
571 | int priority)</CODE>
|
---|
572 |
|
---|
573 | <BR>
|
---|
574 | Send a "message logged" 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> 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 exception)</CODE>
|
---|
581 |
|
---|
582 | <BR>
|
---|
583 | Send a "subbuild finished" 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> 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 | Send a "subbuild started" 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 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> target,
|
---|
599 | java.lang.Throwable exception)</CODE>
|
---|
600 |
|
---|
601 | <BR>
|
---|
602 | Send a "target finished" 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 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> target)</CODE>
|
---|
609 |
|
---|
610 | <BR>
|
---|
611 | Send a "target started" 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 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> task,
|
---|
618 | java.lang.Throwable exception)</CODE>
|
---|
619 |
|
---|
620 | <BR>
|
---|
621 | Send a "task finished" 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 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> task)</CODE>
|
---|
628 |
|
---|
629 | <BR>
|
---|
630 | Send a "task started" 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> 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 | 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> 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 | 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> 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 | 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> 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 | 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> 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 | 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> 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 | 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> 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 | 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> 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 element)</CODE>
|
---|
693 |
|
---|
694 | <BR>
|
---|
695 | 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> <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 | 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> 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 | <B>Deprecated.</B> <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> <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 | 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> <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 | 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 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 | <B>Deprecated.</B> <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> 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 | 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> 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 | 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> 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 name)</CODE>
|
---|
758 |
|
---|
759 | <BR>
|
---|
760 | 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> 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 key)</CODE>
|
---|
766 |
|
---|
767 | <BR>
|
---|
768 | 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> 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 | 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> 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 | 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> 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 | 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> <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 thread)</CODE>
|
---|
798 |
|
---|
799 | <BR>
|
---|
800 | 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> 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 | 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> 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 name)</CODE>
|
---|
814 |
|
---|
815 | <BR>
|
---|
816 | 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> 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 | 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> 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> subProject)</CODE>
|
---|
830 |
|
---|
831 | <BR>
|
---|
832 | 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> 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 | 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> 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 message)</CODE>
|
---|
846 |
|
---|
847 | <BR>
|
---|
848 | 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> 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 message,
|
---|
855 | int msgLevel)</CODE>
|
---|
856 |
|
---|
857 | <BR>
|
---|
858 | 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> 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> target,
|
---|
864 | java.lang.String message,
|
---|
865 | int msgLevel)</CODE>
|
---|
866 |
|
---|
867 | <BR>
|
---|
868 | 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> 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> task,
|
---|
874 | java.lang.String message,
|
---|
875 | int msgLevel)</CODE>
|
---|
876 |
|
---|
877 | <BR>
|
---|
878 | 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> 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 thread,
|
---|
884 | <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> task)</CODE>
|
---|
885 |
|
---|
886 | <BR>
|
---|
887 | 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> 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> listener)</CODE>
|
---|
893 |
|
---|
894 | <BR>
|
---|
895 | 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> 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 value)</CODE>
|
---|
901 |
|
---|
902 | <BR>
|
---|
903 | 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> 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 fileName)</CODE>
|
---|
910 |
|
---|
911 | <BR>
|
---|
912 | 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> 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 fileName,
|
---|
918 | java.io.File rootDir)</CODE>
|
---|
919 |
|
---|
920 | <BR>
|
---|
921 | <B>Deprecated.</B> <I></I> </TD>
|
---|
922 | </TR>
|
---|
923 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
924 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
925 | <CODE> 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 baseDir)</CODE>
|
---|
927 |
|
---|
928 | <BR>
|
---|
929 | 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> 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 baseD)</CODE>
|
---|
936 |
|
---|
937 | <BR>
|
---|
938 | 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> 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 coreLoader)</CODE>
|
---|
945 |
|
---|
946 | <BR>
|
---|
947 | 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> 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 defaultTarget)</CODE>
|
---|
953 |
|
---|
954 | <BR>
|
---|
955 | 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> 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 defaultInputStream)</CODE>
|
---|
961 |
|
---|
962 | <BR>
|
---|
963 | 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> 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 defaultTarget)</CODE>
|
---|
969 |
|
---|
970 | <BR>
|
---|
971 | <B>Deprecated.</B> <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> 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 description)</CODE>
|
---|
977 |
|
---|
978 | <BR>
|
---|
979 | 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> 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> e)</CODE>
|
---|
985 |
|
---|
986 | <BR>
|
---|
987 | 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> 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 file,
|
---|
993 | long time)</CODE>
|
---|
994 |
|
---|
995 | <BR>
|
---|
996 | <B>Deprecated.</B> <I></I> </TD>
|
---|
997 | </TR>
|
---|
998 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
999 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
1000 | <CODE> 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 name,
|
---|
1002 | java.lang.String value)</CODE>
|
---|
1003 |
|
---|
1004 | <BR>
|
---|
1005 | 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> 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> handler)</CODE>
|
---|
1012 |
|
---|
1013 | <BR>
|
---|
1014 | 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> 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 | 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> void</CODE></FONT></TD>
|
---|
1028 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Project.html#setKeepGoingMode(boolean)">setKeepGoingMode</A></B>(boolean keepGoingMode)</CODE>
|
---|
1029 |
|
---|
1030 | <BR>
|
---|
1031 | Set "keep-going" mode.</TD>
|
---|
1032 | </TR>
|
---|
1033 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
1034 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
1035 | <CODE> 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 name)</CODE>
|
---|
1037 |
|
---|
1038 | <BR>
|
---|
1039 | 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> 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 name,
|
---|
1046 | java.lang.String value)</CODE>
|
---|
1047 |
|
---|
1048 | <BR>
|
---|
1049 | 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> 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 obj)</CODE>
|
---|
1055 |
|
---|
1056 | <BR>
|
---|
1057 | 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> 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 name,
|
---|
1063 | java.lang.String value)</CODE>
|
---|
1064 |
|
---|
1065 | <BR>
|
---|
1066 | 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> 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 | 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> 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 name,
|
---|
1081 | java.lang.String value)</CODE>
|
---|
1082 |
|
---|
1083 | <BR>
|
---|
1084 | 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 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 s)</CODE>
|
---|
1091 |
|
---|
1092 | <BR>
|
---|
1093 | 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> 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[] root,
|
---|
1101 | java.util.Hashtable targets,
|
---|
1102 | boolean returnAll)</CODE>
|
---|
1103 |
|
---|
1104 | <BR>
|
---|
1105 | 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> 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 root,
|
---|
1111 | java.util.Hashtable targets)</CODE>
|
---|
1112 |
|
---|
1113 | <BR>
|
---|
1114 | 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> 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 root,
|
---|
1120 | java.util.Hashtable targets,
|
---|
1121 | boolean returnAll)</CODE>
|
---|
1122 |
|
---|
1123 | <BR>
|
---|
1124 | 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 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 toProcess)</CODE>
|
---|
1130 |
|
---|
1131 | <BR>
|
---|
1132 | Translate a path into its native (platform specific) format.</TD>
|
---|
1133 | </TR>
|
---|
1134 | </TABLE>
|
---|
1135 | <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 |
|
---|
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>
|
---|
1158 | MSG_ERR</H3>
|
---|
1159 | <PRE>
|
---|
1160 | public static final int <B>MSG_ERR</B></PRE>
|
---|
1161 | <DL>
|
---|
1162 | <DD>Message priority of "error".
|
---|
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>
|
---|
1170 | MSG_WARN</H3>
|
---|
1171 | <PRE>
|
---|
1172 | public static final int <B>MSG_WARN</B></PRE>
|
---|
1173 | <DL>
|
---|
1174 | <DD>Message priority of "warning".
|
---|
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>
|
---|
1182 | MSG_INFO</H3>
|
---|
1183 | <PRE>
|
---|
1184 | public static final int <B>MSG_INFO</B></PRE>
|
---|
1185 | <DL>
|
---|
1186 | <DD>Message priority of "information".
|
---|
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>
|
---|
1194 | MSG_VERBOSE</H3>
|
---|
1195 | <PRE>
|
---|
1196 | public static final int <B>MSG_VERBOSE</B></PRE>
|
---|
1197 | <DL>
|
---|
1198 | <DD>Message priority of "verbose".
|
---|
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>
|
---|
1206 | MSG_DEBUG</H3>
|
---|
1207 | <PRE>
|
---|
1208 | public static final int <B>MSG_DEBUG</B></PRE>
|
---|
1209 | <DL>
|
---|
1210 | <DD>Message priority of "debug".
|
---|
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>
|
---|
1218 | JAVA_1_0</H3>
|
---|
1219 | <PRE>
|
---|
1220 | public static final java.lang.String <B>JAVA_1_0</B></PRE>
|
---|
1221 | <DL>
|
---|
1222 | <DD><B>Deprecated.</B> <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>
|
---|
1232 | JAVA_1_1</H3>
|
---|
1233 | <PRE>
|
---|
1234 | public static final java.lang.String <B>JAVA_1_1</B></PRE>
|
---|
1235 | <DL>
|
---|
1236 | <DD><B>Deprecated.</B> <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>
|
---|
1246 | JAVA_1_2</H3>
|
---|
1247 | <PRE>
|
---|
1248 | public static final java.lang.String <B>JAVA_1_2</B></PRE>
|
---|
1249 | <DL>
|
---|
1250 | <DD><B>Deprecated.</B> <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>
|
---|
1260 | JAVA_1_3</H3>
|
---|
1261 | <PRE>
|
---|
1262 | public static final java.lang.String <B>JAVA_1_3</B></PRE>
|
---|
1263 | <DL>
|
---|
1264 | <DD><B>Deprecated.</B> <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>
|
---|
1274 | JAVA_1_4</H3>
|
---|
1275 | <PRE>
|
---|
1276 | public static final java.lang.String <B>JAVA_1_4</B></PRE>
|
---|
1277 | <DL>
|
---|
1278 | <DD><B>Deprecated.</B> <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>
|
---|
1288 | TOKEN_START</H3>
|
---|
1289 | <PRE>
|
---|
1290 | public 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>
|
---|
1300 | TOKEN_END</H3>
|
---|
1301 | <PRE>
|
---|
1302 | public 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>
|
---|
1321 | Project</H3>
|
---|
1322 | <PRE>
|
---|
1323 | public <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>
|
---|
1340 | setInputHandler</H3>
|
---|
1341 | <PRE>
|
---|
1342 | public void <B>setInputHandler</B>(<A HREF="../../../../org/apache/tools/ant/input/InputHandler.html" title="interface in org.apache.tools.ant.input">InputHandler</A> 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>
|
---|
1353 | setDefaultInputStream</H3>
|
---|
1354 | <PRE>
|
---|
1355 | public void <B>setDefaultInputStream</B>(java.io.InputStream 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>
|
---|
1371 | getDefaultInputStream</H3>
|
---|
1372 | <PRE>
|
---|
1373 | public 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>
|
---|
1386 | getInputHandler</H3>
|
---|
1387 | <PRE>
|
---|
1388 | public <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>
|
---|
1401 | initSubProject</H3>
|
---|
1402 | <PRE>
|
---|
1403 | public void <B>initSubProject</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> 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>
|
---|
1414 | init</H3>
|
---|
1415 | <PRE>
|
---|
1416 | public 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>
|
---|
1433 | createClassLoader</H3>
|
---|
1434 | <PRE>
|
---|
1435 | public <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> 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>
|
---|
1448 | setCoreLoader</H3>
|
---|
1449 | <PRE>
|
---|
1450 | public void <B>setCoreLoader</B>(java.lang.ClassLoader 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>
|
---|
1463 | getCoreLoader</H3>
|
---|
1464 | <PRE>
|
---|
1465 | public 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>
|
---|
1479 | addBuildListener</H3>
|
---|
1480 | <PRE>
|
---|
1481 | public void <B>addBuildListener</B>(<A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A> 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>
|
---|
1494 | removeBuildListener</H3>
|
---|
1495 | <PRE>
|
---|
1496 | public void <B>removeBuildListener</B>(<A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A> 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>
|
---|
1509 | getBuildListeners</H3>
|
---|
1510 | <PRE>
|
---|
1511 | public 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>
|
---|
1523 | log</H3>
|
---|
1524 | <PRE>
|
---|
1525 | public void <B>log</B>(java.lang.String 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>
|
---|
1537 | log</H3>
|
---|
1538 | <PRE>
|
---|
1539 | public void <B>log</B>(java.lang.String message,
|
---|
1540 | int 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>
|
---|
1551 | log</H3>
|
---|
1552 | <PRE>
|
---|
1553 | public void <B>log</B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> task,
|
---|
1554 | java.lang.String message,
|
---|
1555 | int 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>
|
---|
1566 | log</H3>
|
---|
1567 | <PRE>
|
---|
1568 | public void <B>log</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> target,
|
---|
1569 | java.lang.String message,
|
---|
1570 | int 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>
|
---|
1582 | getGlobalFilterSet</H3>
|
---|
1583 | <PRE>
|
---|
1584 | public <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>
|
---|
1596 | setProperty</H3>
|
---|
1597 | <PRE>
|
---|
1598 | public void <B>setProperty</B>(java.lang.String name,
|
---|
1599 | java.lang.String 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>
|
---|
1613 | setNewProperty</H3>
|
---|
1614 | <PRE>
|
---|
1615 | public void <B>setNewProperty</B>(java.lang.String name,
|
---|
1616 | java.lang.String 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>
|
---|
1633 | setUserProperty</H3>
|
---|
1634 | <PRE>
|
---|
1635 | public void <B>setUserProperty</B>(java.lang.String name,
|
---|
1636 | java.lang.String 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>
|
---|
1650 | setInheritedProperty</H3>
|
---|
1651 | <PRE>
|
---|
1652 | public void <B>setInheritedProperty</B>(java.lang.String name,
|
---|
1653 | java.lang.String 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>
|
---|
1669 | getProperty</H3>
|
---|
1670 | <PRE>
|
---|
1671 | public java.lang.String <B>getProperty</B>(java.lang.String 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>
|
---|
1686 | replaceProperties</H3>
|
---|
1687 | <PRE>
|
---|
1688 | public java.lang.String <B>replaceProperties</B>(java.lang.String 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>
|
---|
1708 | getUserProperty</H3>
|
---|
1709 | <PRE>
|
---|
1710 | public java.lang.String <B>getUserProperty</B>(java.lang.String 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>
|
---|
1725 | getProperties</H3>
|
---|
1726 | <PRE>
|
---|
1727 | public 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>
|
---|
1740 | getUserProperties</H3>
|
---|
1741 | <PRE>
|
---|
1742 | public 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>
|
---|
1754 | copyUserProperties</H3>
|
---|
1755 | <PRE>
|
---|
1756 | public void <B>copyUserProperties</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> 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 "user" 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>
|
---|
1774 | copyInheritedProperties</H3>
|
---|
1775 | <PRE>
|
---|
1776 | public void <B>copyInheritedProperties</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> 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 "user" 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>
|
---|
1794 | setDefaultTarget</H3>
|
---|
1795 | <PRE>
|
---|
1796 | public void <B>setDefaultTarget</B>(java.lang.String defaultTarget)</PRE>
|
---|
1797 | <DL>
|
---|
1798 | <DD><B>Deprecated.</B> <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>
|
---|
1811 | getDefaultTarget</H3>
|
---|
1812 | <PRE>
|
---|
1813 | public 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>
|
---|
1826 | setDefault</H3>
|
---|
1827 | <PRE>
|
---|
1828 | public void <B>setDefault</B>(java.lang.String 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>
|
---|
1841 | setName</H3>
|
---|
1842 | <PRE>
|
---|
1843 | public void <B>setName</B>(java.lang.String 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>
|
---|
1856 | getName</H3>
|
---|
1857 | <PRE>
|
---|
1858 | public 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>
|
---|
1870 | setDescription</H3>
|
---|
1871 | <PRE>
|
---|
1872 | public void <B>setDescription</B>(java.lang.String 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>
|
---|
1884 | getDescription</H3>
|
---|
1885 | <PRE>
|
---|
1886 | public 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>
|
---|
1899 | addFilter</H3>
|
---|
1900 | <PRE>
|
---|
1901 | public void <B>addFilter</B>(java.lang.String token,
|
---|
1902 | java.lang.String value)</PRE>
|
---|
1903 | <DL>
|
---|
1904 | <DD><B>Deprecated.</B> <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>
|
---|
1918 | getFilters</H3>
|
---|
1919 | <PRE>
|
---|
1920 | public java.util.Hashtable <B>getFilters</B>()</PRE>
|
---|
1921 | <DL>
|
---|
1922 | <DD><B>Deprecated.</B> <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>
|
---|
1936 | setBasedir</H3>
|
---|
1937 | <PRE>
|
---|
1938 | public void <B>setBasedir</B>(java.lang.String 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>
|
---|
1954 | setBaseDir</H3>
|
---|
1955 | <PRE>
|
---|
1956 | public void <B>setBaseDir</B>(java.io.File 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>
|
---|
1973 | getBaseDir</H3>
|
---|
1974 | <PRE>
|
---|
1975 | public 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>
|
---|
1988 | setKeepGoingMode</H3>
|
---|
1989 | <PRE>
|
---|
1990 | public void <B>setKeepGoingMode</B>(boolean keepGoingMode)</PRE>
|
---|
1991 | <DL>
|
---|
1992 | <DD>Set "keep-going" 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> - "keep-going" 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>
|
---|
2007 | isKeepGoingMode</H3>
|
---|
2008 | <PRE>
|
---|
2009 | public 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>"keep-going" 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>
|
---|
2025 | getJavaVersion</H3>
|
---|
2026 | <PRE>
|
---|
2027 | public static java.lang.String <B>getJavaVersion</B>()</PRE>
|
---|
2028 | <DL>
|
---|
2029 | <DD><B>Deprecated.</B> <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>
|
---|
2041 | setJavaVersionProperty</H3>
|
---|
2042 | <PRE>
|
---|
2043 | public 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>
|
---|
2060 | setSystemProperties</H3>
|
---|
2061 | <PRE>
|
---|
2062 | public 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>
|
---|
2074 | addTaskDefinition</H3>
|
---|
2075 | <PRE>
|
---|
2076 | public void <B>addTaskDefinition</B>(java.lang.String taskName,
|
---|
2077 | java.lang.Class 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>
|
---|
2101 | checkTaskClass</H3>
|
---|
2102 | <PRE>
|
---|
2103 | public void <B>checkTaskClass</B>(java.lang.Class 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>
|
---|
2122 | getTaskDefinitions</H3>
|
---|
2123 | <PRE>
|
---|
2124 | public java.util.Hashtable <B>getTaskDefinitions</B>()</PRE>
|
---|
2125 | <DL>
|
---|
2126 | <DD>Return the current task definition hashtable. The returned hashtable is
|
---|
2127 | "live" 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>
|
---|
2138 | addDataTypeDefinition</H3>
|
---|
2139 | <PRE>
|
---|
2140 | public void <B>addDataTypeDefinition</B>(java.lang.String typeName,
|
---|
2141 | java.lang.Class 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>
|
---|
2159 | getDataTypeDefinitions</H3>
|
---|
2160 | <PRE>
|
---|
2161 | public java.util.Hashtable <B>getDataTypeDefinitions</B>()</PRE>
|
---|
2162 | <DL>
|
---|
2163 | <DD>Return the current datatype definition hashtable. The returned
|
---|
2164 | hashtable is "live" 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>
|
---|
2175 | addTarget</H3>
|
---|
2176 | <PRE>
|
---|
2177 | public void <B>addTarget</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> 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>
|
---|
2192 | addTarget</H3>
|
---|
2193 | <PRE>
|
---|
2194 | public void <B>addTarget</B>(java.lang.String targetName,
|
---|
2195 | <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> 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>
|
---|
2211 | addOrReplaceTarget</H3>
|
---|
2212 | <PRE>
|
---|
2213 | public void <B>addOrReplaceTarget</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> 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>
|
---|
2226 | addOrReplaceTarget</H3>
|
---|
2227 | <PRE>
|
---|
2228 | public void <B>addOrReplaceTarget</B>(java.lang.String targetName,
|
---|
2229 | <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> 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>
|
---|
2243 | getTargets</H3>
|
---|
2244 | <PRE>
|
---|
2245 | public java.util.Hashtable <B>getTargets</B>()</PRE>
|
---|
2246 | <DL>
|
---|
2247 | <DD>Return the hashtable of targets. The returned hashtable
|
---|
2248 | is "live" 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>
|
---|
2258 | createTask</H3>
|
---|
2259 | <PRE>
|
---|
2260 | public <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> <B>createTask</B>(java.lang.String 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>
|
---|
2280 | createDataType</H3>
|
---|
2281 | <PRE>
|
---|
2282 | public java.lang.Object <B>createDataType</B>(java.lang.String 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>
|
---|
2300 | setExecutor</H3>
|
---|
2301 | <PRE>
|
---|
2302 | public void <B>setExecutor</B>(<A HREF="../../../../org/apache/tools/ant/Executor.html" title="interface in org.apache.tools.ant">Executor</A> 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>
|
---|
2313 | getExecutor</H3>
|
---|
2314 | <PRE>
|
---|
2315 | public <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>
|
---|
2327 | executeTargets</H3>
|
---|
2328 | <PRE>
|
---|
2329 | public void <B>executeTargets</B>(java.util.Vector 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>
|
---|
2345 | demuxOutput</H3>
|
---|
2346 | <PRE>
|
---|
2347 | public void <B>demuxOutput</B>(java.lang.String output,
|
---|
2348 | boolean 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>
|
---|
2362 | defaultInput</H3>
|
---|
2363 | <PRE>
|
---|
2364 | public int <B>defaultInput</B>(byte[] buffer,
|
---|
2365 | int offset,
|
---|
2366 | int 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>
|
---|
2384 | demuxInput</H3>
|
---|
2385 | <PRE>
|
---|
2386 | public int <B>demuxInput</B>(byte[] buffer,
|
---|
2387 | int offset,
|
---|
2388 | int 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>
|
---|
2405 | demuxFlush</H3>
|
---|
2406 | <PRE>
|
---|
2407 | public void <B>demuxFlush</B>(java.lang.String output,
|
---|
2408 | boolean 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>
|
---|
2424 | executeTarget</H3>
|
---|
2425 | <PRE>
|
---|
2426 | public void <B>executeTarget</B>(java.lang.String 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>
|
---|
2441 | executeSortedTargets</H3>
|
---|
2442 | <PRE>
|
---|
2443 | public void <B>executeSortedTargets</B>(java.util.Vector 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>
|
---|
2457 | resolveFile</H3>
|
---|
2458 | <PRE>
|
---|
2459 | public java.io.File <B>resolveFile</B>(java.lang.String fileName,
|
---|
2460 | java.io.File rootDir)</PRE>
|
---|
2461 | <DL>
|
---|
2462 | <DD><B>Deprecated.</B> <I></I>
|
---|
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>
|
---|
2480 | resolveFile</H3>
|
---|
2481 | <PRE>
|
---|
2482 | public java.io.File <B>resolveFile</B>(java.lang.String 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>
|
---|
2498 | translatePath</H3>
|
---|
2499 | <PRE>
|
---|
2500 | public static java.lang.String <B>translatePath</B>(java.lang.String 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>
|
---|
2519 | copyFile</H3>
|
---|
2520 | <PRE>
|
---|
2521 | public void <B>copyFile</B>(java.lang.String sourceFile,
|
---|
2522 | java.lang.String destFile)
|
---|
2523 | throws java.io.IOException</PRE>
|
---|
2524 | <DL>
|
---|
2525 | <DD><B>Deprecated.</B> <I></I>
|
---|
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>
|
---|
2541 | copyFile</H3>
|
---|
2542 | <PRE>
|
---|
2543 | public void <B>copyFile</B>(java.lang.String sourceFile,
|
---|
2544 | java.lang.String destFile,
|
---|
2545 | boolean filtering)
|
---|
2546 | throws java.io.IOException</PRE>
|
---|
2547 | <DL>
|
---|
2548 | <DD><B>Deprecated.</B> <I></I>
|
---|
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>
|
---|
2565 | copyFile</H3>
|
---|
2566 | <PRE>
|
---|
2567 | public void <B>copyFile</B>(java.lang.String sourceFile,
|
---|
2568 | java.lang.String destFile,
|
---|
2569 | boolean filtering,
|
---|
2570 | boolean overwrite)
|
---|
2571 | throws java.io.IOException</PRE>
|
---|
2572 | <DL>
|
---|
2573 | <DD><B>Deprecated.</B> <I></I>
|
---|
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>
|
---|
2592 | copyFile</H3>
|
---|
2593 | <PRE>
|
---|
2594 | public void <B>copyFile</B>(java.lang.String sourceFile,
|
---|
2595 | java.lang.String destFile,
|
---|
2596 | boolean filtering,
|
---|
2597 | boolean overwrite,
|
---|
2598 | boolean preserveLastModified)
|
---|
2599 | throws java.io.IOException</PRE>
|
---|
2600 | <DL>
|
---|
2601 | <DD><B>Deprecated.</B> <I></I>
|
---|
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>
|
---|
2624 | copyFile</H3>
|
---|
2625 | <PRE>
|
---|
2626 | public void <B>copyFile</B>(java.io.File sourceFile,
|
---|
2627 | java.io.File destFile)
|
---|
2628 | throws java.io.IOException</PRE>
|
---|
2629 | <DL>
|
---|
2630 | <DD><B>Deprecated.</B> <I></I>
|
---|
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>
|
---|
2646 | copyFile</H3>
|
---|
2647 | <PRE>
|
---|
2648 | public void <B>copyFile</B>(java.io.File sourceFile,
|
---|
2649 | java.io.File destFile,
|
---|
2650 | boolean filtering)
|
---|
2651 | throws java.io.IOException</PRE>
|
---|
2652 | <DL>
|
---|
2653 | <DD><B>Deprecated.</B> <I></I>
|
---|
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>
|
---|
2670 | copyFile</H3>
|
---|
2671 | <PRE>
|
---|
2672 | public void <B>copyFile</B>(java.io.File sourceFile,
|
---|
2673 | java.io.File destFile,
|
---|
2674 | boolean filtering,
|
---|
2675 | boolean overwrite)
|
---|
2676 | throws java.io.IOException</PRE>
|
---|
2677 | <DL>
|
---|
2678 | <DD><B>Deprecated.</B> <I></I>
|
---|
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>
|
---|
2697 | copyFile</H3>
|
---|
2698 | <PRE>
|
---|
2699 | public void <B>copyFile</B>(java.io.File sourceFile,
|
---|
2700 | java.io.File destFile,
|
---|
2701 | boolean filtering,
|
---|
2702 | boolean overwrite,
|
---|
2703 | boolean preserveLastModified)
|
---|
2704 | throws java.io.IOException</PRE>
|
---|
2705 | <DL>
|
---|
2706 | <DD><B>Deprecated.</B> <I></I>
|
---|
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>
|
---|
2729 | setFileLastModified</H3>
|
---|
2730 | <PRE>
|
---|
2731 | public void <B>setFileLastModified</B>(java.io.File file,
|
---|
2732 | long 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> <I></I>
|
---|
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>
|
---|
2752 | toBoolean</H3>
|
---|
2753 | <PRE>
|
---|
2754 | public static boolean <B>toBoolean</B>(java.lang.String 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>
|
---|
2770 | topoSort</H3>
|
---|
2771 | <PRE>
|
---|
2772 | public final java.util.Vector <B>topoSort</B>(java.lang.String root,
|
---|
2773 | java.util.Hashtable 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>
|
---|
2794 | topoSort</H3>
|
---|
2795 | <PRE>
|
---|
2796 | public final java.util.Vector <B>topoSort</B>(java.lang.String root,
|
---|
2797 | java.util.Hashtable targets,
|
---|
2798 | boolean 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>
|
---|
2822 | topoSort</H3>
|
---|
2823 | <PRE>
|
---|
2824 | public final java.util.Vector <B>topoSort</B>(java.lang.String[] root,
|
---|
2825 | java.util.Hashtable targets,
|
---|
2826 | boolean 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>
|
---|
2850 | addReference</H3>
|
---|
2851 | <PRE>
|
---|
2852 | public void <B>addReference</B>(java.lang.String name,
|
---|
2853 | java.lang.Object 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>
|
---|
2864 | getReferences</H3>
|
---|
2865 | <PRE>
|
---|
2866 | public 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 "live" 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>
|
---|
2879 | getReference</H3>
|
---|
2880 | <PRE>
|
---|
2881 | public java.lang.Object <B>getReference</B>(java.lang.String 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>
|
---|
2895 | getElementName</H3>
|
---|
2896 | <PRE>
|
---|
2897 | public java.lang.String <B>getElementName</B>(java.lang.Object 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>
|
---|
2915 | fireBuildStarted</H3>
|
---|
2916 | <PRE>
|
---|
2917 | public void <B>fireBuildStarted</B>()</PRE>
|
---|
2918 | <DL>
|
---|
2919 | <DD>Send a "build started" 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>
|
---|
2929 | fireBuildFinished</H3>
|
---|
2930 | <PRE>
|
---|
2931 | public void <B>fireBuildFinished</B>(java.lang.Throwable exception)</PRE>
|
---|
2932 | <DL>
|
---|
2933 | <DD>Send a "build finished" 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>
|
---|
2945 | fireSubBuildStarted</H3>
|
---|
2946 | <PRE>
|
---|
2947 | public void <B>fireSubBuildStarted</B>()</PRE>
|
---|
2948 | <DL>
|
---|
2949 | <DD>Send a "subbuild started" 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>
|
---|
2961 | fireSubBuildFinished</H3>
|
---|
2962 | <PRE>
|
---|
2963 | public void <B>fireSubBuildFinished</B>(java.lang.Throwable exception)</PRE>
|
---|
2964 | <DL>
|
---|
2965 | <DD>Send a "subbuild finished" 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>
|
---|
2979 | fireTargetStarted</H3>
|
---|
2980 | <PRE>
|
---|
2981 | protected void <B>fireTargetStarted</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> target)</PRE>
|
---|
2982 | <DL>
|
---|
2983 | <DD>Send a "target started" 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>
|
---|
2994 | fireTargetFinished</H3>
|
---|
2995 | <PRE>
|
---|
2996 | protected void <B>fireTargetFinished</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> target,
|
---|
2997 | java.lang.Throwable exception)</PRE>
|
---|
2998 | <DL>
|
---|
2999 | <DD>Send a "target finished" 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>
|
---|
3012 | fireTaskStarted</H3>
|
---|
3013 | <PRE>
|
---|
3014 | protected void <B>fireTaskStarted</B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> task)</PRE>
|
---|
3015 | <DL>
|
---|
3016 | <DD>Send a "task started" 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>
|
---|
3027 | fireTaskFinished</H3>
|
---|
3028 | <PRE>
|
---|
3029 | protected void <B>fireTaskFinished</B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> task,
|
---|
3030 | java.lang.Throwable exception)</PRE>
|
---|
3031 | <DL>
|
---|
3032 | <DD>Send a "task finished" 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>
|
---|
3045 | fireMessageLogged</H3>
|
---|
3046 | <PRE>
|
---|
3047 | protected void <B>fireMessageLogged</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project,
|
---|
3048 | java.lang.String message,
|
---|
3049 | int priority)</PRE>
|
---|
3050 | <DL>
|
---|
3051 | <DD>Send a "message logged" 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>
|
---|
3062 | fireMessageLogged</H3>
|
---|
3063 | <PRE>
|
---|
3064 | protected void <B>fireMessageLogged</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> target,
|
---|
3065 | java.lang.String message,
|
---|
3066 | int priority)</PRE>
|
---|
3067 | <DL>
|
---|
3068 | <DD>Send a "message logged" 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>
|
---|
3079 | fireMessageLogged</H3>
|
---|
3080 | <PRE>
|
---|
3081 | protected void <B>fireMessageLogged</B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> task,
|
---|
3082 | java.lang.String message,
|
---|
3083 | int priority)</PRE>
|
---|
3084 | <DL>
|
---|
3085 | <DD>Send a "message logged" 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>
|
---|
3096 | registerThreadTask</H3>
|
---|
3097 | <PRE>
|
---|
3098 | public void <B>registerThreadTask</B>(java.lang.Thread thread,
|
---|
3099 | <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> 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>
|
---|
3113 | getThreadTask</H3>
|
---|
3114 | <PRE>
|
---|
3115 | public <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> <B>getThreadTask</B>(java.lang.Thread 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>
|
---|
3128 | setProjectReference</H3>
|
---|
3129 | <PRE>
|
---|
3130 | public final void <B>setProjectReference</B>(java.lang.Object 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> </TD>
|
---|
3154 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
3155 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
3156 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
3157 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
3158 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
3159 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../org/apache/tools/ant/PathTokenizer.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>
|
---|
3171 | <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>
|
---|
3174 | <A HREF="Project.html" target="_top"><B>NO FRAMES</B></A>
|
---|
3175 | <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
3191 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
3192 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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>
|
---|
3199 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
3200 | </BODY>
|
---|
3201 | </HTML>
|
---|