ay 17, 2002 11:25 AM
To: 'NAnt Developers'
Cc: 'Brad Wilson'
Subject: RE: [nant-dev] Possible bug calling the same target more than
once
That sounds like a great idea. Actually I made a change similar to that
earlier today and the everything worked fine... Except.
It seems th
Title: RE: [nant-dev] Possible bug calling the same target more than once
That sounds like a great idea. Actually I made a change similar to that earlier today and the everything worked fine... Except.
It seems there is an issue with referencing properties inside the called target. The
This is a good point and idea. It seems like a valid feature.
I don't think that we need to change the structure of the core all that
much. I've written a copy constructor for Target that resets the
_hasExecuted bit so each copy can be executed again.
//Copy ctor
public Target(Ta
Title: RE: [nant-dev] Possible bug calling the same target more than once
That's a good point, targets really aren't subroutines, but shouldn't there be a way to call a reusable chunk of build code from within a given target.
Does Ant have anything like a subroutine task? I
Browning, Don wrote:
> [...] the first time I run the target everything executes fine, but the
> second time I call that same target, nothing happens.
I believe this to be by design. I ran into this too, but didn't send an
e-mail, for the simple reason that I decided I was using NAnt in a way th