Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Thread Tools Rate Thread Display Modes
Old 09-11-2003, 10:52 AM
Shuang Shuang is online now
Registered User
Join Date: 09-04-2003
Posts: 6
Unhappy Conditional build rule and grandchild steps

I set up a conditional rule for a group. I intend to apply this rule to all steps within this group. But apparently it has applied only to the child steps immediately below the group. The rule was ignored by a grandchild group which has an additional build rule. Any insights?

I am on version 4.6b.
Reply With Quote
Old 09-11-2003, 11:39 AM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,751
The information below should answer your question. If not, post a sample project demonstrating the problem you're experiencing.

From the 'Conditional Build Rules' help topic:

A conditional build rule normally applies to the current step and all child steps (steps below and indented from the step), so a build rule can easily be applied to a block of steps. Normally rules are nested (if a child step also defines a build rule, the parent and child step's rules must evaluate true). Note: this behavior can be overridden by disabling the option for nesting of rules in Application options.

From the 'Application Options -> General' help topic:

Implement nesting of conditional build rules: If this option is checked, nesting of build rules is performed: If a step and one or more of its parent steps contains a conditional build rule, all the rules must evaluate to true for that step to be built. Conditional build rules are not evaluated for steps that are not marked to be included in the build.

Re-evaluate all conditional build rules for each step: If checked, all build rules that apply to the current step (its rule and the rule of any parent steps if nesting of build rules is enabled) are re-evaluated before each step is built; if not checked, only the current step's rule is evaluated, and the previous evaluation result of any parent steps' rules are used.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 11:10 AM.

Copyright 1999-2019 Kinook Software, Inc.