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]>

Reply via email to