ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Define the logger in a properties file?
Date Thu, 11 May 2006 05:40:12 GMT

Loggers are attached while checking the command line arguments and _before_ Ant runs.
Ant doesnt know anything about registered loggers - it just sends log messages to an interface.

What you could do is setting the environment variable ANT_OPTS to your "-logger ..." setting.
You could do that for the whole system or use the script files
for doing advanced things (something like "if %CD%==projectA set ANT_OPTS=loggerFoo")


>-----Urspr√ľngliche Nachricht-----
>Von: Steven Anderson [] 
>Gesendet: Donnerstag, 11. Mai 2006 00:22
>Betreff: Define the logger in a properties file?
>I'd like to use for all my 
>builds, so I'd like to have it in my file 
>rather than having to call it as a command-line option.  I 
>couldn't find a property for doing this, though.
>Is it possible to define the logger in a properties file/

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message