Re: [Nant-users] Code conditional on whether a target is defined...

2005-05-10 Thread Gary Feldman
Sandeep wrote: Hi Gary, Does target::has-executed('someOtherTarget') return false if the target execution has failed (It executed though)? I want to execute a target only if the given target (someOtherTarget) has executed successfully. I doubt it. Why don't you try it and see? Gary ---

RE: [Nant-users] Code conditional on whether a target is defined...

2005-05-10 Thread Sandeep
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Feldman Sent: Tuesday, May 10, 2005 2:51 PM To: nant-users@lists.sourceforge.net Subject: Re: [Nant-users] Code conditional on whether a target is defined... Bevan Arps wrote: >>Depending on whether a target is defined or not I >>w

Re: [Nant-users] Code conditional on whether a target is defined...

2005-05-10 Thread Gary Feldman
Bevan Arps wrote: Depending on whether a target is defined or not I want to perform certain operations. I don't know of any way to check to see if a particular target *is going* to be called - but you can define a property to tell if it *has* been run. It's unnecessary to define a proper

RE: [Nant-users] Code conditional on whether a target is defined...

2005-05-10 Thread Bevan Arps
Hi Thomas. > Depending on whether a target is defined or not I > want to perform certain operations. I don't know of any way to check to see if a particular target *is going* to be called - but you can define a property to tell if it *has* been run. > The checkin target will ONLY run when the