Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 74054 invoked from network); 31 May 2007 07:31:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 May 2007 07:31:58 -0000 Received: (qmail 14311 invoked by uid 500); 31 May 2007 07:31:57 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 14284 invoked by uid 500); 31 May 2007 07:31: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 14273 invoked by uid 99); 31 May 2007 07:31:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 00:31:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of peter.kitt.reilly@gmail.com designates 66.249.82.238 as permitted sender) Received: from [66.249.82.238] (HELO wx-out-0506.google.com) (66.249.82.238) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 00:31:49 -0700 Received: by wx-out-0506.google.com with SMTP id h27so121579wxd for ; Thu, 31 May 2007 00:31:29 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QsXwjmFSmKFe4jt7ECYf18S1VXVRFisUaEXLK7tt5UUX8QRx+AfFsK1raJt1pMNWbuulEbHCJWOW8TPelLhxdjwMZ4SlTATfYQbg/IEBBmjgadr3o0Wkgc0QkdtNtRWEpUw066Mc+KONnlmn+c7CjKmmNOB2paOCPIn9ndjUfHc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SEqLf5AdRh2o2et5lNr+0YxS9Q429jpAgQ8sVz9JPrvb2DZPkMg1QLU1MHBX5m4Z0OFScynH2sDRnrm/e9Qe+LuXQjbE/Q/w0GCBX96G4QtYLnqeuOjidUah+AZfzsdFRDIUH7A17xi9f8F2KQ90LKk3WoykDymPN29yF2g+Lhk= Received: by 10.82.184.2 with SMTP id h2mr15367251buf.1180596688018; Thu, 31 May 2007 00:31:28 -0700 (PDT) Received: by 10.82.120.11 with HTTP; Thu, 31 May 2007 00:31:27 -0700 (PDT) Message-ID: Date: Thu, 31 May 2007 08:31:27 +0100 From: "Peter Reilly" To: "Ant Users List" Subject: Re: Running another target - can it be done? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <77DDA2C5-3DDE-4A55-91E2-FC1FCD90FD90@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org creates a new ant child context (project), this means than any properties, references set in that project will not appear in the caller project. Sometimes this is needed and sometimes not. Alternatives are to: - set dependenices up so that this antcall is not required - use macrodefs instead of a target - use ant-contrib's which runs a target without creating a new project. Peter On 5/31/07, yitzle wrote: > That looks like what I want. Thanks! > > When you are self taught multiple tools, frameworks, etc on the job > its hard to look through all the components, especially something like > Ant, where, as long as it works, I'm pretty happy. I did look at the > list of tasks, but some of the names are not self-explanatory. > > Anyhow, sorry for the rant and thanks again! > > On 5/31/07, Qazwart wrote: > > Have you looked at and ? > > > > These allow you to call another target from inside of another target: > > > > > > ... > > > > > > > > David Weintraub > > david@weintraub.name > > qazwart@gmail.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org