Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 84098 invoked from network); 9 Oct 2003 21:27:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Oct 2003 21:27:47 -0000 Received: (qmail 91962 invoked by uid 500); 9 Oct 2003 21:27:20 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 91931 invoked by uid 500); 9 Oct 2003 21:27:20 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 91886 invoked from network); 9 Oct 2003 21:27:20 -0000 Received: from unknown (HELO mx2.compuware.com) (63.115.132.21) by daedalus.apache.org with SMTP; 9 Oct 2003 21:27:20 -0000 Received: from bh1.compuware.com (unknown [10.10.1.31]) by mx2.compuware.com (Postfix) with ESMTP id 6BF8442089 for ; Thu, 9 Oct 2003 17:27:26 -0400 (EDT) Received: by compuware.com with Internet Mail Service (5.5.2653.19) id ; Thu, 9 Oct 2003 17:27:26 -0400 Message-ID: <715E193E3C34D411806300508B9B2BDE01D1D484@cwus-bos-pri01.compuware.com> From: "Hardacker, Andrew" To: 'Ant Users List' Subject: RE: Use Replace task for multiple line not working Date: Thu, 9 Oct 2003 17:27:24 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Try <![CDATA[first line second line]]> Andy Hardacker -----Original Message----- From: Yu, John [mailto:John.Yu@compuware.com] Sent: Thursday, October 09, 2003 5:09 PM To: 'user@ant.apache.org' Subject: Use Replace task for multiple line not working Hi, I'm trying to do the following, however rather unsuccessful using Ant 1.5.1 on Windows 2000: Lines are not removed. I took a Hex look at the source file, and see it use "0a" as end of line. So I tried "#xA", "0x0a", "0a", nothing works. The online Ant documentation showed similar example as my code. What did I do wrong here? Thanks a lot, John The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org