Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 98730 invoked from network); 2 Oct 2004 20:13:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Oct 2004 20:13:18 -0000 Received: (qmail 82212 invoked by uid 500); 2 Oct 2004 20:13:12 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 82102 invoked by uid 500); 2 Oct 2004 20:13:11 -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 82079 invoked by uid 99); 2 Oct 2004 20:13:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 02 Oct 2004 13:13:08 -0700 Received: (qmail 18813 invoked by uid 50); 2 Oct 2004 20:15:01 -0000 Date: 2 Oct 2004 20:15:01 -0000 Message-ID: <20041002201501.18812.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 31513] New: - task dependencies are being executed even if 'if' attribute do not match X-Virus-Checked: Checked 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://issues.apache.org/bugzilla/show_bug.cgi?id=31513 task dependencies are being executed even if 'if' attribute do not match Summary: task dependencies are being executed even if 'if' attribute do not match Product: Ant Version: 1.6.2 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: Svante.U.Schubert@gmx.de Trying to run the build only if some preconditions are set, like the property containing a the path to an existing directory. Unfortunately all preconditions of an tasks are being addressed although the 'if' attribute of the task is not set and the task itself won't, this seems not to be the correct behavior. EXAMPLE: All targets listed as dependencies of 'build' are being addressed, although there is no valid precondition. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org