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

Reply via email to