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)
-   -   Reset next step using VBScript (https://www.kinook.com/Forum/showthread.php?t=1673)

modernrocketry 04-06-2006 01:20 PM

Reset next step using VBScript
 
I am a newbie to VBP and have a question:

I know you can save the status of a build (see SaveStatus.bld) however I also want to reset the step that is run when that build is started again.

Can I do this with VBScript?

example

Build file contains:
1. init env
2. clean dir's
3. get
4. compile

if compile fails, I want the build to resume the next build at step 2 (clean dir's) not step 4

Thanks
mr

kinook 04-06-2006 05:01 PM

Yes, you can programmatically modify the BuildStatus property of the appropriate step(s) before saving.
http://www.visualbuild.com/Manual/bu...usproperty.htm
http://www.visualbuild.com/Manual/stepsproperty.htm
http://www.visualbuild.com/Manual/objectmodel.htm


All times are GMT -5. The time now is 07:00 PM.


Copyright © 1999-2023 Kinook Software, Inc.