Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 74268 invoked from network); 1 Sep 2004 16:15:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Sep 2004 16:15:26 -0000 Received: (qmail 95426 invoked by uid 500); 1 Sep 2004 16:15:09 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 95210 invoked by uid 500); 1 Sep 2004 16:15:07 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 95197 invoked by uid 99); 1 Sep 2004 16:15:07 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Sep 2004 09:15:05 -0700 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id i81GExvR023500 for ; Wed, 1 Sep 2004 18:14:59 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2657.72) id ; Wed, 1 Sep 2004 18:15:01 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B560E23F560@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: AW: PropertySet use in macro Date: Wed, 1 Sep 2004 18:15:00 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4903E.D478B8B0" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C4903E.D478B8B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Have you tried? The main difference between and is that the family opens a new scope for properties while=20 is inside the same scope as the caller. Therefore your macro can access the properties without transfering them. Jan > -----Urspr=FCngliche Nachricht----- > Von: Dick, Brian E. [mailto:Brian.Dick@FMR.com] > Gesendet am: Mittwoch, 1. September 2004 18:04 > An: Ant Users List > Betreff: PropertySet use in macro >=20 > Is there a way to use a PropertySet as a parameter to a macro in the > same way you can use a PropertySet as a parameter to a antcall? >=20 > With antcall I can do the following >=20 > > >=20 > > > >=20 > > > > > >=20 > > > > >=20 > And the result is >=20 > test_propset: >=20 > test_propset2: > [echo] foo.p1 is Hello > [echo] foo.p2 is World >=20 > With a macro I would like to do something like the following >=20 > > >=20 > > > >=20 > > > >=20 > > > >=20 > > > > > >=20 > And the result would be >=20 > test_propset: > [echo] foo.p1 is Hello > [echo] foo.p2 is World >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 ------_=_NextPart_001_01C4903E.D478B8B0--