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 3B7E972F9 for ; Wed, 17 Aug 2011 15:04:58 +0000 (UTC) Received: (qmail 88732 invoked by uid 500); 17 Aug 2011 15:04:57 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 88652 invoked by uid 500); 17 Aug 2011 15:04:56 -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 88644 invoked by uid 99); 17 Aug 2011 15:04:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 15:04:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [213.199.154.206] (HELO AM1EHSOBE003.bigfish.com) (213.199.154.206) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 15:04:48 +0000 Received: from mail39-am1-R.bigfish.com (10.3.201.254) by AM1EHSOBE003.bigfish.com (10.3.204.23) with Microsoft SMTP Server id 14.1.225.22; Wed, 17 Aug 2011 15:04:26 +0000 Received: from mail39-am1 (localhost.localdomain [127.0.0.1]) by mail39-am1-R.bigfish.com (Postfix) with ESMTP id 9FABBCA03CF for ; Wed, 17 Aug 2011 15:04:26 +0000 (UTC) X-SpamScore: -5 X-BigFish: VPS-5(zz179aMc85fhzz1202hzz8275dhz2dh2a8h668h839h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: CIP:80.238.1.152;KIP:(null);UIP:(null);IPVD:NLI;H:CHIXEDG01.BSKYB.COM;RD:ip-80-238-1-152.bskyb.com;EFVD:NLI Received: from mail39-am1 (localhost.localdomain [127.0.0.1]) by mail39-am1 (MessageSwitch) id 1313593464882807_31178; Wed, 17 Aug 2011 15:04:24 +0000 (UTC) Received: from AM1EHSMHS017.bigfish.com (unknown [10.3.201.254]) by mail39-am1.bigfish.com (Postfix) with ESMTP id C9AB01110052 for ; Wed, 17 Aug 2011 15:04:24 +0000 (UTC) Received: from CHIXEDG01.BSKYB.COM (80.238.1.152) by AM1EHSMHS017.bigfish.com (10.3.207.155) with Microsoft SMTP Server (TLS) id 14.1.225.22; Wed, 17 Aug 2011 15:04:23 +0000 Received: from CHIXHUB01.bskyb.com (10.20.32.59) by CHIXEDG01.BSKYB.COM (80.238.1.7) with Microsoft SMTP Server (TLS) id 14.1.289.1; Wed, 17 Aug 2011 16:04:58 +0100 Received: from CHIXMBX01.bskyb.com ([169.254.3.152]) by CHIXHUB01.bskyb.com ([10.20.32.59]) with mapi id 14.01.0289.001; Wed, 17 Aug 2011 16:04:22 +0100 From: "Holman, Chris" To: "user@ant.apache.org" Subject: Problems using properties containing multiple dollar signs. Thread-Topic: Problems using properties containing multiple dollar signs. Thread-Index: Acxc7vFToC17T0fFQMWd4vOCNZQLxA== Date: Wed, 17 Aug 2011 15:04:21 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.99.85.136] Content-Type: multipart/alternative; boundary="_000_D57A91A07193B84F81C91D50A674657342D85110CHIXMBX01bskybc_" MIME-Version: 1.0 X-OriginatorOrg: bskyb.com --_000_D57A91A07193B84F81C91D50A674657342D85110CHIXMBX01bskybc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This ant script snippet: <property name=3D"lineOfTestLine" value=3D"$ $$ $$$ $$$$ $$$$$ $$$= $$$" /> <echo message=3D"${lineOfTestLine}" /> Prints out: [echo] $ $ $$ $$ $$$ $$$ I think its related to this PropertyExpander definition org.apache.tools.ant.PropertyHelper.SKIP_DOUBLE_DOLLAR Is there any way round this? OBJECTIVE: I'm trying to use an ant-contrib for loop to parse each line of a file. Some of these lines contain double dollars in the text, but param attribute= is being munged by this PropertyExpander. Regards, Chris Holman Information in this email including any attachments may be privileged, conf= idential and is intended exclusively for the addressee. The views expressed= may not be official policy, but the personal views of the originator. If y= ou have received it in error, please notify the sender by return e-mail and= delete it from your system. You should not reproduce, distribute, store, r= etransmit, use or disclose its contents to anyone. Please note we reserve t= he right to monitor all e-mail communication through our internal and exter= nal networks. SKY and the SKY marks are trade marks of British Sky Broadcas= ting Group plc and are used under licence. British Sky Broadcasting Limited= (Registration No. 2906991), Sky Interactive Limited (Registration No. 3554= 332), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscr= ibers Services Limited (Registration No. 2340150) are direct or indirect su= bsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735)= . All of the companies mentioned in this paragraph are incorporated in Engl= and and Wales and share the same registered office at Grant Way, Isleworth,= Middlesex TW7 5QD. --_000_D57A91A07193B84F81C91D50A674657342D85110CHIXMBX01bskybc_--