Hmmm... that should work. Thanks. How can I not see it ? I had been looking for a tag like that for a long time, I guess it just missed my attention, when I saw FilterSet. Thanks, and sorry for bringing up this simple Q, whose answer is already available in the docs....
Thanks -Kuntal- -----Original Message----- From: Chris Bailey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 3:29 PM To: Ant Users List Subject: RE: Filter and replace .... Have you looked at the <replace> task? I believe you could set the token to be "c:\weblogic", and replace it with "c:\bea". -----Original Message----- From: Das, Kuntal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 2:44 PM To: 'Ant Users List' Subject: Filter and replace .... Is there any way of replacing any character or word in a file using ant ? e.g. If I want to replace the path c:\weblogic with c:\bea in the weblogic.properties file or for that matter any file. I could use FilterSet, but then that will replace only macros. Any suggestions ? Thanks in advance -Kuntal- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
