trailway
09-30-2009, 04:00 PM
I have a newbie question.
I added a trivial step, not in a group, which has a script which simply prints a string when run. I then added a conditional build rule that the step should only execute when a certain global macro is true. I cannot get to seem to get this to work, i.e. it executes not matter what.
If I enclose the step inside a Group and put the conditional rule on the group then it behaves as I thought that it would, i.e. if the global macro is not true then it does not execute.
What am I missing?
I added a trivial step, not in a group, which has a script which simply prints a string when run. I then added a conditional build rule that the step should only execute when a certain global macro is true. I cannot get to seem to get this to work, i.e. it executes not matter what.
If I enclose the step inside a Group and put the conditional rule on the group then it behaves as I thought that it would, i.e. if the global macro is not true then it does not execute.
What am I missing?