RE: String replace.

2007-08-23 Thread Chon, Ae H
, August 22, 2007 9:35 PM To: Ant Users List Subject: Re: String replace. Try escaping the & character xml-style with & instead of \& pattern="&lt;" -Andrew On 8/22/07, Chun Ji <[EMAIL PROTECTED]> wrote: > > > Hi, > > Does someone know how to replace a

Re: String replace.

2007-08-22 Thread Andrew Goktepe
Try escaping the & character xml-style with & instead of \& pattern="<" -Andrew On 8/22/07, Chun Ji <[EMAIL PROTECTED]> wrote: > > > Hi, > > Does someone know how to replace a string such as "<" to be "<" in a > html file by ANT. > The target that I have created in my build.xml is : > " > ...

String replace.

2007-08-22 Thread Chun Ji
Hi, Does someone know how to replace a string such as "<" to be "<" in a html file by ANT. The target that I have created in my build.xml is : " ... .. ", but I see such errors: " The value of attribute "replace" associated with an element type "replaceregex" must not

AW: Ant String replace

2007-01-12 Thread Jan.Materne
If does not work for you, I dont see any other way without external libs ... Oh - yes:

Re: Ant String replace

2007-01-11 Thread Joe Eugene
ailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 10. Januar 2007 03:56 >An: user@ant.apache.org >Betreff: Ant String replace > >Probably very basic question, but cant file the answer. > >I need to replace strings, not in file, just simple string. > >String x = "This is

AW: Ant String replace

2007-01-09 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Joe Eugene [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 10. Januar 2007 03:56 >An: user@ant.apache.org >Betreff: Ant String replace > >Probably very basic question, but cant file the answer. > >I need to replace string

Ant String replace

2007-01-09 Thread Joe Eugene
Probably very basic question, but cant file the answer. I need to replace strings, not in file, just simple string. String x = "This is a new String"; String y = x.replace("String", "Text"); How do you replace the strings in properties? An alternate solution to my problem would be find the La