|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
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?
|
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
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. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|