ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: -l logfile
Date Mon, 31 Oct 2005 13:13:30 GMT
>It is possible to define a logfile(path) using the -l option.
>Is there a property that can be accessed out of the ant script 
>to read the path of the logfile?
>
>Remo

I dont think so, but I havent looked at oata.launch.Launcher and
oata.Main.
The idea is to configure the registered BuildListeners with -l. Ant
itself
shouldnt rely on any knowledge about the used listener.

Again - you could set a property while starting Ant. Maybe via a custom
wrapper:
    call ant.bat -Dlogger=%ANT_LOGGER% -Dlogfile=%ANT_LOGFILE% -logger
%ANT_LOGGER% -logfile %ANT_LOGFILE% %*


Jan

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


Mime
View raw message