----- Original Message ----- 
From: "Ivan Tarasov" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>
Sent: Wednesday, October 08, 2003 7:24 PM
Subject: Re[2]: [nant-dev] onFail patch


> Hello Gert,
>
> the problem is, that I don't want to get all the log (I want to track
> the subproject, which failed), and also, I want more than just sending
> e-mail. Here is one of the scenarios (again, the simplified one):
>
> just before the build, on the build script I check out build version
> file, then I increment the version and try to compile. In case of
> compilation failure I need to undo the checkout of the build version
> file.
>
> I consider, there is need for some kind of "destructor" or "catch/finally"
> construct, the patch covers some part of these functionality.

Ant actually solved this by adding a trycatch task (in AntContrib,
http://ant-contrib.sourceforge.net/tasks/trycatch.html)

Gert



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to