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 767CF9FD6 for ; Wed, 25 Jan 2012 16:19:06 +0000 (UTC) Received: (qmail 31291 invoked by uid 500); 25 Jan 2012 16:19:05 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 31245 invoked by uid 500); 25 Jan 2012 16:19:05 -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 31233 invoked by uid 99); 25 Jan 2012 16:19:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 16:19:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Steve.Amerige@sas.com designates 213.199.154.205 as permitted sender) Received: from [213.199.154.205] (HELO AM1EHSOBE002.bigfish.com) (213.199.154.205) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 16:18:55 +0000 Received: from mail19-am1-R.bigfish.com (10.3.201.243) by AM1EHSOBE002.bigfish.com (10.3.204.22) with Microsoft SMTP Server id 14.1.225.23; Wed, 25 Jan 2012 16:18:33 +0000 Received: from mail19-am1 (localhost [127.0.0.1]) by mail19-am1-R.bigfish.com (Postfix) with ESMTP id A1E3F805EA for ; Wed, 25 Jan 2012 16:18:33 +0000 (UTC) X-SpamScore: -14 X-BigFish: S-14(zzbb2dI9371I1447Mc85dh98dK4015Lzz1202hzzz2fhc1bhc31hc1ahc1bhc31hc1ah2a8h668h839h) X-Forefront-Antispam-Report: CIP:149.173.6.149;KIP:(null);UIP:(null);IPV:NLI;H:mercav05r.na.sas.com;RD:mercav05r.na.sas.com;EFVD:NLI Received-SPF: pass (mail19-am1: domain of sas.com designates 149.173.6.149 as permitted sender) client-ip=149.173.6.149; envelope-from=Steve.Amerige@sas.com; helo=mercav05r.na.sas.com ;r.na.sas.com ; Received: from mail19-am1 (localhost.localdomain [127.0.0.1]) by mail19-am1 (MessageSwitch) id 132750831175795_21824; Wed, 25 Jan 2012 16:18:31 +0000 (UTC) Received: from AM1EHSMHS008.bigfish.com (unknown [10.3.201.242]) by mail19-am1.bigfish.com (Postfix) with ESMTP id 02C164C0048 for ; Wed, 25 Jan 2012 16:18:30 +0000 (UTC) Received: from mercav05r.na.sas.com (149.173.6.149) by AM1EHSMHS008.bigfish.com (10.3.207.108) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 25 Jan 2012 16:18:30 +0000 X-TM-IMSS-Message-ID: <86843dcc0015bdc2@mercav05r.na.sas.com> Received: from [10.25.11.12] ([10.25.11.12]) by mercav05r.na.sas.com ([10.16.10.186]) with ESMTP (TREND IMSS SMTP Service 7.1) id 86843dcc0015bdc2 ; Wed, 25 Jan 2012 11:18:28 -0500 Message-ID: <4F202B55.9020102@sas.com> Date: Wed, 25 Jan 2012 11:18:29 -0500 From: Steve Amerige User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Ant Users List Subject: Re: Filtering Macrodef Elements References: <4F1FECD3.5090102@sas.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------070905040600080906060709" X-OriginatorOrg: sas.com X-Virus-Checked: Checked by ClamAV on apache.org --------------070905040600080906060709 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Hi Flossy, On 1/25/2012 10:00 AM, Scot P. Floess wrote: > Just at a first glance - one consideration I'd mention is that what you > list is not syntactically correct XML... So, I think if you wanted > something like that you will need to preprocess and convert to an XML that > can be processed. Unless that is what you are saying and I've > misunderstood ;) Thanks for the reply. You're right in that the syntax wasn't correct. Here is the revision: %{mytask} %{myattribute}="%{myvalue}" %{/mytask} %{myblockofcode} The *mytokenizer *task would do substitutions for the %{*/token/*} entries. The requirement is that the tokenization happen not as a pre-process step, but during the execution of the *myentrypoint *target. Compiling code is not available to me. Changing the requirements I need to live with is not possible. I will define the *mytokenizer *macrodef or scriptdef in the same file as the *myentrypoint *and I can use Ant 1.7, Ant-Contrib, and Groovy code. I'm trying to figure out how to define *mytokenizer *to solve this problem. Thanks, Steve Amerige SAS Institute, Deployment Software Development --------------070905040600080906060709--