Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 81948 invoked from network); 13 Dec 2005 18:35:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Dec 2005 18:35:38 -0000 Received: (qmail 53922 invoked by uid 500); 13 Dec 2005 18:35:32 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 53875 invoked by uid 500); 13 Dec 2005 18:35:32 -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 53855 invoked by uid 99); 13 Dec 2005 18:35:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2005 10:35:31 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [69.20.13.113] (HELO server1.ruminate.co.uk) (69.20.13.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2005 10:35:31 -0800 Received: (from root@localhost) by server1.ruminate.co.uk (8.11.6/8.11.6) id jBDIZ9k18151; Tue, 13 Dec 2005 13:35:09 -0500 Date: Tue, 13 Dec 2005 13:35:09 -0500 From: jim.fuller@ruminate.co.uk Message-Id: <200512131835.jBDIZ9k18151@server1.ruminate.co.uk> Subject: Re: Expanding ALL properties manually To: "Ant Users List" Cc: user@ant.apache.org X-Originating-IP: 193.165.228.254 X-Mailer: Webmin 1.090 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bound1134498909" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --bound1134498909 Content-Type: text/plain Content-Transfer-Encoding: 7bit Jonathan wrote .. > Hi. > > I'm writing an ant task that loads an external xml file. > I want the user to be able to use standard ant properties in this file. > Is there an easy way to pass the xml as a string to some method and have > it return the xml as a string with any/all ant properties expanded? > Basically i want to expand any/all properties in the file before my > parser starts on it. its easy enough to reuse the loadfile + filterchain/replacetoken code gl, Jim Fuller --bound1134498909 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --bound1134498909--