org.apache.tools.ant
Class XmlLogger

java.lang.Object
  |
  +--org.apache.tools.ant.XmlLogger

public class XmlLogger
extends java.lang.Object
implements BuildListener

Generates a "log.xml" file in the current directory with an XML description of what happened during a build.

See Also:
Project#addBuildListener()

Constructor Summary
XmlLogger()
          Constructs a new BuildListener that logs build events to an XML file.
 
Method Summary
 void buildFinished(BuildEvent event)
           
 void buildStarted(BuildEvent event)
           
 void messageLogged(BuildEvent event)
           
 void targetFinished(BuildEvent event)
           
 void targetStarted(BuildEvent event)
           
 void taskFinished(BuildEvent event)
           
 void taskStarted(BuildEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlLogger

public XmlLogger()
Constructs a new BuildListener that logs build events to an XML file.
Method Detail

buildStarted

public void buildStarted(BuildEvent event)
Specified by:
buildStarted in interface BuildListener

buildFinished

public void buildFinished(BuildEvent event)
Specified by:
buildFinished in interface BuildListener

targetStarted

public void targetStarted(BuildEvent event)
Specified by:
targetStarted in interface BuildListener

targetFinished

public void targetFinished(BuildEvent event)
Specified by:
targetFinished in interface BuildListener

taskStarted

public void taskStarted(BuildEvent event)
Specified by:
taskStarted in interface BuildListener

taskFinished

public void taskFinished(BuildEvent event)
Specified by:
taskFinished in interface BuildListener

messageLogged

public void messageLogged(BuildEvent event)
Specified by:
messageLogged in interface BuildListener


Copyright © 2000 Apache Software Foundation. All Rights Reserved.