PDA

View Full Version : How to send Visual Build log file by e-mail


ilyar
06-17-2003, 01:13 AM
I looked at Logging.bld project in Sample folder and build it but all XML log handling steps were sciped because of
[Len(%QUOTE_STR(%LOGFILE%)%) > 0 And Application.Options.LogFormat = "XML"] condition.
Nothing was sent.
How can I make it send log file by e-mail after build fails or succeds?

kinook
06-17-2003, 06:41 AM
Go to Tools | Application Options on the menu, switch to the Logging tab, check 'Enable file logging', enter a filename in the Log Filename field, and change Format to XML.

ilyar
06-17-2003, 07:11 AM
Hi kinook.

Everything works thanks.
But I want to get log file after build finnished exactly like it is in log pane I mean like *.txt or *.html
How can I do it?

Thanks in advance.
Ilya.

kinook
06-18-2003, 07:31 AM
The Text log format will have output that is close to what is displayed in the output pane. It will not contain the 'build completed' line if sent from within a build, since the build hasn't actually completed until after the last step completes; you can add a Log Message step before your send mail step to add that if you wish.