Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 40873 invoked from network); 21 Nov 2003 21:54:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Nov 2003 21:54:43 -0000 Received: (qmail 32456 invoked by uid 500); 21 Nov 2003 21:54:28 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 32431 invoked by uid 500); 21 Nov 2003 21:54:28 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 32418 invoked from network); 21 Nov 2003 21:54:28 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 21 Nov 2003 21:54:28 -0000 Received: (qmail 29903 invoked by uid 50); 21 Nov 2003 21:54:40 -0000 Date: 21 Nov 2003 21:54:40 -0000 Message-ID: <20031121215440.29902.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 24877] - exec task doesn't handle error conditions well X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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 eric@timebytes.com 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 - but where does the ugliness end?? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org