Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 94783 invoked from network); 4 Sep 2009 19:35:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Sep 2009 19:35:57 -0000 Received: (qmail 53661 invoked by uid 500); 4 Sep 2009 19:35:56 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 53573 invoked by uid 500); 4 Sep 2009 19:35:56 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 53563 invoked by uid 99); 4 Sep 2009 19:35:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 19:35:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of qazwart@gmail.com designates 209.85.218.212 as permitted sender) Received: from [209.85.218.212] (HELO mail-bw0-f212.google.com) (209.85.218.212) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 19:35:47 +0000 Received: by bwz8 with SMTP id 8so900640bwz.28 for ; Fri, 04 Sep 2009 12:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=3bvcstWrLLSA5EnmgoE6+JrjnDyCNN6iFzBeckD7yQk=; b=LDO/2glr4eM6RMROTFGmYxqH7b6XIRVTHdU+uvjveC9qRlia2T0V2avItd18joevET FJh9UhXmXWGn6cI89ryPbixr5KyDP5SMVB0GhYtkSup3tREd+9FM4Ne2mPINiF56CGyi WfUWCaQPj38MO1kgFqAWACJBP63qxOmfiJZ9w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=OXLCY883X36BuWBeeE2saqF6Jh0nazcsACJFZ8kaliD3YoTF2FpqI1lEtxpb+UvldK JPXegzUToiVeAJPNQb2/I6mEOFhmp5oatm+EQLsrGA8ypaAoqpuhtSblTUA7VtrNX3Yt qks2yCR+FKnEP0rYC7ppocZBwGey8Luzk8rIE= MIME-Version: 1.0 Received: by 10.204.163.19 with SMTP id y19mr9397868bkx.30.1252092924976; Fri, 04 Sep 2009 12:35:24 -0700 (PDT) In-Reply-To: <7c55bf80909030527oc65a7fayad35713914cf8f99@mail.gmail.com> References: <3313FE4D-A648-46B6-9315-8A5C72632321@pensioenpage.com> <7c55bf80909030503v60381d58re2b0754523bfbcfc@mail.gmail.com> <9EE86F1965E19E499C80DE52AC807B55051710FE@z011021.bk.fin.local> <7c55bf80909030527oc65a7fayad35713914cf8f99@mail.gmail.com> Date: Fri, 4 Sep 2009 15:35:24 -0400 Message-ID: Subject: Re: Proposal for improving Ant output (post-1.7) From: David Weintraub To: Ant Users List Content-Type: multipart/alternative; boundary=000325555d2604de100472c59af5 X-Virus-Checked: Checked by ClamAV on apache.org --000325555d2604de100472c59af5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You're thinking about Ant as a programming language. You assume that Ant tries to execute your target, sees the depends, and then executes that first. Ant is a build description tool. The very first thing Ant does is to build = a complete matrix dependency of all targets and then executes the targets based upon the matrix. It has no way of knowing at that point that target "d" called target "a". It simply knows that to execute "d", it must execute "a" first. Use the -default flag, and you can see it build the build dependency step. On Thu, Sep 3, 2009 at 8:27 AM, Francis GALIEGUE wrote: > On Thu, Sep 3, 2009 at 14:15, wrote: > > > > > > > > > > > > current output is > > a: > > b: > > c: > > d: > > > > What do you expect here? > > > > > > If you call target d, I suspect? Well, a is called from b and c, and b > is the first in the call chain. Ant will have resolved the fact that > there's no need to call a from c, right? > > So that would be: > > ---- > a (from b) (from d): > > b (from d): > > c (from d): > > d: > ---- > > -- > > Francis Galiegue > ONE2TEAM > Ing=E9nieur syst=E8me > Mob : +33 (0) 683 877 875 > Tel : +33 (0) 178 945 552 > fge@one2team.com > 40 avenue Raymond Poincar=E9 > 75116 Paris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --=20 David Weintraub qazwart@gmail.com --000325555d2604de100472c59af5--