jeudi 16 avril 2009

Checkout from SVN and Rebuild Solution File from Command Line

I create a .bat file to checkout an application source from SVN and to rebuild solution file without opening Visual studio .NET.

rem ****Déclare path to Tortoise and Visual Studio .NET ***
set path=%path%;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\

rem ****Checkout application source from SVN****

rem ****/closeonend:1 Close automatically Tortoise Dialog Box if no error TortoiseProc.exe /command:checkout /path:"D:\MyProject" /url:"https://svn.toto.com/svnrepos/MyProject/trunk" /closeonend:1

rem ****Rebuild solution in debug mode - output to log file****
devenv.exe /rebuild Debug "D:\MyProject\MyProject.sln" /out "d:\logMyProject"

Aucun commentaire:

Enregistrer un commentaire