Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 9906 invoked from network); 13 Oct 2003 20:48:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Oct 2003 20:48:35 -0000 Received: (qmail 92427 invoked by uid 500); 13 Oct 2003 20:48:20 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 92386 invoked by uid 500); 13 Oct 2003 20:48:20 -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 92373 invoked from network); 13 Oct 2003 20:48:20 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 13 Oct 2003 20:48:20 -0000 Received: (qmail 29948 invoked by uid 50); 13 Oct 2003 20:51:29 -0000 Date: 13 Oct 2003 20:51:29 -0000 Message-ID: <20031013205129.29946.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 19967] - Skip input task if property already set 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=19967 Skip input task if property already set ------- Additional Comments From andy.wood@ditg.tv 2003-10-13 20:51 ------- Hi Steve ${foo} Gives output of: Buildfile: ../../test.xml test: [input] skipping input as property foo has already been set. [input] enter value for foo: fred [echo] bar BUILD SUCCESSFUL Total time: 3 seconds That's running with a vanilla binary download of ant 1.6beta1. If you look at Input.java's execute method: public void execute () throws BuildException { if (addproperty != null && getProject().getProperty(addproperty) != null) { log("skipping " + getTaskName() + " as property " + addproperty + " has already been set."); } InputRequest request = null; : : } There appears to be no other action than logging being taken. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org