On Wed, 23 Feb 2005 10:00:40 +1300, Orion Edwards <[EMAIL PROTECTED]> wrote: > Hi, just joined this list because I'm planning on transitioning our current > build process (which is a big mess of shell scripts under cygwin) over to > NAnt. > Thus far I like it a lot, however there was one critical thing which NAnt > didn't do, and which I couldn't find anything indicating how I might do it - > which is to continue the build upon project failure (after running failure > actions such as emailing), rather than just dying on the spot. > > As such I fixed it myself (score +10 for Open Source)... If anyone else has > already done this or knows of a more 'normal' means, can you please let me > know, otherwise here's some patches for 0.85-rc2.
Orion, NAntContrib RC2 has a <trycatch> task which you can probably use to effect the same behaviour as you've patched in yourself. http://nantcontrib.sourceforge.net/ http://nantcontrib.sourceforge.net/release/latest/help/tasks/trycatch.html > [snip] > > I'm kind of expecting someone to come back and say 'no we don't want that, go > away', but if by some small chance someone wants to include it, if I have to > jump through any hoops before submitting patches (signing agreements/etc) then > could you point me in the right direction? Usually, there is nothing that needs to be done that can't be done via tasks instead of by modifying the core. Of course, you have the source so there's nothing to stop you from doing so, but having a custom core would probably make upgrading much harder than if you use custom tasks. Of course this is all IMHO, you are more than welcome to use whatever method works :-) > Thanks for the great product and for your time, Orion. Thanks for your support, -- Troy ------------------------------------------------------- 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-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers