ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Loehr, Ruel" <>
Subject writing to ant's logger from external type
Date Tue, 17 Jun 2008 17:10:59 GMT
I've written a task which uses a custom data type.   I'd like to be able to write log messages
from within that type using ANT's logging mechanism.   If I use that type independently, I'd
like to just write to System.out.

Does anyone know of a way to pass ants logger to an external type such that I could do something
like this:

If (logger !=null)
            Logger.LogMessage("My message");
            System.out.println("My message");

R Loehr

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message