i was just doing some profiling of our build and i noticed that
certain tasks were getting executed twice.  we use a mixture of call
tasks and depend attributes in our build file.  it seems that if a
target is *call*ed its *depend*encies are executed -- even if they
have been previously executed on a different *call* stack.  i'm not
too sure if this is a feature or a bug or if it is just a nant best
practice not to mix the two (calls and depends).  i've attached a
simple build file which demonstrates the problem.  i'm using nant
0.85rc3 and i hadn't noticed this problem in earlier nant builds
(though i could have overlooked it).
cheers,
owen.
-- 
Owen Rogers | http://dotnetjunkies.com/weblog/exortech |
CruiseControl.NET - http://ccnet.thoughtworks.com

Attachment: test.build
Description: Binary data



Reply via email to