Kinook Software Forums

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-03-2006, 07:38 AM
Dave_Novak Dave_Novak is online now
Registered User
 
Join Date: 04-13-2006
Location: Atlanta, GA
Posts: 64
StepStarted event not behaving as documented

According to the documentation (see http://www.kinook.com/VBP/Manual/ind...riptevents.htm), we are told “The StepStarted and StepDone events fire even if the step is skipped. Use conditional logic (VBScript syntax) like If Step.BuildStatus <> vbldStepStatSkipped Then ... to perform event logic only if the step was not skipped.”

I am handling the vbld_StepStartedProject() and I can tell you from experience that Step.BuildStatus is never vbldStepStatSkipped, even if the step is skipped. The only way I can find out if it is skipped is through the vbld_StepDoneProject event. Step.BuildStatus is correct in the StepDone event.

Here’s a snippet from my vbld_StepStartedProject() handler:

If Step.BuildStatus = vbldStepStatSkipped Then
' return now -- this step was skipped
Exit Sub
End If


Am I doing something wrong or is the documentation wrong?

Last edited by Dave_Novak; 08-03-2006 at 06:42 PM.
Reply With Quote
  #2  
Old 08-03-2006, 02:32 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,754
The documentation is wrong (the status in the started event was not indicating skipped). This issue has been addressed in the v6.2 beta by not firing the started/done events for steps that are skipped. See here for more details on the beta:
http://www.kinook.com/Forum/showthre...?threadid=1973
Reply With Quote
  #3  
Old 08-03-2006, 06:42 PM
Dave_Novak Dave_Novak is online now
Registered User
 
Join Date: 04-13-2006
Location: Atlanta, GA
Posts: 64
That is definitely the way it should be handled. I can't wait for 6.2 to be released . . . for many reasons. Any ETA until gold? I think I'll now take a look at the beta.

Thanks!
Reply With Quote
  #4  
Old 08-04-2006, 09:10 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,754
Release Candidate would probably be more fitting. It's pretty solid, but we'd rather be proven wrong now than after the official release.
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 08:35 PM.


Copyright © 1999-2019 Kinook Software, Inc.