Not sure if there's anything built in but we use a custom property to track
warnings and report it in the e-mail. Works well for us.
HTH,
Sam
-------------------------------------------
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephane
Hamel
Sent: Thursday, February 15, 2007 9:54 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] warn task? (as opposed to fail task)
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