Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   How do you continue to build to next project folder after a failed step? (https://www.kinook.com/Forum/showthread.php?t=2815)

ambalboa 07-19-2007 12:06 PM

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?

kinook 07-19-2007 02:38 PM

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

ambalboa 08-23-2007 06:00 PM

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.


All times are GMT -5. The time now is 06:52 AM.


Copyright © 1999-2023 Kinook Software, Inc.