Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-23-2004, 11:47 AM
gilc gilc is online now
Registered User
 
Join Date: 12-10-2003
Posts: 3
Problem with 3.5b (parent-child issue)

Given several steps, some of which are nested children of another step, the child steps are performed even if the parent step is NOT CHECKED.

Is there a way to make this work properly (If the parent is NOT checked, don't perform child steps)?
Is this fixed in a newer version?

Thank you.

EDIT: also, it would be nice if, when the user checked on a child it automatically checked the parent too.

What's the point of the parent child if this isn't or cannot be enforced?

Last edited by gilc; 04-23-2004 at 11:53 AM.
Reply With Quote
  #2  
Old 04-24-2004, 06:44 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Visual Build Pro has an option that determines whether the 'Include in Build' flag is nested or not (defaulted to on). See this FAQ for more details: http://www.kinook.com/Forum/showthread.php?threadid=220
Reply With Quote
  #3  
Old 04-25-2004, 03:59 PM
pjaquiery pjaquiery is online now
Registered User
 
Join Date: 01-20-2003
Location: Dunedin, New Zealand
Posts: 114
There is a gotch here: If there is a build step test for the child step it is parsed whether the "include in build" step is checked or not (on either the parent or the child). The result of this is that if the test references macros, or has side effects, things are likely to go pear shaped.

A work around is to put the child steps in a subroutine. That way they don't get looked at at all if the calling step is not included in the build.
Reply With Quote
Reply

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 08:38 AM.


Copyright © 1999-2023 Kinook Software, Inc.