1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
2 | <!--NewPage-->
|
---|
3 | <HTML>
|
---|
4 | <HEAD>
|
---|
5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:17 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | CommonsLoggingListener (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.listener.CommonsLoggingListener 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="CommonsLoggingListener (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/listener/AnsiColorLogger.html" title="class in org.apache.tools.ant.listener"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/listener/Log4jListener.html" title="class in org.apache.tools.ant.listener"><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="CommonsLoggingListener.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant.listener</FONT>
|
---|
85 | <BR>
|
---|
86 | Class CommonsLoggingListener</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.listener.CommonsLoggingListener</B>
|
---|
90 | </PRE>
|
---|
91 | <DL>
|
---|
92 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A>, <A HREF="../../../../../org/apache/tools/ant/BuildLogger.html" title="interface in org.apache.tools.ant">BuildLogger</A>, java.util.EventListener</DD>
|
---|
93 | </DL>
|
---|
94 | <HR>
|
---|
95 | <DL>
|
---|
96 | <DT>public class <B>CommonsLoggingListener</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A>, <A HREF="../../../../../org/apache/tools/ant/BuildLogger.html" title="interface in org.apache.tools.ant">BuildLogger</A></DL>
|
---|
97 |
|
---|
98 | <P>
|
---|
99 | Jakarta Commons Logging listener.
|
---|
100 | Note: do not use the SimpleLog as your logger implementation as it
|
---|
101 | causes an infinite loop since it writes to System.err, which Ant traps
|
---|
102 | and reroutes to the logger/listener layer.
|
---|
103 |
|
---|
104 | The following names are used for the log:
|
---|
105 | org.apache.tools.ant.Project.PROJECT_NAME - for project events
|
---|
106 | org.apache.tools.ant.Target.TARGET_NAME - for target events
|
---|
107 | TASK_CLASS_NAME.TARGET_NAME - for events in individual targets.
|
---|
108 |
|
---|
109 | In all target and project names we replace "." and " " with "-".
|
---|
110 |
|
---|
111 | TODO: we should use the advanced context logging features (and expose them
|
---|
112 | in c-l first :-)
|
---|
113 | TODO: this is _very_ inefficient. Switching the out and tracking the logs
|
---|
114 | can be optimized a lot - but may require few more changes to the core.
|
---|
115 | <P>
|
---|
116 |
|
---|
117 | <P>
|
---|
118 | <DL>
|
---|
119 | <DT><B>Since:</B></DT>
|
---|
120 | <DD>Ant 1.5</DD>
|
---|
121 | </DL>
|
---|
122 | <HR>
|
---|
123 |
|
---|
124 | <P>
|
---|
125 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
126 |
|
---|
127 |
|
---|
128 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
129 |
|
---|
130 |
|
---|
131 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
132 |
|
---|
133 | <A NAME="constructor_summary"><!-- --></A>
|
---|
134 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
135 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
136 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
137 | <B>Constructor Summary</B></FONT></TD>
|
---|
138 | </TR>
|
---|
139 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
140 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/listener/CommonsLoggingListener.html#CommonsLoggingListener()">CommonsLoggingListener</A></B>()</CODE>
|
---|
141 |
|
---|
142 | <BR>
|
---|
143 | Construct the listener and make sure that a LogFactory
|
---|
144 | can be obtained.</TD>
|
---|
145 | </TR>
|
---|
146 | </TABLE>
|
---|
147 |
|
---|
148 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
149 |
|
---|
150 | <A NAME="method_summary"><!-- --></A>
|
---|
151 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
152 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
153 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
154 | <B>Method Summary</B></FONT></TD>
|
---|
155 | </TR>
|
---|
156 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
157 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
158 | <CODE> void</CODE></FONT></TD>
|
---|
159 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/listener/CommonsLoggingListener.html#buildFinished(org.apache.tools.ant.BuildEvent)">buildFinished</A></B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</CODE>
|
---|
160 |
|
---|
161 | <BR>
|
---|
162 | Signals that the last target has finished.</TD>
|
---|
163 | </TR>
|
---|
164 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
166 | <CODE> void</CODE></FONT></TD>
|
---|
167 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/listener/CommonsLoggingListener.html#buildStarted(org.apache.tools.ant.BuildEvent)">buildStarted</A></B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</CODE>
|
---|
168 |
|
---|
169 | <BR>
|
---|
170 | Signals that a build has started.</TD>
|
---|
171 | </TR>
|
---|
172 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
173 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
174 | <CODE> void</CODE></FONT></TD>
|
---|
175 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/listener/CommonsLoggingListener.html#messageLogged(org.apache.tools.ant.BuildEvent)">messageLogged</A></B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</CODE>
|
---|
176 |
|
---|
177 | <BR>
|
---|
178 | Signals a message logging event.</TD>
|
---|
179 | </TR>
|
---|
180 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
181 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
182 | <CODE> void</CODE></FONT></TD>
|
---|
183 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/listener/CommonsLoggingListener.html#setEmacsMode(boolean)">setEmacsMode</A></B>(boolean emacsMode)</CODE>
|
---|
184 |
|
---|
185 | <BR>
|
---|
186 | Sets this logger to produce emacs (and other editor) friendly output.</TD>
|
---|
187 | </TR>
|
---|
188 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
189 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
190 | <CODE> void</CODE></FONT></TD>
|
---|
191 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/listener/CommonsLoggingListener.html#setErrorPrintStream(java.io.PrintStream)">setErrorPrintStream</A></B>(java.io.PrintStream err)</CODE>
|
---|
192 |
|
---|
193 | <BR>
|
---|
194 | Sets the output stream to which this logger is to send error messages.</TD>
|
---|
195 | </TR>
|
---|
196 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
197 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
198 | <CODE> void</CODE></FONT></TD>
|
---|
199 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/listener/CommonsLoggingListener.html#setMessageOutputLevel(int)">setMessageOutputLevel</A></B>(int level)</CODE>
|
---|
200 |
|
---|
201 | <BR>
|
---|
202 | Sets the highest level of message this logger should respond to.</TD>
|
---|
203 | </TR>
|
---|
204 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
205 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
206 | <CODE> void</CODE></FONT></TD>
|
---|
207 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/listener/CommonsLoggingListener.html#setOutputPrintStream(java.io.PrintStream)">setOutputPrintStream</A></B>(java.io.PrintStream output)</CODE>
|
---|
208 |
|
---|
209 | <BR>
|
---|
210 | Sets the output stream to which this logger is to send its output.</TD>
|
---|
211 | </TR>
|
---|
212 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
213 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
214 | <CODE> void</CODE></FONT></TD>
|
---|
215 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/listener/CommonsLoggingListener.html#targetFinished(org.apache.tools.ant.BuildEvent)">targetFinished</A></B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</CODE>
|
---|
216 |
|
---|
217 | <BR>
|
---|
218 | Signals that a target has finished.</TD>
|
---|
219 | </TR>
|
---|
220 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
221 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
222 | <CODE> void</CODE></FONT></TD>
|
---|
223 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/listener/CommonsLoggingListener.html#targetStarted(org.apache.tools.ant.BuildEvent)">targetStarted</A></B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</CODE>
|
---|
224 |
|
---|
225 | <BR>
|
---|
226 | Signals that a target is starting.</TD>
|
---|
227 | </TR>
|
---|
228 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
229 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
230 | <CODE> void</CODE></FONT></TD>
|
---|
231 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/listener/CommonsLoggingListener.html#taskFinished(org.apache.tools.ant.BuildEvent)">taskFinished</A></B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</CODE>
|
---|
232 |
|
---|
233 | <BR>
|
---|
234 | Signals that a task has finished.</TD>
|
---|
235 | </TR>
|
---|
236 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
237 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
238 | <CODE> void</CODE></FONT></TD>
|
---|
239 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/listener/CommonsLoggingListener.html#taskStarted(org.apache.tools.ant.BuildEvent)">taskStarted</A></B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</CODE>
|
---|
240 |
|
---|
241 | <BR>
|
---|
242 | Signals that a task is starting.</TD>
|
---|
243 | </TR>
|
---|
244 | </TABLE>
|
---|
245 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
246 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
247 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
248 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
249 | </TR>
|
---|
250 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
251 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
252 | </TR>
|
---|
253 | </TABLE>
|
---|
254 |
|
---|
255 | <P>
|
---|
256 |
|
---|
257 | <!-- ============ FIELD DETAIL =========== -->
|
---|
258 |
|
---|
259 |
|
---|
260 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
261 |
|
---|
262 | <A NAME="constructor_detail"><!-- --></A>
|
---|
263 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
264 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
265 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
266 | <B>Constructor Detail</B></FONT></TD>
|
---|
267 | </TR>
|
---|
268 | </TABLE>
|
---|
269 |
|
---|
270 | <A NAME="CommonsLoggingListener()"><!-- --></A><H3>
|
---|
271 | CommonsLoggingListener</H3>
|
---|
272 | <PRE>
|
---|
273 | public <B>CommonsLoggingListener</B>()</PRE>
|
---|
274 | <DL>
|
---|
275 | <DD>Construct the listener and make sure that a LogFactory
|
---|
276 | can be obtained.
|
---|
277 | <P>
|
---|
278 | </DL>
|
---|
279 |
|
---|
280 | <!-- ============ METHOD DETAIL ========== -->
|
---|
281 |
|
---|
282 | <A NAME="method_detail"><!-- --></A>
|
---|
283 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
284 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
285 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
286 | <B>Method Detail</B></FONT></TD>
|
---|
287 | </TR>
|
---|
288 | </TABLE>
|
---|
289 |
|
---|
290 | <A NAME="buildStarted(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
|
---|
291 | buildStarted</H3>
|
---|
292 | <PRE>
|
---|
293 | public void <B>buildStarted</B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</PRE>
|
---|
294 | <DL>
|
---|
295 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></B></DD>
|
---|
296 | <DD>Signals that a build has started. This event
|
---|
297 | is fired before any targets have started.
|
---|
298 | <P>
|
---|
299 | <DD><DL>
|
---|
300 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#buildStarted(org.apache.tools.ant.BuildEvent)">buildStarted</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
|
---|
301 | </DD>
|
---|
302 | <DD><DL>
|
---|
303 | <DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
|
---|
304 | Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#buildStarted(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.buildStarted(org.apache.tools.ant.BuildEvent)</CODE></A></DL>
|
---|
305 | </DD>
|
---|
306 | </DL>
|
---|
307 | <HR>
|
---|
308 |
|
---|
309 | <A NAME="buildFinished(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
|
---|
310 | buildFinished</H3>
|
---|
311 | <PRE>
|
---|
312 | public void <B>buildFinished</B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</PRE>
|
---|
313 | <DL>
|
---|
314 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></B></DD>
|
---|
315 | <DD>Signals that the last target has finished. This event
|
---|
316 | will still be fired if an error occurred during the build.
|
---|
317 | <P>
|
---|
318 | <DD><DL>
|
---|
319 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#buildFinished(org.apache.tools.ant.BuildEvent)">buildFinished</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
|
---|
320 | </DD>
|
---|
321 | <DD><DL>
|
---|
322 | <DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
|
---|
323 | Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#buildFinished(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.buildFinished(org.apache.tools.ant.BuildEvent)</CODE></A></DL>
|
---|
324 | </DD>
|
---|
325 | </DL>
|
---|
326 | <HR>
|
---|
327 |
|
---|
328 | <A NAME="targetStarted(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
|
---|
329 | targetStarted</H3>
|
---|
330 | <PRE>
|
---|
331 | public void <B>targetStarted</B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</PRE>
|
---|
332 | <DL>
|
---|
333 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></B></DD>
|
---|
334 | <DD>Signals that a target is starting.
|
---|
335 | <P>
|
---|
336 | <DD><DL>
|
---|
337 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#targetStarted(org.apache.tools.ant.BuildEvent)">targetStarted</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
|
---|
338 | </DD>
|
---|
339 | <DD><DL>
|
---|
340 | <DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
|
---|
341 | Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#targetStarted(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.targetStarted(org.apache.tools.ant.BuildEvent)</CODE></A></DL>
|
---|
342 | </DD>
|
---|
343 | </DL>
|
---|
344 | <HR>
|
---|
345 |
|
---|
346 | <A NAME="targetFinished(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
|
---|
347 | targetFinished</H3>
|
---|
348 | <PRE>
|
---|
349 | public void <B>targetFinished</B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</PRE>
|
---|
350 | <DL>
|
---|
351 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></B></DD>
|
---|
352 | <DD>Signals that a target has finished. This event will
|
---|
353 | still be fired if an error occurred during the build.
|
---|
354 | <P>
|
---|
355 | <DD><DL>
|
---|
356 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#targetFinished(org.apache.tools.ant.BuildEvent)">targetFinished</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
|
---|
357 | </DD>
|
---|
358 | <DD><DL>
|
---|
359 | <DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
|
---|
360 | Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#targetFinished(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.targetFinished(org.apache.tools.ant.BuildEvent)</CODE></A></DL>
|
---|
361 | </DD>
|
---|
362 | </DL>
|
---|
363 | <HR>
|
---|
364 |
|
---|
365 | <A NAME="taskStarted(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
|
---|
366 | taskStarted</H3>
|
---|
367 | <PRE>
|
---|
368 | public void <B>taskStarted</B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</PRE>
|
---|
369 | <DL>
|
---|
370 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></B></DD>
|
---|
371 | <DD>Signals that a task is starting.
|
---|
372 | <P>
|
---|
373 | <DD><DL>
|
---|
374 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#taskStarted(org.apache.tools.ant.BuildEvent)">taskStarted</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
|
---|
375 | </DD>
|
---|
376 | <DD><DL>
|
---|
377 | <DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
|
---|
378 | Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#taskStarted(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.taskStarted(org.apache.tools.ant.BuildEvent)</CODE></A></DL>
|
---|
379 | </DD>
|
---|
380 | </DL>
|
---|
381 | <HR>
|
---|
382 |
|
---|
383 | <A NAME="taskFinished(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
|
---|
384 | taskFinished</H3>
|
---|
385 | <PRE>
|
---|
386 | public void <B>taskFinished</B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</PRE>
|
---|
387 | <DL>
|
---|
388 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></B></DD>
|
---|
389 | <DD>Signals that a task has finished. This event will still
|
---|
390 | be fired if an error occurred during the build.
|
---|
391 | <P>
|
---|
392 | <DD><DL>
|
---|
393 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#taskFinished(org.apache.tools.ant.BuildEvent)">taskFinished</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
|
---|
394 | </DD>
|
---|
395 | <DD><DL>
|
---|
396 | <DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
|
---|
397 | Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#taskFinished(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.taskFinished(org.apache.tools.ant.BuildEvent)</CODE></A></DL>
|
---|
398 | </DD>
|
---|
399 | </DL>
|
---|
400 | <HR>
|
---|
401 |
|
---|
402 | <A NAME="messageLogged(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
|
---|
403 | messageLogged</H3>
|
---|
404 | <PRE>
|
---|
405 | public void <B>messageLogged</B>(<A HREF="../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A> event)</PRE>
|
---|
406 | <DL>
|
---|
407 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></B></DD>
|
---|
408 | <DD>Signals a message logging event.
|
---|
409 | <P>
|
---|
410 | <DD><DL>
|
---|
411 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#messageLogged(org.apache.tools.ant.BuildEvent)">messageLogged</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
|
---|
412 | </DD>
|
---|
413 | <DD><DL>
|
---|
414 | <DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
|
---|
415 | Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/BuildListener.html#messageLogged(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.messageLogged(org.apache.tools.ant.BuildEvent)</CODE></A></DL>
|
---|
416 | </DD>
|
---|
417 | </DL>
|
---|
418 | <HR>
|
---|
419 |
|
---|
420 | <A NAME="setMessageOutputLevel(int)"><!-- --></A><H3>
|
---|
421 | setMessageOutputLevel</H3>
|
---|
422 | <PRE>
|
---|
423 | public void <B>setMessageOutputLevel</B>(int level)</PRE>
|
---|
424 | <DL>
|
---|
425 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/tools/ant/BuildLogger.html" title="interface in org.apache.tools.ant">BuildLogger</A></CODE></B></DD>
|
---|
426 | <DD>Sets the highest level of message this logger should respond to.
|
---|
427 |
|
---|
428 | Only messages with a message level lower than or equal to the
|
---|
429 | given level should be written to the log.
|
---|
430 | <P>
|
---|
431 | Constants for the message levels are in the
|
---|
432 | <A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant"><CODE>Project</CODE></A> class. The order of the levels, from least
|
---|
433 | to most verbose, is <code>MSG_ERR</code>, <code>MSG_WARN</code>,
|
---|
434 | <code>MSG_INFO</code>, <code>MSG_VERBOSE</code>,
|
---|
435 | <code>MSG_DEBUG</code>.
|
---|
436 | <P>
|
---|
437 | <DD><DL>
|
---|
438 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildLogger.html#setMessageOutputLevel(int)">setMessageOutputLevel</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/BuildLogger.html" title="interface in org.apache.tools.ant">BuildLogger</A></CODE></DL>
|
---|
439 | </DD>
|
---|
440 | <DD><DL>
|
---|
441 | <DT><B>Parameters:</B><DD><CODE>level</CODE> - the logging level for the logger.</DL>
|
---|
442 | </DD>
|
---|
443 | </DL>
|
---|
444 | <HR>
|
---|
445 |
|
---|
446 | <A NAME="setOutputPrintStream(java.io.PrintStream)"><!-- --></A><H3>
|
---|
447 | setOutputPrintStream</H3>
|
---|
448 | <PRE>
|
---|
449 | public void <B>setOutputPrintStream</B>(java.io.PrintStream output)</PRE>
|
---|
450 | <DL>
|
---|
451 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/tools/ant/BuildLogger.html" title="interface in org.apache.tools.ant">BuildLogger</A></CODE></B></DD>
|
---|
452 | <DD>Sets the output stream to which this logger is to send its output.
|
---|
453 | <P>
|
---|
454 | <DD><DL>
|
---|
455 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildLogger.html#setOutputPrintStream(java.io.PrintStream)">setOutputPrintStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/BuildLogger.html" title="interface in org.apache.tools.ant">BuildLogger</A></CODE></DL>
|
---|
456 | </DD>
|
---|
457 | <DD><DL>
|
---|
458 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - The output stream for the logger.
|
---|
459 | Must not be <code>null</code>.</DL>
|
---|
460 | </DD>
|
---|
461 | </DL>
|
---|
462 | <HR>
|
---|
463 |
|
---|
464 | <A NAME="setEmacsMode(boolean)"><!-- --></A><H3>
|
---|
465 | setEmacsMode</H3>
|
---|
466 | <PRE>
|
---|
467 | public void <B>setEmacsMode</B>(boolean emacsMode)</PRE>
|
---|
468 | <DL>
|
---|
469 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/tools/ant/BuildLogger.html" title="interface in org.apache.tools.ant">BuildLogger</A></CODE></B></DD>
|
---|
470 | <DD>Sets this logger to produce emacs (and other editor) friendly output.
|
---|
471 | <P>
|
---|
472 | <DD><DL>
|
---|
473 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildLogger.html#setEmacsMode(boolean)">setEmacsMode</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/BuildLogger.html" title="interface in org.apache.tools.ant">BuildLogger</A></CODE></DL>
|
---|
474 | </DD>
|
---|
475 | <DD><DL>
|
---|
476 | <DT><B>Parameters:</B><DD><CODE>emacsMode</CODE> - <code>true</code> if output is to be unadorned so that
|
---|
477 | emacs and other editors can parse files names, etc.</DL>
|
---|
478 | </DD>
|
---|
479 | </DL>
|
---|
480 | <HR>
|
---|
481 |
|
---|
482 | <A NAME="setErrorPrintStream(java.io.PrintStream)"><!-- --></A><H3>
|
---|
483 | setErrorPrintStream</H3>
|
---|
484 | <PRE>
|
---|
485 | public void <B>setErrorPrintStream</B>(java.io.PrintStream err)</PRE>
|
---|
486 | <DL>
|
---|
487 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/tools/ant/BuildLogger.html" title="interface in org.apache.tools.ant">BuildLogger</A></CODE></B></DD>
|
---|
488 | <DD>Sets the output stream to which this logger is to send error messages.
|
---|
489 | <P>
|
---|
490 | <DD><DL>
|
---|
491 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildLogger.html#setErrorPrintStream(java.io.PrintStream)">setErrorPrintStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/BuildLogger.html" title="interface in org.apache.tools.ant">BuildLogger</A></CODE></DL>
|
---|
492 | </DD>
|
---|
493 | <DD><DL>
|
---|
494 | <DT><B>Parameters:</B><DD><CODE>err</CODE> - The error stream for the logger.
|
---|
495 | Must not be <code>null</code>.</DL>
|
---|
496 | </DD>
|
---|
497 | </DL>
|
---|
498 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
499 | <HR>
|
---|
500 |
|
---|
501 |
|
---|
502 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
503 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
504 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
505 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
506 | <TR>
|
---|
507 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
508 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
509 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
510 | <TR ALIGN="center" VALIGN="top">
|
---|
511 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
512 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
513 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
514 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
515 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
516 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
517 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
518 | </TR>
|
---|
519 | </TABLE>
|
---|
520 | </TD>
|
---|
521 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
522 | </EM>
|
---|
523 | </TD>
|
---|
524 | </TR>
|
---|
525 |
|
---|
526 | <TR>
|
---|
527 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
528 | <A HREF="../../../../../org/apache/tools/ant/listener/AnsiColorLogger.html" title="class in org.apache.tools.ant.listener"><B>PREV CLASS</B></A>
|
---|
529 | <A HREF="../../../../../org/apache/tools/ant/listener/Log4jListener.html" title="class in org.apache.tools.ant.listener"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
530 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
531 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
532 | <A HREF="CommonsLoggingListener.html" target="_top"><B>NO FRAMES</B></A>
|
---|
533 | <SCRIPT type="text/javascript">
|
---|
534 | <!--
|
---|
535 | if(window==top) {
|
---|
536 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
537 | }
|
---|
538 | //-->
|
---|
539 | </SCRIPT>
|
---|
540 | <NOSCRIPT>
|
---|
541 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
542 | </NOSCRIPT>
|
---|
543 |
|
---|
544 | </FONT></TD>
|
---|
545 | </TR>
|
---|
546 | <TR>
|
---|
547 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
548 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
549 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
550 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
551 | </TR>
|
---|
552 | </TABLE>
|
---|
553 | <A NAME="skip-navbar_bottom"></A>
|
---|
554 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
555 |
|
---|
556 | <HR>
|
---|
557 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
558 | </BODY>
|
---|
559 | </HTML>
|
---|