Re: Replace string in file

2008-05-30 Thread AparnaSDoshi
Use replaceregexp task with replacing < by < and > by > Raja Nagendra Kumar wrote: > > Use replace task > > token="ANT_TOKEN_IMAGES_ROOT_DIR" >value="${IMAGES_ROOT}"/> > > Regards, > Nagendra > -- View this message in c

Re: Replace string in file

2008-05-16 Thread Raja Nagendra Kumar
Use replace task Regards, Nagendra -- View this message in context: http://www.nabble.com/Replace-string-in-file-tp17187373p17281195.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsu

Re: Replace string in file

2008-05-15 Thread David Weintraub
> > Thanks. > > -Original Message- > From: David Weintraub [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 13, 2008 8:27 PM > To: Ant Users List > Subject: Re: Replace string in file > > What type of replacement? You can do a filter on strings lik

RE: Replace string in file

2008-05-15 Thread Guy Catz
Users List Subject: Re: Replace string in file What type of replacement? You can do a filter on strings like @VERSION@, @DATE@, @FOO@, or whatever you want via filtersets and mappers when you copy. For example, I have some configuration files. They're called *.properties.template, and I replace

Re: Replace string in file

2008-05-13 Thread David Weintraub
What type of replacement? You can do a filter on strings like @VERSION@, @DATE@, @FOO@, or whatever you want via filtersets and mappers when you copy. For example, I have some configuration files. They're called *.properties.template, and I replace the @xxx@ strings with values from a deploy.proper

RE: Replace string in file

2008-05-12 Thread Sean Tiley
Have a look at the ReplaceRegExp and Replace tasks Should be what you are looking for. -Original Message- From: Guy Catz [mailto:[EMAIL PROTECTED] Sent: Monday, May 12, 2008 9:18 AM To: user@ant.apache.org Subject: Replace string in file hey guys, Is it possible to replace a string in