Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34F227C11 for ; Tue, 9 Aug 2011 14:16:48 +0000 (UTC) Received: (qmail 76719 invoked by uid 500); 9 Aug 2011 14:16:47 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 76658 invoked by uid 500); 9 Aug 2011 14:16:46 -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 76650 invoked by uid 99); 9 Aug 2011 14:16:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 14:16:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ddevienne@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-ew0-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 14:16:40 +0000 Received: by ewy24 with SMTP id 24so23160ewy.4 for ; Tue, 09 Aug 2011 07:16:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xKGnT+QAJXc5kYmScKA48qh8xGcjeY/2WpqZEubevMo=; b=LCEtaeFBTqAquw/tix3kqoQXDIqFoTzZ/8EFgMWBTVZ27nhwNhLFsPkiIJ+Ac9N+lB HxIxkv0DHJ90Q+RQjDwZm64swieUkQD5FSWYsmrXL/s68lJspch17esMvKNEDDxK8Q6Q v7AbT3qL84kRpKk/nhRHXFVoR9W9JNxlajJlM= MIME-Version: 1.0 Received: by 10.204.133.28 with SMTP id d28mr2034066bkt.81.1312899379446; Tue, 09 Aug 2011 07:16:19 -0700 (PDT) Received: by 10.204.114.81 with HTTP; Tue, 9 Aug 2011 07:16:19 -0700 (PDT) In-Reply-To: References: Date: Tue, 9 Aug 2011 09:16:19 -0500 Message-ID: Subject: Re: Are multiple targets run in order, or in parallel? From: Dominique Devienne To: Ant Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Aug 8, 2011 at 12:33 PM, Echlin, Robert wrote: > Hi guys, > Thanks, Dominique, for the reminder about order of execution being dependent on dependencies. > I remember that about dependencies declared in a target. > I am surprised that there isn't a line in the "Running Ant" page referring to the targets page if the same ordering information applies. > > Responses: > No, I don't know what executors are. See 3rd entry in http://ant.apache.org/manual/running.html#sysprops It allows you to change the way (like the order or parallelism) targets are executed, to be parallel for example (here's one Google found for http://code.google.com/p/parallel-ant/source/browse/trunk/src/java/org/codeaholics/tools/build/pant/ParallelExecutor.java?r=5). It dependencies are stated correctly, a target shouldn't care which order its dependencies are executed in, as long as they are satisfied. I remember another executor that generated a "virtual" target than depends on all targets on the CLI to avoid running their dependencies multiple times for example. > Unrelated: Reading the "targets" docs page just now told me of a new feature called "extension points", which sounds valuable. It's fairly new. Was driven mainly by the EasyAnt authors. > My concern is that it takes several seconds to run, so it could kill the first link catalog, (or maybe parts of it?) and I might not know. There's no implicit parallelism in stock Ant, so they won't step on each other's toes. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org