You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stuart Barlow <sb...@peopledoc.com> on 2000/06/23 15:36:57 UTC

dollar signs in replace commands

I am doing a search and replace using the replace task in ant.
And the text that I am replacing with contains dollar ($) signs.

Is there any way that I can get ant to recognise as literal strings?


Thanks.
---------------------------------------------------------------------------
Stuart Barlow
+44 131 468 8205

Re: dollar signs in replace commands

Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "SB" == Stuart Barlow <sb...@peopledoc.com> writes:

 SB> Is there any way that I can get ant to recognise as literal
 SB> strings?

I'm not sure I've understood your problem. If you need a literal $
inside your build.xml write it as $$.

Does this help?

Stefan