Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-23-2004, 02:49 PM
SuperJ SuperJ is online now
Registered User
 
Join Date: 06-23-2004
Location: St. Paul, MN
Posts: 5
Project Level Events

It would be nice to have global/project level events (vbld_StepStarting, vbld_StepStarted, and vbld_StepDone). For instance, I want the entire build to run (ignore failures on many steps), but want failures of all steps logged a certain way. The only way to accomplish this now (that I've come across) is to put the same script in all steps. If implemented, it could also be used for timing all the steps to find bottlenecks in the build process. ie. Set a macro in vbld_StepStarting to record the time, and diff it with the time at vbld_StepDone, and log that somewhere other than the standard log file.
Reply With Quote
  #2  
Old 06-23-2004, 09:21 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Call a common (project, global, etc.) script function from each step's build events; multi-select the steps to update their script code at once.
Reply With Quote
  #3  
Old 06-28-2004, 03:45 PM
SuperJ SuperJ is online now
Registered User
 
Join Date: 06-23-2004
Location: St. Paul, MN
Posts: 5
I understand that it's possible to do it that way (that's what I'm doing now), however, not as convenient. Especially when you're dealing with many build scripts, on numerous machines. Everytime a new step is added, I have to add the function call.
Reply With Quote
  #4  
Old 06-28-2004, 10:33 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
One thing you could do is add a step at the start of the project to update all other steps in the project to have the same script code as that step (see attached).

Also for custom logging, VBP allows you to create custom logging components and hook them into the logging process, which may be another option (see 'custom logger' in the help index for details).


Admin note: Implemented in v6
Attached Files
File Type: bld set_script.bld (1.6 KB, 2024 views)
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 08:17 AM.


Copyright © 1999-2023 Kinook Software, Inc.