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 48820DD24 for ; Wed, 15 May 2013 02:08:56 +0000 (UTC) Received: (qmail 89170 invoked by uid 500); 15 May 2013 02:08:55 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 89081 invoked by uid 500); 15 May 2013 02:08:55 -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 89073 invoked by uid 99); 15 May 2013 02:08:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2013 02:08:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [112.140.180.11] (HELO SYDS13-N1S.hosting-services.net.au) (112.140.180.11) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2013 02:08:50 +0000 Received: from 60-241-98-20.static.tpgi.com.au ([60.241.98.20]:51325 helo=lydia.local) by SYDS13-N1S.hosting-services.net.au with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1UcR8d-001mKK-DE for user@ant.apache.org; Wed, 15 May 2013 12:08:19 +1000 From: Peter West Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: editstring macro Message-Id: Date: Wed, 15 May 2013 12:08:24 +1000 To: Ant Users List Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) X-Mailer: Apple Mail (2.1503) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - SYDS13-N1S.hosting-services.net.au X-AntiAbuse: Original Domain - ant.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pbw.id.au X-Get-Message-Sender-Via: SYDS13-N1S.hosting-services.net.au: authenticated_id: pbw@pbw.id.au X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org I have posted a discussion and code for a macro to edit a string value, = placing the result into a property. I'm sure various people have done = the same sort of thing before, but this might be a handy reference. http://codepulsive.blogspot.com.au/2013/05/ant-edit-property-values.html An example build.xml is available at = . Peter West "When the Spirit of truth comes, he will guide you into all the = truth..." --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org