Package org.apache.tools.ant.listener
Class Log4jListener
- java.lang.Object
- 
- org.apache.tools.ant.listener.Log4jListener
 
- 
- All Implemented Interfaces:
- java.util.EventListener,- BuildListener
 
 @Deprecated public class Log4jListener extends java.lang.Object implements BuildListener Deprecated.Apache Log4j (1) is not developed any more. Last release is 1.2.17 from 26-May-2012 and contains vulnerability issues. Use the standard listener or your own custom listener instead.Listener which sends events to Log4j logging system.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringLOG_ANTDeprecated.log category we log into
 - 
Constructor SummaryConstructors Constructor Description Log4jListener()Deprecated.Construct the listener
 - 
Method SummaryModifier and Type Method Description voidbuildFinished(BuildEvent event)Deprecated.Signals that the last target has finished.voidbuildStarted(BuildEvent event)Deprecated.Signals that a build has started.voidmessageLogged(BuildEvent event)Deprecated.Signals a message logging event.voidtargetFinished(BuildEvent event)Deprecated.Signals that a target has finished.voidtargetStarted(BuildEvent event)Deprecated.Signals that a target is starting.voidtaskFinished(BuildEvent event)Deprecated.Signals that a task has finished.voidtaskStarted(BuildEvent event)Deprecated.Signals that a task is starting.
 
- 
- 
- 
Field Detail- 
LOG_ANTpublic static final java.lang.String LOG_ANT Deprecated.log category we log into- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
buildStartedpublic void buildStarted(BuildEvent event) Deprecated.Description copied from interface:BuildListenerSignals that a build has started. This event is fired before any targets have started.This event is fired before the project instance is fully configured. In particular no properties have been set and the project may not know its name or default target, yet. - Specified by:
- buildStartedin interface- BuildListener
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
- .
 
 - 
buildFinishedpublic void buildFinished(BuildEvent event) Deprecated.Description copied from interface:BuildListenerSignals that the last target has finished. This event will still be fired if an error occurred during the build.- Specified by:
- buildFinishedin interface- BuildListener
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
- .
 
 - 
targetStartedpublic void targetStarted(BuildEvent event) Deprecated.Description copied from interface:BuildListenerSignals that a target is starting.- Specified by:
- targetStartedin interface- BuildListener
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
- .
 
 - 
targetFinishedpublic void targetFinished(BuildEvent event) Deprecated.Description copied from interface:BuildListenerSignals that a target has finished. This event will still be fired if an error occurred during the build.- Specified by:
- targetFinishedin interface- BuildListener
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
- .
 
 - 
taskStartedpublic void taskStarted(BuildEvent event) Deprecated.Description copied from interface:BuildListenerSignals that a task is starting.- Specified by:
- taskStartedin interface- BuildListener
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
- .
 
 - 
taskFinishedpublic void taskFinished(BuildEvent event) Deprecated.Description copied from interface:BuildListenerSignals that a task has finished. This event will still be fired if an error occurred during the build.- Specified by:
- taskFinishedin interface- BuildListener
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
- .
 
 - 
messageLoggedpublic void messageLogged(BuildEvent event) Deprecated.Description copied from interface:BuildListenerSignals a message logging event.- Specified by:
- messageLoggedin interface- BuildListener
- Parameters:
- event- An event with any relevant extra information. Must not be- null.
- See Also:
- .
 
 
- 
 
-