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:09:21 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
>
>
ps:

<replace file="abc.txt">
  <replacetoken>one</replacetoken>
  
<replacevalue>attribute="http://java.sum.com/j2ee/dtds/ejb-jar_1_1.dtd"</replacevalue>
</replace>

-- 
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