Exactly what I was looking for. Thanks.
________________________________
From: Jay Flowers [mailto:[EMAIL PROTECTED]
Sent: 15 février 2007 09:58
To: Stephane Hamel
Subject: Re: [NAnt-users] warn task? (as opposed to fail task)
<echo level="Warning" message="This is a test of the emergency broadcast
system!" />
On 2/15/07, Stephane Hamel < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >
wrote:
Hi,
Is there a task equivalent to fail, but to generate a warning instead of a
failure?
If I use the fail task and set the failonerror to false, the script completes
with this summary:
BUILD SUCCEEDED - 1 non-fatal error(s), 0 warning(s)
I would like to get the following summary instead:
BUILD SUCCEEDED - 0 error(s), 1 warning(s)
My goal is to generate a warning when a specific property does not exist. My
script then continues with a default value.
Thanks
Stephane
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
--
Jay Flowers
----------------------------------------------------------------------
http://jayflowers.com
---------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users