ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
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?

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

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


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

View raw message