|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.XmlLogger
Generates a "log.xml" file in the current directory with an XML description of what happened during a build.
Project.addBuildListener(BuildListener)
Constructor Summary | |
XmlLogger()
Constructs a new BuildListener that logs build events to an XML file. |
Method Summary | |
void |
buildFinished(BuildEvent event)
Fired after the last target has finished. |
void |
buildStarted(BuildEvent event)
Fired before any targets are started. |
void |
messageLogged(BuildEvent event)
Fired whenever a message is logged. |
void |
targetFinished(BuildEvent event)
Fired when a target has finished. |
void |
targetStarted(BuildEvent event)
Fired when a target is started. |
void |
taskFinished(BuildEvent event)
Fired when a task has finished. |
void |
taskStarted(BuildEvent event)
Fired when a task is started. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XmlLogger()
Method Detail |
public void buildStarted(BuildEvent event)
BuildListener
buildStarted
in interface BuildListener
public void buildFinished(BuildEvent event)
BuildListener
buildFinished
in interface BuildListener
org.apache.tools.ant.BuildListener
BuildEvent.getException()
public void targetStarted(BuildEvent event)
BuildListener
targetStarted
in interface BuildListener
org.apache.tools.ant.BuildListener
BuildEvent.getTarget()
public void targetFinished(BuildEvent event)
BuildListener
targetFinished
in interface BuildListener
org.apache.tools.ant.BuildListener
BuildEvent.getException()
public void taskStarted(BuildEvent event)
BuildListener
taskStarted
in interface BuildListener
org.apache.tools.ant.BuildListener
BuildEvent.getTask()
public void taskFinished(BuildEvent event)
BuildListener
taskFinished
in interface BuildListener
org.apache.tools.ant.BuildListener
BuildEvent.getException()
public void messageLogged(BuildEvent event)
BuildListener
messageLogged
in interface BuildListener
org.apache.tools.ant.BuildListener
BuildEvent.getMessage()
,
BuildEvent.getPriority()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |