Julian,
I just replied without reading your ps. Sorry about that.

Execution should only continue if failonerror is set to false for that available task. However the available task should catch the
invalid format exception and throw a build exception with a nice message so that you can see where the failur occurred.


Ian

Oops, it turns out it wasn't getting to the <fail> task after all.
The internal error arose when I executed this task instead:

<available type="File" resource="not${xmlfile}" property="xmlfile.exists"/>

I was testing my build file and wanted to see what would
happen if the file tested in the available tasks did not exist.
So I changed the resource from ${xmlfile} to not${xmlfile}.
This made an invalid filename, and <available> blew up.

So, here's a better description of the bug:

<available> fails when resource being tested is invalid path

Execution should continue, indicating resource is not available.


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers






-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to