Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 15005 invoked from network); 23 Jul 2002 19:06:02 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 Jul 2002 19:06:02 -0000 Received: (qmail 1562 invoked by uid 97); 23 Jul 2002 19:06:19 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 1526 invoked by uid 97); 23 Jul 2002 19:06:18 -0000 Mailing-List: contact ant-dev-help@jakarta.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 ant-dev@jakarta.apache.org Received: (qmail 1435 invoked by uid 50); 23 Jul 2002 19:06:16 -0000 Date: 23 Jul 2002 19:06:16 -0000 Message-ID: <20020723190616.1430.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 11098] New: - Targets specified on command line rerun dependencies X-Spam-Rating: daedalus.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=11098 Targets specified on command line rerun dependencies Summary: Targets specified on command line rerun dependencies Product: Ant Version: 1.4.1 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: ant-dev@jakarta.apache.org ReportedBy: andrew.j.delpha@seabury.com If target a depends on target c, and target b depends on target c, I believe that running "ant a b" would run target c only once (and targets would run in the order c a b). Instead it runs c a c b. According to the documentation at http://jakarta.apache.org/ant/manual/using.html#targets "A target gets executed only once, even when more than one target depends on it ". I reproduced this under ant 1.5 under linux, and ant 1.4 under windows also. A sample build file and the resulting execution from ant 1.4.1 on linux are included below. ========================================================== ========================================================== [adelpha@lightman antTest]$ ant a b Buildfile: build.xml c: [echo] Running c a: [echo] Running a c: [echo] Running c b: [echo] Running b BUILD SUCCESSFUL Total time: 1 second [adelpha@lightman antTest]$ ========================================================== -- To unsubscribe, e-mail: For additional commands, e-mail: