ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Multiple loggers?
Date Tue, 22 Feb 2005 16:00:28 GMT
On Tue, 22 Feb 2005, Frank W. Zammetti <fzlists@omnytex.com> wrote:

> Is it possible to specify more than one logger on the command line?

Only one -logger, but multiple -listeners.

> Specifically, I want to see the build output in the console as I do
> when no logger is specified, but I'd IN ADDITION like to have the
> output saved to an XML file using XmlLogger.

Use XmlLogger as a -listener and set the property XmlLogger.file
(which should be ant.XmlLogger.file if we were consistent) to point to
the desired output file.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message