ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Bonnardel" <philippe.bonnar...@winsoft.fr>
Subject RE: dummy question regarding replacetoken
Date Fri, 26 Mar 2004 09:03:50 GMT
I found it

    <replace dir="${dir}" includes="**/exchvers.rc,**/exchvers.rc">
     <replacetoken><![CDATA[]]>"FileVersion", "6.0.1</replacetoken>
     <replacevalue><![CDATA[]]>"FileVersion",
"6.0.1.${startDSTAMP}00.</replacevalue>
    </replace>


-----Original Message-----
From: Philippe Bonnardel [mailto:philippe.bonnardel@winsoft.fr] 
Sent: Friday, March 26, 2004 9:48 AM
To: user@ant.apache.org
Subject: dummy question regarding replacetoken


Hi all,
 
I have an issue regarding replacetoken, in the value of the replacetoken
I'd like to use quote and comma because I'd like to replace
    "FILEVERSION","6.0.1" by "FILEVERSION","6.0.1.20040326"
 
I did this but this replace all the 6.0.1 and not only the FILEVERSION
on
 
    <replace dir="${dir}" includes="**/exchvers.rc,**/exchvers.rc">
      <replacefilter token="6.0.1" value="6.0.1.${start.DSTAMP}00" />
    </replace>
 
So how can I use quote in replace?
 
Any suggestion will be appreciated
 
 
:Philippe 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message