Jirong, It means that the workspace is deleted when CC.NET is done pulling down the code. The affect it would have on the other projects is that the workspace won't exist so you will not be able to pull down code for those projects until you remap them to a local folder from a different workspace. Also deleting a workspace means you will not be able to do things like a symbol server or a source server because items in that local directory will not be mapped back to TFS without a workspace. Also, you cannot use cloaking to eliminate pulling down of extraneous stuff if you delete out the workspace.
So in short...DON'T DO IT, UNLESS YOU HAVE A REALLY GOOD REASON AND KNOWLEDGE On Jun 18, 6:57 am, Craig <[email protected]> wrote: > According to the comment in the code: > // Flag indicating if workspace should be deleted every time or if it > should be > // left (the default). Leaving the workspace will mean that > subsequent gets > // will only need to transfer the modified files, improving > performance considerably. > > This runs a DeleteWorkspace (workspace /delete) command, followed by > CreateWorkspace (workspace /new) and then MapWorkspace (workspace / > map) commands. > > However, since I don't know how VSTS actually works, I can't provide > any more details than that. Perhaps looking at the documentation for > VSTS would help? > > Craig > > On Jun 18, 4:30 am, Jirong Hu <[email protected]> wrote: > > > > > Hi > > > "Students Finance System" is the only workspace I created on this > > build server. It's used in many projects. So if I set this > > deleteWorkspace to true in one project, it means the autoGetSource > > will delete and re-create this workspace, how does it affect the > > others? > > > Thanks > > Jirong > > > <vsts autoGetSource="true" applyLabel="false"> > > <server>xxxxx</server> > > <workingDirectory>C:\SFSBuildRoot > > \Release11.1.5AssessmentEngine-BuildTest\Code</workingDirectory> > > <workspace>Students Finance > > System</workspace> > > <project>$/Students Finance > > System/Release 11.1.5 > > Assessment Engine-Build Test/Code</project> > > <cleanCopy>true</cleanCopy> > > <deleteWorkspace>true</deleteWorkspace> > > </vsts>- Hide quoted text - > > - Show quoted text -
