Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 85472 invoked from network); 18 Nov 2008 16:27:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Nov 2008 16:27:14 -0000 Received: (qmail 29189 invoked by uid 500); 18 Nov 2008 16:27:21 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 29141 invoked by uid 500); 18 Nov 2008 16:27:21 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 29119 invoked by uid 99); 18 Nov 2008 16:27:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2008 08:27:21 -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: domain of ddevienne@gmail.com designates 64.233.178.246 as permitted sender) Received: from [64.233.178.246] (HELO hs-out-0708.google.com) (64.233.178.246) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2008 16:25:59 +0000 Received: by hs-out-0708.google.com with SMTP id 23so1606121hsn.12 for ; Tue, 18 Nov 2008 08:26:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=CBlOgVab8lj4+LEjmdRsiDC/q6aXC3BzqB6IhFx4WIo=; b=h9oEbuoEDo9qRLUTenG/XbjIgioy2uJQZyxYjFrXYbcaJRXSWh7Y/IGeGBQcHUy8of Lu0ViWh9tc9ciX/we3lh2ldoawiAqGPy5e72Q+sSBmDx27bIaaKBFKv282rWPb4NeDGJ yVIixifWbQSssBwdwAD22TAhBt5EI7PGDrQyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=pTjRQrZhmC+slEjKF8aqgLk4fTagXKI0Xc6qoeYTnADYxB6qRNQrtP/QNeMd9pHDSe j/cDE5TLFyfwD7aNvG4ZSDxyIBXRiqK0J+Lu5WunVL5GsXOXqHOco9P1fg/4L3U5Ax48 z/uMDwTOJXNijDGtfzwstg/JxFokinqYj319U= Received: by 10.151.12.4 with SMTP id p4mr257108ybi.44.1227025593552; Tue, 18 Nov 2008 08:26:33 -0800 (PST) Received: by 10.151.133.3 with HTTP; Tue, 18 Nov 2008 08:26:33 -0800 (PST) Message-ID: <255d8d690811180826w6d702f47y9dc980d7381245cb@mail.gmail.com> Date: Tue, 18 Nov 2008 10:26:33 -0600 From: "Dominique Devienne" To: "Ant Developers List" Subject: Re: EasyAnt phases In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Nov 18, 2008 at 10:07 AM, Jean-Louis BOUDART wrote: > As target-group is nothing more than a "target" so if/unless attribute is > supported. > Exemple > > unless="skip.test"/> > > ... > > > By typing "ant test" you will execute ALL target related to test > target-group So far so good. > By typing "ant test -Dskip.test=true" you will not execute any target > related to test target-group. Hmmm, I thought a target group basically had it's depends attribute basically rewritten to include whatever target declared itself to be part of this group, and since if/unless apply to the target's body and not its dependencies, if/unless would have been useless on target-groups. So either I assumed incorrectly how target-group was implemented, or what you describe above (assuming depends attribute re-writing) is incorrect. So which is it? > In opposite, > if you wanna execute explicitly "ant myTestTarget", phase attribute is > ignored (so skip.attribute should not be applied). That makes perfect sense. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org