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?

<If>
        <Mail>
        </Mail>
        <fail message=""></fail>
</if>

Or 

<If>
        <fail message=""></fail>
        <Mail>
        </Mail>
</if>


Thanks,
Jim
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to