使用TEE从TFS到eclipse的最佳方式是什么? [英] what's the best way to checkout from TFS to eclipse using TEE?

查看:140
本文介绍了使用TEE从TFS到eclipse的最佳方式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个QNX应用程序(因此我使用的是旧版本的Eclipse-CDT C ++等)。到目前为止,我已经使用TFS检查,然后通过Import-> General-> ExistingProject将项目文件导入工作区;这意味着我可以构建/调试等等,但是从TFS的角度来看,我只能通过TeamExplorer提供TFS功能。如果我通过Import-> Team-> TFS将相同的项目导入到不同的工作区,那么我有额外的TEE功能,但是我无法构建/调试等。

I'm developing a QNX app (thus I'm using an old version of Eclipse-CDT C++ etc.). Up until now I've been checking out with TFS and then importing the project files to the workspace via Import->General->ExistingProject; this means I can build/debug etc, but I've only had TFS functionality available via TeamExplorer from the TFS perspective. If I import the same projects to a different workspace via Import->Team->TFS then I have extra TEE functionality but I can't build/debug etc.

所以推荐的方法是什么?我想要这两个功能。感谢

So, what's the recommended way to do this? I'd like both functionalities. Thanks

编辑---
我通过Import-> Team-> TFS一次导入每个项目,它工作。谢谢

Edit --- I imported each project one-at-a-time via Import->Team->TFS and it worked. Thanks

推荐答案

我不知道为什么从TFS导入不能正确地检测到该项目的性质。 (你没有登录 .project 文件?你使用Maven吗?)

I'm not sure why importing from TFS doesn't detect that project's nature correctly. (Are you not checking in .project files? Are you using Maven?)

无论如何,如果你想从磁盘导入现有项目的路径,只需转到团队菜单,选择共享,然后选择TFS。它应该检测您的工作文件夹映射,并简单地将TFS设置为该项目的源代码管理提供程序,这将为您提供编辑器和视图中的所有TFS绑定。

Regardless, if you want to go the route of importing an existing project from disk, just go to the Team menu, select Share, then select TFS. It should detect your working folder mappings and simply set TFS as the source control provider for that project, which should give you all the TFS bindings from within editors and views.

这篇关于使用TEE从TFS到eclipse的最佳方式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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