net use M: \\training27\ampgrepository /u:training27\admin * net use N: \\training27\cvs path n:\;%path%
If the workspace needs to be created as well (because it doesn't still exist from last time), do this:
cd /d c:\ mkdir ampg_workspace cd ampg_workspace cvs -d :local:\\training27\ampgrepository checkout hearts
To make sure your (existing) workspace is completely up to date:
cd /d c:\ampg_workspace\hearts cvs update -P -A -d ant cleanEx fullBuild unitTest
Note: if ant produces weird test results, make sure that n:\ant.bat is the only version of ant in the path and that the test results from any previous runs have been deleted.
Thanks to tomscott for helping with this.
(Back to AgileMethodologyProjectGroup)
for /r . %i in (Root) do (if exist %i echo :local:\\training27\ampgrepository>%i)