Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Using Build Log in XML (https://www.kinook.com/Forum/showthread.php?t=1399)

vbNullString 12-15-2005 03:57 PM

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.

kinook 12-15-2005 08:27 PM

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 http://www.visualbuild.com/Manual/?t...mlogaction.htm for more details.


All times are GMT -5. The time now is 02:20 AM.


Copyright © 1999-2023 Kinook Software, Inc.