With the following targets defined:
<target name="A" />
<target name="B" depends="A">
<call target="C"/>
</target>
<target name="C" depends="A" />
If I build target B, I get the following results:
NAnt 0.85 (Build 0.85.1775.0; nightly; 11/10/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/_Commons/Support/Test/test.build
Target(s) specified: B
A:
B:
A:
C:
BUILD SUCCEEDED
Please note that target A was built twice. I believe that in 0.85, the <call> task has been modified to force the target execution (here target C). However, it doesn't make sense that it would force that target's dependencies (here target A) to be built as well. I would expect target C's depends attribute to honor the fact that target A had previously been built. Is this the expected behavior?
Thanks,
Tom