Kinook Software Forums

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-19-2007, 01: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, 03:38 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,754
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, 07: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

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 06:21 PM.


Copyright 1999-2019 Kinook Software, Inc.