开发者

Setting up a workspace using Team Explorer Everywhere on Linux

开发者 https://www.devze.com 2023-03-26 08:43 出处:网络
Im having trouble creating a workspace and downloading the files from a Team Foundation Server using the Team Explorer Everywhere command line client (TEE-CLC-10.0.0). I\'ve gotten as far as creating

Im having trouble creating a workspace and downloading the files from a Team Foundation Server using the Team Explorer Everywhere command line client (TEE-CLC-10.0.0). I've gotten as far as creating workspace:

$ ../tfs/TEE-CLC-10.0.0/tf -login:secretUsername,secretPassword -server:http://secretHost:8080 workspace -new KOLOBI
Workspac开发者_运维知识库e 'KOLOBI2' created.

Then I want to download files from the server to my workspace:

$ ../tfs/TEE-CLC-10.0.0/tf -login:secretUsername,secretPassword -server:http://secretHost:8080 get -recursive -all -force .
An argument error occurred: Items must reside in a workspace that has been previously used on this computer.

I guess I'm missing one step which is to add local directories to the workspace or something like that. But I can't figure out how to do it to be able to download the files.


You'll need to create working folder mappings between your local folder and the server items you wish to correspond to.

For example:

tf workfold -map -login:secretUsername,secretPassword -server:http://secretHost:8080 -workspace:KOLOBI '$/TeamProject/Project' '/home/me/project'

Then from the /home/me/project directory (or whatever you pick), you can just execute tf get .

0

精彩评论

暂无评论...
验证码 换一张
取 消