Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 1101 invoked from network); 22 Aug 2007 19:07:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Aug 2007 19:07:40 -0000 Received: (qmail 20229 invoked by uid 500); 22 Aug 2007 19:07:32 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 20200 invoked by uid 500); 22 Aug 2007 19:07: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 20189 invoked by uid 99); 22 Aug 2007 19:07:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 12:07:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [67.104.17.130] (HELO exchg01.pro-unlimited.com) (67.104.17.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 19:07:32 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: String replace. Date: Wed, 22 Aug 2007 12:07:10 -0700 Message-ID: <55879AC51120084A8DC1A3135BA1FA470142B541@webemail.pro-unlimited.com> In-Reply-To: <1187806716.46cc7dfcaa7ab@members.uniserve.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: escaping tilde in filename extension Thread-Index: Acfk6O3iVXIlK9z7RT60ky0G4+yR8QABIVPw From: "Chun Ji" To: "Ant Users List" X-Virus-Checked: Checked by ClamAV on apache.org Hi,=20 Does someone know how to replace a string such as "<" to be "<" in a = html file by ANT.=20 The target that I have created in my build.xml is :=20 " ...=20 " /> .. ",=20 but I see such errors:=20 " The value of attribute "replace" associated with an element type = "replaceregex" must not contain the '<' character. " Thanks a lot,=20 Charlie --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org