On 5/13/05, Ian MacLean <[EMAIL PROTECTED]> wrote:
Gary Feldman wrote:
> Check out the cascade attribute of the <call> task,
> http://nant.sourceforge.net/nightly/latest/help/tasks/call.html .
>
Thats exactly right - maybe another doc fix is required. cascade="true"
means execute dependencies and is the default.
>From the original email it sounds like the called task's dependencies are being executed even though they have already been called. My understanding of the cascade attribute from the documentation is that is governs whether the dependencies will be evaluated _at all_... that is, if cascade="false", then execute only the called target; if cascade="true", then evaluate the called target's dependencies as normal... ie, execute the called target's dependencies if they haven't already been executed.
Or is cascade more like an "extended force", whereby the called task and its entire dependency tree will always be executed?
--
Troy