After some more investigation, it's not that it's being ignored - it's that
when the build fails, the exec task sits there waiting for someone to hit
enter.  I can't figure out why - it doesn't sit there when the build
succeeds.

-----Original Message-----
From: John Barstow [mailto:[EMAIL PROTECTED]
Sent: Thursday, 5 June 2003 9:55 a.m.
To: Nant-Developers (E-mail)
Subject: [nant-dev] exec ignores failonerror?


Using the following target:

<target name="dev-logged" description="full development build (dev config,
full build)">
    <echo message="Logging build, see 'build.log' for results" />
    <exec program="nant" commandline="dev-full -l:build.log
-logger:SourceForge.NAnt.XmlLogger"  failonerror="false" />
    <mail from="[EMAIL PROTECTED]" tolist="[EMAIL PROTECTED]"
mailhost="example.com" files="build.log" subject="Build Results" />
</target>

I would expect the mail task to be called even when the build fails.  This
is not happening.  Can anyone explain/fix this. Using nant 0.8.2

John Barstow
Senior Developer
Grosvenor Financial Services Group Ltd


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to