@echo off @echo ********************************************** @echo **** **** @echo **** WARNING **** @echo **** Files get copied from the output dir **** @echo **** So if you haven't deployed them with **** @echo **** nant, then you won't be copying the **** @echo **** correct version of the file. **** @echo **** **** @echo ********************************************** @echo Copying files to deploy..... svn log -v -r HEAD | grep -e WebSite | grep -v .cs$ | grep -v .csproj$ > tmpfile1.txt svn log -v -r HEAD | grep -e WapSite | grep -v .cs$ | grep -v .csproj$ >> tmpfile1.txt tr / \\ < tmpfile1.txt > tmpfile2.txt sed -e "s/^ M/cp -P/g" < tmpfile2.txt > tmpfile1.txt sed -e "s/^ A/cp -P/g" < tmpfile1.txt > tmpfile2.txt sed -e "s/^ D/rm/g" < tmpfile2.txt > tmpfile1.txt sed -e "s/\\trunk\\WebSite/\\Output\\WebSite/g" < tmpfile1.txt > tmpfile2.txt sed -e "s/\\trunk\\WapSite/\\Output\\WapSite/g" < tmpfile2.txt > tmpfile1.txt sed -e "s/$/ \\Output\\Update/g" < tmpfile1.txt > output.bat rm tmpfile1.txt tmpfile2.txt rm -rf \Output\Update mkdir \Output\Update @echo Finished. output.bat