Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-18-2006, 08:06 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
While investigating this, we found that there is a bug in handling of nested script expressions that reference the Step, FailedStep, or LastStep objects. In VBP v6, the value of the FAILSTEP_NAME system macro is the script expression [FailedStep.Name]. Your build rule is itself a script expression; with macros expanded [FailedStep.Name] is a nested expression within it, and the bug prevents FailedStep from being evaluated properly. One workaround would be to use

FailedStep.Name

(no quotes) in place of

"%FAILSTEP_NAME%"

in your build rule expression to eliminate the nested script expression. We've also patched the main download with a fix for the problem.

Finally, just FYI, another way (in v6) to approach selective building of failure steps depending on the step that failed would be to specify a failure step subroutine to build for the various project/subroutine steps that require different failure steps to be built.
Reply With Quote
 


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:35 AM.


Copyright © 1999-2023 Kinook Software, Inc.