Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 64396 invoked from network); 6 Jun 2006 13:03:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2006 13:03:22 -0000 Received: (qmail 66586 invoked by uid 500); 6 Jun 2006 13:03:20 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 66541 invoked by uid 500); 6 Jun 2006 13:03:20 -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 66525 invoked by uid 99); 6 Jun 2006 13:03:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 06:03:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whaefelinger@epo.org designates 145.64.132.99 as permitted sender) Received: from [145.64.132.99] (HELO gvmail04.epo.nl) (145.64.132.99) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 06:03:18 -0700 Received: from localhost (localhost [127.0.0.1]) by gvmail04.epo.nl (Postfix) with ESMTP id 7BCC728414 for ; Tue, 6 Jun 2006 15:02:56 +0200 (CEST) Received: from mail01.internal.epo.org (smtpmail.internal.epo.org [10.0.5.175]) by gvmail04.epo.nl (Postfix) with ESMTP id 0EA1B2841E for ; Tue, 6 Jun 2006 15:02:27 +0200 (CEST) To: dev@ant.apache.org Subject: how to call macros dynamically? MIME-Version: 1.0 X-Mailer: Lotus Notes 653HF812 February 24, 2006 From: Wolfgang =?ISO-8859-1?Q?H=E4felinger?= Message-ID: Date: Tue, 6 Jun 2006 15:02:26 +0200 X-MIMETrack: Serialize by Router on Mail01/EPO(Release 7.0.1|January 17, 2006) at 06-06-2006 15:02:26, Serialize complete at 06-06-2006 15:02:26 Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: at epo.org X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I wonder how to implement a task (in Java) allowing me to execute a macro. I tried to understand how it works looking into Ant's source code, but I'm bit lost. Would be kind if someone could give me a "roadmap" how to do it .. What I'm looking for is something like .. Assume I have a macro: .. Then I want to be able to say instead of For the beginning I'm happy to call a macro without any parameters like shown. Even better would be to be able to provide parameters as well: Any hints? Cheers, Wolfgang. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org