Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-10-2006, 11:01 AM
autodesk autodesk is online now
Registered User
 
Join Date: 07-19-2006
Posts: 10
Log of nested VB projects

Hi there. I have a VB project that calls multiple other VB projects. I am trying to produce a complete log that includes all the "child" projects as well as the "parent" project.

I looked at the default log file, and it only contains logs from the begining of the last "child" project, to the end of the "parent".

I tired to use "write log" action before calling each "child" project to append the log up to that point to a complete log file. I was able to produce a complete log, but there was one odd problem. The first part of each "child" project (the first 10 steps or so) is repeated twice in the complete log. Any ideas? Thanks!
Reply With Quote
  #2  
Old 08-10-2006, 11:59 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
As long as all projects write to the same log file (for instance, by configuring globally at Tools | Application Options | Logging, or defining at File | Properties | Logging for the parent project and specifying a log filename of %LOGFILE% when chaining) and you don't have 'Tools | Application Options | Logging | Delete log file at the start of each build' checked (and are not deleting the log file within the build), the log file will automatically contain the output of the parent and all chained builds. The attached sample logs the output of the parent and all child projects (to test.log in the path of the .bld files) in my tests.

If that doesn't help, please ZIP and send or post:
1) The info from Help | About | Install Info
2) A reproducible test case (.bld file that can be built here and reproduces the problem)
3) The build log file
Attached Files
File Type: zip chain.zip (695 Bytes, 788 views)
Reply With Quote
  #3  
Old 08-10-2006, 12:23 PM
autodesk autodesk is online now
Registered User
 
Join Date: 07-19-2006
Posts: 10
Yes, the project level log file took care of it. The problem was that all of the build projects were logging to the global log file and they were all set to clear the contents of the file before starting to log.

Thank you!!

Nabil
Reply With Quote
Reply

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 09:49 AM.


Copyright © 1999-2023 Kinook Software, Inc.