Wstring url = myfindelem (urll); wstring username = myfindelem (usernamee); wstring Password = myfindelem (passwordd); wstring localdir = myfindelem (localdirr); log_info (L "start exporting the project, the parameter is url = % s, username = % s, password = % s, localdir = % s ", URL. c_str (), username. c_str (), password. c_str (), localdir. c_str (); wstring tmp1 = l "SVN export"; wstring tmp2 = l "SVN Info"; tmp1 + = URL; tmp1 + = l ""; tmp1 + = localdir; tmp1 + = cwscodedirectory; tmp1 + = l "-- username"; tmp1 + = username; tmp1 + = l "-- password"; tmp1 + = password; tmp1 + = l "> NUL"; tmp2 + = URL; tmp2 + = l ">"; tmp2 + = localdir; tmp2 + = cwscodedirectory; tmp2 + = l "\ info.txt"; cout <"CodeExport in progress. Do not disable "<Endl; _ tsystem (tmp1.c _ STR (); _ tsystem (tmp2.c _ STR ()); cout <"code exported successfully" <Endl; log_info (L "project exported successfully... "); Return true;
log_info (L "Compilation project is % s ", (ITER-> wssolution ). c_str (); wstring wstr1 = l "devenv"; wstr1 + = wslocaldir; wstr1 + = cwscodedirectory; wstr1 + = ITER-> wspath; wstr1 + = l "/build \" "; wstr1 + = ITER-> wsstatus; wstr1 + = l" | "; wstr1 + = ITER-> wscpu; wstr1 + = l "\" "; // compile a single project if (ITER-> wsproject! = _ T ("all") & ITER-> wsproject! = _ T ("all") & ITER-> wsproject! = _ T ("") {wstr1 + = l "/project \" "; wstr1 + = ITER-> wsproject; wstr1 + = l "\"";} _ tsystem (wstr1.c _ STR (); log_info (L "successfully compiled project % s", (ITER-> wssolution ). c_str ());
msbuild D: \ workcopy \ shadowin. domain \ shadowinwebmanager. csproj/T: resolvereferences; Compile/T: _ copywebapplication/P: configuration = release/P: webprojectoutputdir = D: \ public \ WebManager/P: outputpath = D: \ public \ WebManager \ bin
SVN export
SVN info