Is there a 'find and replace in text file' task in nant. Basically, I want to have pre-defined strings in my web.config file and would like to replace it with actual values as part of 'deploy' target.
eg. // web.config key="db.user" value="DBUSER" // release.xml <property name="db.user" value="sa"/> <target name="deploy"> <find-and-replace findString="DBUSER" replaceWith="${db.user}" ignoreCase="false" matchWholeWord="true"/> </target> TIA. - shiv __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users