That's EXACTLY what I am after - brilliant.  Thanks.

-----Original Message-----
From: Troy Laurin [mailto:[EMAIL PROTECTED] 
Sent: 14 February 2005 14:27
To: Chris Fewtrell
Cc: nant-users@lists.sourceforge.net
Subject: Re: [Nant-users] Feature Request: Failed/success property

Chris Fewtrell wrote:

> Hi
>  
> In build scripts, often I want to carry on executing the script even 
> though the last task has failed (ie. use failonerror="false") but I 
> would like to know that the preceeding step has failed so I can do 
> some different processing to normal.
>  
> What do you think of the idea of having a "property" attribute on all 
> tasks, which contains the name of the property that after task 
> completion contains true if the task went ok or false if the task
failed.

Chris,

There's a <trycatch> task in NAntContrib 0.85 RC2
http://nantcontrib.sourceforge.net/release/latest/help/tasks/trycatch.ht
ml

You should be able to do what you need with this.


Regards,

-- Troy

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System
-  for inbound mail to Granta Design Ltd.
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System
- after being sent from Granta Design Ltd 
______________________________________________________________________


-------------------------------------------------------
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_ide95&alloc_id396&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to