Thread: Build rules
View Single Post
  #1  
Old 03-10-2005, 04:06 AM
Andrew Andrew is online now
Registered User
 
Join Date: 12-01-2004
Posts: 19
Question Build rules

I have a question about nested groups and build rules.

Outside a group I initialize a macro SKIP with the value 1. The group 'Group' has a build rule to build only if the macro SKIP is not equal to 1. This has the desired effect and the group is skipped. The following steps are also skipped but the subgroup 'Subgroup' that also has a build rule gives a macro error because the macro that is used in the build rule was never created because it is skipped.

Now for the question, am I correct in assuming that if a group is skipped, all the substeps should be skipped (even if they have a build rule that can't be executed)?

Attached you can find a sample project that has the described effect.

PS: I'm using vbp 5.7
Attached Files
File Type: zip buildrule.zip (451 Bytes, 1193 views)
Reply With Quote