Package org.apache.tools.ant.listener

Examples of org.apache.tools.ant.listener.TimestampedLogger


    project.executeTargets(new Vector<String>(asList(targetNames)));
    return out.toString();
  }

  private static BuildLogger createLogger(ByteArrayOutputStream out) {
    BuildLogger logger = new TimestampedLogger();
    logger.setEmacsMode(false);
    logger.setErrorPrintStream(printStreamFrom(out));
    logger.setOutputPrintStream(printStreamFrom(out));
    logger.setMessageOutputLevel(MSG_INFO);
    return logger;
  }
View Full Code Here

TOP

Related Classes of org.apache.tools.ant.listener.TimestampedLogger

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.