org.apache.geronimo.genesis.ant
Class MavenAntLoggerAdapter

java.lang.Object
  extended by org.apache.tools.ant.DefaultLogger
      extended by org.apache.geronimo.genesis.ant.MavenAntLoggerAdapter
All Implemented Interfaces:
EventListener, org.apache.tools.ant.BuildListener, org.apache.tools.ant.BuildLogger

public class MavenAntLoggerAdapter
extends org.apache.tools.ant.DefaultLogger

Adapts Ant logging to Maven Logging.

Version:
$Rev: 469680 $ $Date: 2006-10-31 14:23:54 -0800 (Tue, 31 Oct 2006) $

Field Summary
protected  org.apache.maven.plugin.logging.Log log
           
 
Fields inherited from class org.apache.tools.ant.DefaultLogger
emacsMode, err, LEFT_COLUMN_SIZE, lSep, msgOutputLevel, out
 
Constructor Summary
MavenAntLoggerAdapter(org.apache.maven.plugin.logging.Log log)
           
 
Method Summary
protected  void printMessage(String message, PrintStream stream, int priority)
           
 
Methods inherited from class org.apache.tools.ant.DefaultLogger
buildFinished, buildStarted, formatTime, log, messageLogged, setEmacsMode, setErrorPrintStream, setMessageOutputLevel, setOutputPrintStream, targetFinished, targetStarted, taskFinished, taskStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.apache.maven.plugin.logging.Log log
Constructor Detail

MavenAntLoggerAdapter

public MavenAntLoggerAdapter(org.apache.maven.plugin.logging.Log log)
Method Detail

printMessage

protected void printMessage(String message,
                            PrintStream stream,
                            int priority)
Overrides:
printMessage in class org.apache.tools.ant.DefaultLogger


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.