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 07-19-2007, 12:06 PM
ambalboa ambalboa is online now
Registered User
 
Join Date: 06-25-2007
Location: Houston, TX
Posts: 70
How do you continue to build to next project folder after a failed step?

I want to continue building after a failed step, but instead of continue building the next step, I want to exit the folder I am building in and start on the next project folder. Can that be done?
Reply With Quote
  #2  
Old 07-19-2007, 02:38 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Put the group of steps in a subroutine and configure the step(s) to 'Exit subroutine/build' on failure.
http://www.visualbuild.com/Manual/su...callaction.htm
http://www.visualbuild.com/Manual/stepproperties.htm
Reply With Quote
  #3  
Old 08-23-2007, 06:00 PM
ambalboa ambalboa is online now
Registered User
 
Join Date: 06-25-2007
Location: Houston, TX
Posts: 70
That's a solution for VBP 6.4, I have 6.2. My fault, I should have told you that detail. Still, I was able to figure it out by creating a build rule which evaluates the FAILSTEP_STATUS. When it's 1 (which means failure), skip, when its 0, build. Then it enters the next project folder which is where the FAILSTEP_STATUS is updated back to 0 to begin building that group of steps. I wrote some lines of script on the Step tab in Script Editor which sets FAILSTEP_STATUS back to 0. Here is that info.

Function vbld_StepStarting()
Set failedstatus = vbld_AllMacros()("FAILSTEP_STATUS")
failedstatus.Value = 0
End Function

Thanks for your time and help.
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 03:17 PM.


Copyright © 1999-2023 Kinook Software, Inc.