Troy Laurin wrote:
Chris,

Try the <trycatch> task in recent releases of nant-contrib (it is in RC2).
http://nantcontrib.sourceforge.net/release/latest/help/tasks/trycatch.html

Note that nant-contrib and nant should be at the same version for
maximum compatibility.

Regards,



I wish I had known about this! My solution was to separate all the subtasks into separate build files, call them with <nant> and create flag files to indicate failure (urgh). I can't see any advantage of doing this now so I guess I will be doing a lot of task re-writing!

Ashley



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to