Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-04-2005, 03:59 PM
Murrgon Murrgon is online now
Registered User
 
Join Date: 07-28-2005
Posts: 19
Build step not being skipped

I have a number of build steps that are set to run only if the %Build_TestSucceeded% macro is set to "True". The first six steps with this rule are skipped just fine, but the seventh one gives me a VBScript error in the vbld_StepDone function. Is this function being run regardless of whether the build step was actually executed?

Thanks
Reply With Quote
  #2  
Old 08-04-2005, 05:51 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
The vbld_StepDone event still fires if a step's action is skipped. If you need to execute some logic in the event only if it wasn't skipped, use code like this:

If Step.BuildStatus <> vbldStepStatSkipped Then
' logic if not skipped goes here
End If
Reply With Quote
  #3  
Old 08-05-2005, 08:45 AM
Murrgon Murrgon is online now
Registered User
 
Join Date: 07-28-2005
Posts: 19
Okay, I got around that problem. However, if I have the "Repeat step while condition is true" check box enabled, does it execute all of the vbld_StepStart() .. vbld_StepDone() functions for each iteration, or just once for the entire number of times it loops?
Reply With Quote
  #4  
Old 08-05-2005, 02:57 PM
kevina kevina is online now
Registered User
 
Join Date: 03-26-2003
Posts: 825
The events will each fire once for every step iteration.
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 07:18 AM.


Copyright © 1999-2023 Kinook Software, Inc.