Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 45794 invoked from network); 25 Oct 2008 14:34:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Oct 2008 14:34:24 -0000 Received: (qmail 17281 invoked by uid 500); 25 Oct 2008 14:34:28 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 17258 invoked by uid 500); 25 Oct 2008 14:34:28 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 17249 invoked by uid 99); 25 Oct 2008 14:34:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Oct 2008 07:34:28 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Oct 2008 14:33:24 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 31DC8234C233; Sat, 25 Oct 2008 07:33:33 -0700 (PDT) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 46089] New: Build target specification on command line can be enhanced X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: asusnjar@hotmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sat, 25 Oct 2008 07:33:33 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=46089 Summary: Build target specification on command line can be enhanced Product: Ant Version: 1.7.1 Platform: PC OS/Version: Windows Vista Status: NEW Severity: enhancement Priority: P2 Component: Core AssignedTo: notifications@ant.apache.org ReportedBy: asusnjar@hotmail.com Consider the following: If one runs targets "b" and "c" from the command line, the target "a" will run twice: 1. a 2. b 3. a 4. c Granted, target "a" may be "smart" and skip most of its processing if it discovers that it has already run. However, even that creates some overhead and additional console or log output and requires it to be made smart. I haven't found a way around this except by creating my own shell for ant that creates new targets dynamically and then runs those. In my example, running "b+c" instead of "b c" would result in "a b c" instead of "a b a c" execution. I believe something like this may be useful for general public. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.