Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Thread Tools Rate Thread Display Modes
Old 12-15-2005, 04:57 PM
vbNullString vbNullString is online now
Registered User
Join Date: 12-04-2005
Posts: 11
Unhappy Using Build Log in XML

I'm trying to use the XML build log as a data source for our build report. So I tried to parse the XML during the build, but I got an error saying that it wasn't well formatted. So I went back and checked it, and it wasn't. But then, when I check the XML file on the build server after the all the build steps and opened it up in IE, and it parsed the XML file just fine. So I guess log is written as each step is executed as text file, therefore the XML log file is in half-ass state when I try to use it during the build. Is there any way to resolve this issue? Or I just can't use the log file in XML format during the build?

My hope is that whenever XML text file is flushed on the disk, it want the XML file to be well formatted.
Reply With Quote
Old 12-15-2005, 09:27 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,757
The XML tags aren't closed until the build completes. To process the log file during the build, add a Transform XML Log action to close the tags (check 'Close ...tags', clear out the Stylesheet field, and specify an XML Output file), then perform your work on the file output from that step. See for more details.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 10:01 PM.

Copyright 1999-2019 Kinook Software, Inc.