Rod Ayers wrote:
Is there a way to exit from a task without completing the entire
ask...other then <fail/>(!!)...?
I assume you really mean exit from a target.
Usually the right way to solve this is to restructure the target,
separating the part that always gets executed from the part that's
optional. There are a number of way of doing this. You can use the
<call> task with an if/unless condition. You could also put the
condition on the optional target. In some cases, you might want to omit
the condition from the first part, and instead have a parent target that
depends upon the two, with the condition on the optional target.
Gary
*/Thanks...!/*
*/Rod Ayers/*
Lead Build Release Engineer
Configuration Management
Desk Phone: (949) 517-0527
Blackberry: (949) 355-9874
3337 Michelson Dr., Irvine, CA 92612
Suite 340
B-414.05
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users