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 01-23-2006, 02:50 PM
jnapier jnapier is online now
Registered User
 
Join Date: 07-29-2003
Posts: 32
Continuous Failure Loop

I ran into a problem with the failure steps of one of my build scripts. The first Filure step calls a Global Sub Routine called Rollback Vs.Net solution to Latest Backup. Now, if one of the steps of this sub routine fails then the Failure Steps start over and I get into a continuous loop that never ends.

What is the best way to prevent this?

I have tried checking Continue Building and that has no effect. I have tried to specify a build failure step and that has no effect either.
Reply With Quote
  #2  
Old 01-23-2006, 03:58 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Either uncheck the 'Build failure steps' checkbox on the global subroutine steps that get called from failure steps or set the failure subroutine to call on those steps to a failure subroutine that doesn't include the same steps that are called for other steps that might fail. The second method worked in my tests; please ZIP and post/send a reproducible test case for "I have tried to specify a build failure step and that has no effect either."
Reply With Quote
  #3  
Old 01-23-2006, 04:51 PM
jnapier jnapier is online now
Registered User
 
Join Date: 07-29-2003
Posts: 32
Sounds like you are saying that Failure Steps can only call global sub routines that have the "Build Failure Steps" checkbox selected. Is that the case?
Reply With Quote
  #4  
Old 01-23-2006, 05:27 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
No, it can work either way, but if it is checked, you'll need to ensure that a failing failure step doesn't get called again if the global subroutine step called from a failure step fails.
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 04:04 AM.


Copyright © 1999-2023 Kinook Software, Inc.