Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 27875 invoked from network); 18 Dec 2007 11:09:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2007 11:09:05 -0000 Received: (qmail 91259 invoked by uid 500); 18 Dec 2007 11:08:49 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 91221 invoked by uid 500); 18 Dec 2007 11:08:49 -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 91210 invoked by uid 99); 18 Dec 2007 11:08:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2007 03:08:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.253.6.140] (HELO clust4a-eth0-0.bbone.knipp.de) (195.253.6.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2007 11:08:25 +0000 Received: from hp9000.do.knipp.de (hp9000.do.knipp.de [195.253.2.54]) by clust4a-eth0-0.bbone.knipp.de (@(#)Sendmail version 8.13.3 - Revision 1.001 - 2005/02/12/8.13.3) with ESMTP id lBIB8OKW011677; Tue, 18 Dec 2007 12:08:24 +0100 (MET) Received: from [195.253.2.27] (mclane.do.knipp.de [195.253.2.27]) by hp9000.do.knipp.de (@(#)Sendmail version 8.13.3 - Revision 1.001 - 2005/02/12/8.13.3) with ESMTP id lBIB8JPP027547; Tue, 18 Dec 2007 12:08:19 +0100 (MET) Message-ID: <4767AA2F.2010506@knipp.de> Date: Tue, 18 Dec 2007 12:08:31 +0100 From: Klaus Malorny User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Ant Users List Subject: Re: AW: extended parallelism References: <47678E66.6020204@knipp.de> <001d01c8415f$33c387d0$f000fc0a@digitalbridges.sys> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Knipp-MailScanner: Not scanned: X-Knipp-MailScanner-SpamCheck: not spam, SpamAssassin (Wertung=-1.225, benoetigt 3, ALL_TRUSTED -1.44, AWL 0.21) X-Knipp-MailScanner-From: klaus.malorny@knipp.de X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No Jan.Materne@rzf.fin-nrw.de wrote: >> Isn't this the default behaviour anyway? > > No - there is no multithreading by default. > That's why I write the ParallelExecutor. > > >> >> If such a dependency did exist, it should be incorporated in >> the depends attribute of the 'b' & 'c' target declarations. > > Thats the meaning - unordered list. > > >> Assuming in the example above that targets b, c & d have no >> dependencies of their own, they should be eligable for >> parallel execution automatically without any need for >> additions to the syntax. > > Thats the ParallelExecutor implementation ;) > > Hmm, interesting view. I was under the impression that there is an implicit order of the targets listed in the "depends" attribute. Two sentences in [1] suggest the same: [...] Ant tries to execute the targets in the depends attribute in the order they appear (from left to right) [...] It is a good practice to place your tstamp tasks in a so-called initialization target, on which all other targets depend. Make sure that target is always the ^^^^^^^^^^^^^^^^^^^^^^^^^ first one in the depends list of the other targets. ^^^^^^^^^ In this manual, most initialization targets have the name "init". [...] [1] http://ant.apache.org/manual/using.html#targets Klaus --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org