Hi, OK, I've now got my code that loops through the log file looking for lines with fail in working (thanks guys). Now, I want to expand on that.
If one or more lines contains fail, I want to fail the build, but only after I've looped all rows and printed out the fails, so my build log email will look like: [echo] Change 1 failed [echo] Change 87 failed [echo] Change 987 failed [fail] Build failed, one or more change programs failed to apply Can this be done? If so how? Can I set a property in the <do> element and make behaviour depend on that? Or would I need to do a <script> element and do it all by hand? Cheers, Mike -- Michael Jervis [EMAIL PROTECTED] 504B03041400000008008F846431E3543A820800000006000000060000007765 62676F642B4F4D4ACF4F0100504B010214001400000008008F846431E3543A82 0800000006000000060000000000000000002000000000000000776562676F64 504B05060000000001000100340000002C0000000000 ------------------------------------------------------------------------- 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