RE: [nant-dev] Possible bug calling the same target more than once

2002-05-17 Thread Scott Hernandez
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

RE: [nant-dev] Possible bug calling the same target more than once

2002-05-17 Thread Browning, Don
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

RE: [nant-dev] Possible bug calling the same target more than once

2002-05-17 Thread Scott Hernandez
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

RE: [nant-dev] Possible bug calling the same target more than once

2002-05-16 Thread Browning, Don
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

Re: [nant-dev] Possible bug calling the same target more than once

2002-05-16 Thread Brad Wilson
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