Re: [NAnt-users] Using the Fail Task Conditionally

2011-07-13 Thread Adam Bruss
ttp://www.awrcorp.com/> From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com] Sent: Wednesday, July 13, 2011 12:07 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Using the Fail Task Conditionally I'm using the "if" task in my build script to test a conditio

[NAnt-users] Using the Fail Task Conditionally

2011-07-13 Thread Macdiarmid, James D.
I'm using the "if" task in my build script to test a condition. If the condition is true, I want to send an email out then fail the build. Does it matter where I put the "fail" task? For example, should I put my "Mail" task first, then the "fail" task, or fail first then put the "Mail" task?