You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Philippe Bonnardel <ph...@winsoft.fr> on 2004/03/26 09:47:37 UTC
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
RE: dummy question regarding replacetoken
Posted by Philippe Bonnardel <ph...@winsoft.fr>.
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