Rodrigo, Thank you for the offer but I won't need it. The replacestring task from filterchains (nant 0.85) worked for me.
Felice -----Original Message----- From: Rodrigo B. de Oliveira [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 12:07 PM To: Felice Vittoria Cc: Nant-Users (E-mail) Subject: [SPAM] - Re: [Nant-users] text search and replace - Email found in subject I can send you the source code for a very simple but effective <replace> task we developed here: <replace output-encoding="iso-8859-1"> <fileset basedir="${output}"> <include name="**/*.htm" /> <include name="**/*.html" /> </fileset> <replacements> <replace pattern="(/images/)|(images/)" value="http://${targetserver}/images/" /> <replace pattern="css/player.css" value="http://${targetserver}/css/player.css" /> <replace pattern="css/compatiblebrowsers.css" value="http://${targetserver}/css/compatiblebrowsers.css" /> <replace pattern="(/js/)|(\bjs/)" value="http://${targetserver}/js/" /> </replacements> </replace> Just let me know, Rodrigo Felice Vittoria wrote: >Hello, > >Has anyone performed a text file search and replace using Nant? If so, how can this >be accomplished? > >Thanks, >Felice > > ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
