DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24877>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24877

exec task doesn't handle error conditions well





------- Additional Comments From [EMAIL PROTECTED]  2003-11-21 21:54 -------
OK, here's an update: the suggestion to set a property based on the return 
value doesn't work when you're execing more than one sub-program.

Why?

Because of the way Ant properties work - they're immutable.  So after the first 
exec call, execError and errorText are both set and can't be changed! I suppose 
I could bury each exec call in an ant task that I <antcall> - but where does 
the ugliness end??

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to