ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Inger <ma...@sedonacorp.com>
Subject Re: string + replace
Date Wed, 22 Aug 2001 15:07:49 GMT
Mourad Meddahi wrote:

>Hi
>
>i have a file abc.txt with the string one inside and i want to replace
>it...so i use
>
><replace file="abc.txt"
>                 token="one"
>                value="<mytag
>attribut="http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd"/>" />
>
>but....it doesn't work.
>
>how to make that ?
>
>TIA
>
>momo
>
>
well, first thing i notice is that you have the " character inside of 
your value attribute.
You'll need to escape that quote character.  

-- 
Matt Inger (matt.inger@sedonacorp.com)
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
 as yet, is suspicious." -H.L. Mencken 




Mime
View raw message