Yes, sure I can define a property with the value(path) of the logfile. But I thought they may be such a property so this would happen automaticly.
Doesnt matter, i'll do it the "custom property" way... Remo > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Montag, 31. Oktober 2005 14:14 > To: [email protected] > Subject: AW: -l logfile > > >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: [EMAIL PROTECTED] For > additional commands, e-mail: [EMAIL PROTECTED] > > > ____________________________________________________________ > This message has been checked for all known viruses by Messagelabs. > ____________________________________________________________ This message may contain legally privileged or confidential information and is therefore addressed to the named persons only. The recipient should inform the sender and delete this message, if he/she is not named as addressee. The sender disclaims any and all liability for the integrity and punctuality of this message. The sender has activated an automatic virus scanning by Messagelabs, but does not guarantee the virus free transmission of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
