AppCode工作区和TFS命令行客户端工具 [英] AppCode workspaces and TFS command-line client tool

查看:185
本文介绍了AppCode工作区和TFS命令行客户端工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用AppCode创建一个工作区,并且可以成功签入和签出TFS.一切都很好.但是当我使用交叉-用于TFS的平台命令行客户端,并尝试查看使用AppCode创建的这些工作空间,然后返回找不到本地工作空间". AppCode并不会真正创建工作区,因为根据msdn,工作区所有者的名称和使用该工作区的计算机的名称都存储在Team Foundation Server中.

I can create a workspace with AppCode and successfully can check in and out of TFS. This is all good.But when i use the Cross-platform Command-Line Client for TFS and try to see these workspaces i created with AppCode, i am getting back "No local workspaces found". AppCode does not really create a workspace then because according to msdn the name of the workspace owner and the name of the computer on which the workspace is used are stored in Team Foundation Server.

我还有其他应用程序需要访问由AppCode创建的此工作区.他们可以使用TFS命令行客户端工具运行TFS命令,但是由于我上面提到的原因,他们看不到工作区.

I have other applications that needs access to this workspace created by AppCode. They can use the TFS command line client tool to run TFS commands but because of the reason i mentioned above, they see no workspace.

关于同步AppCode创建的工作区和TFS客户端工作区的任何建议,这样我就可以让我所有的应用程序都知道同一个工作区吗?或其他建议?谢谢.

Any suggestions to sync AppCode created workspaces and TFS client workspaces so i can have all my apps be aware of the same workspace? or any other suggestion? Thanks.

推荐答案

我不熟悉AppCode,但是如果它像IntelliJ(他们的Java IDE)那样,那么他们已经编写了自己的TFS集成.如果真是这样,那么他们可能还没有更新tf找到其工作空间所必需的缓存文件.

I'm not familiar with AppCode, but if it's anything like IntelliJ (their Java IDE) then they've written their own TFS integration. If that's the case, then they likely have not updated the cache files that are necessary for tf to find its workspaces.

如果是这种情况,那么您只需要运行一个命令即可使tf连接到服务器-此时它将填充必要的缓存文件.例如,如果将-collection标志传递给tf workspaces,则它将实际上向服务器查询工作区列表(并在此过程中重建必要的缓存文件.)

If that is the case, then you should simply need to run a command that will cause tf to connect to your server - at which point it will populate the necessary cache files. For example, if you pass the -collection flag to tf workspaces, then it will actually query the server for the list of workspaces (and rebuild necessary cache files in the process.)

也就是说:

tf workspaces

仅适用于本地工作区缓存,而:

Only works on the local workspace cache, while:

tf workspaces -collection:http://tfs.contoso.com:8080/tfs/DefaultCollection

将连接到服务器.

这篇关于AppCode工作区和TFS命令行客户端工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆