Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 33400 invoked from network); 2 May 2002 00:19:33 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 May 2002 00:19:33 -0000 Received: (qmail 5351 invoked by uid 97); 2 May 2002 00:19:38 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@nagoya.betaversion.org Received: (qmail 5281 invoked by alias); 2 May 2002 00:19:38 -0000 Delivered-To: jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 5239 invoked by uid 97); 2 May 2002 00:19:37 -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 5175 invoked by uid 98); 2 May 2002 00:19:37 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: From: Alexey Solofnenko To: "'Ant Developers List'" Subject: RE: Possible bug with , and depends Date: Wed, 1 May 2002 17:19:20 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Maybe task will be introduced in the next version. At least it was added to WHATSNEW file. - ALexey. -- { http://trelony.cjb.net/ } Alexey N. Solofnenko { http://www.inventigo.com/ } Inventigo LLC Pleasant Hill, CA (GMT-8 usually) -----Original Message----- From: Chad Loder [mailto:cloder@acm.org] Sent: Wednesday, May 01, 2002 5:13 PM To: Ant Developers List Subject: Re: Possible bug with , and depends Steve, Your response wasn't very helpful. :-) I already know that ant doesn't do parallel builds the way I expect. My real question is, "Should it?", and if not, why not? The documentation for is not clear on this point. Should this be considered a documentation clarity issue or an outright bug? Now, before I get flamed, I do understand how "depends" in ant is different than depends in GNU make. The ant documentation states: "It should be noted, however, that Ant's depends attribute only specifies the order in which targets should be executed - it does not affect whether the target that specifies the dependency(s) gets executed if the dependent target(s) did not (need to) run." However, right after this statement, the documentation also states: "A target gets executed only once, even when more than one target depends on it (see the previous example)." Then the documentation for AntCall states: "When a target is invoked by antcall, all of its dependent targets will also be called within the context of any new parameters. For example. if the target "doSomethingElse" depended on the target "init", then the antcall of "doSomethingElse" will call "init" during the call." My point is, the "junit" target only gets executed once when multiple tasks are specified. So far so good. However, when the is inside , this desirable behavior disappears. It sounds like a defect to me, and I'd be willing to submit a patch that fixes it, just as soon as someone tells me I'm right. :-) c At Wednesday 5/1/2002 05:00 PM -0700, you wrote: > > I don't want to submit this to Bugzilla if > > I'm just misunderstanding how ant is supposed to > > work. > >fraid so. > >ant doesnt do parallel builds the way you expect, and antcall re-execs all >the dependencies. -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: