Re: [NAnt-users] dependancy persistance or resetting?

2008-09-03 Thread Gert Driesen
Steve, You can just set the cascade attribute to false. Hope this helps, Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kapinos Sent: woensdag 3 september 2008 14:57 To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] dependancy

Re: [NAnt-users] dependancy persistance or resetting?

2008-09-03 Thread Dominic Hamon
You can use the bool target::has-executed(name) function inside of the process-traces target instead of a dependency check. Ie, the process-traces target would also contain a chain of 'call' tasks, but each would contain this 'unless' test. For example, inside process-traces, you'd have: y

Re: [NAnt-users] dependancy persistance or resetting?

2008-09-03 Thread Steve Kapinos
Found my own answer... http://nant.sourceforge.net/release/0.85-rc1/help/fundamentals/targets.h tml " A target gets executed only once, even when more than one target depends on it (see the previous example). However, when the task is used to execute a target, both the target and all its depende

[NAnt-users] dependancy persistance or resetting?

2008-09-03 Thread Steve Kapinos
I have a build file setup where one main body, calls several other targets acting like functions. It was setup this way because the sequence of the events was critical, and the job was specified it had to run in a single pass. So my main target looks like this