Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-16-2004, 06:20 PM
cummineg cummineg is online now
Registered User
 
Join Date: 02-16-2004
Posts: 2
Corrupt Log File

Hi,

I have project level logging enabled, and the xml log file is being corrupted with the attached .bld file.

Any help would be appreciated.

Thanks,
Greg
Attached Files
File Type: bld corruptlogfile.bld (8.3 KB, 12612 views)
Reply With Quote
  #2  
Old 02-16-2004, 06:42 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
http://www.kinook.com/Forum/showthread.php?threadid=314

http://www.kinook.com/Forum/forumdisplay.php?forumid=15
Reply With Quote
  #3  
Old 02-16-2004, 08:27 PM
cummineg cummineg is online now
Registered User
 
Join Date: 02-16-2004
Posts: 2
Thank you for the links. I had previously read these links and found my problem to be most related to thread 314, in which the xml file does not get written to until a subsequent logging call. The developer was trying to use a macro that has not yet been expanded. In this case the recommendation is to create the macro in script on startup.

I don't believe this is my problem, but I do see the same error message, and I am not trying to use a project level macro that needs expansion. Certainly something is corrupting the log file, but I can't determine what this is.

The previous post contains the .bld file for examination.
Reply With Quote
  #4  
Old 02-17-2004, 07:31 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
I did look at your log file, and the same issue seems to apply. The project LOGFILE macro references %WORK_ROOT%, which is not defined at the project level, and the global macro WORK_ROOT gets created by the 'Prepare LocalHost Work Root' step during the build. The WORK_ROOT macro cannot change during the build when using XML logging, or part of log file will get written in one place and the rest somewhere else, resulting in two incomplete XML documents.
Reply With Quote
Reply


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 05:13 AM.


Copyright © 1999-2023 Kinook Software, Inc.