Eclipse中的Team Explorer Everywhere警告 [英] Team Explorer Everywhere warning in Eclipse

查看:60
本文介绍了Eclipse中的Team Explorer Everywhere警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Eclipse Juno与TEE一起用于Android开发,并将我的源代码存储在Team Foundation Service中.

I am using Eclipse Juno with TEE for Android development and storing my source code in Team Foundation Service.

在进行开发或运行代码时,我在Eclipse控制台的"Team Foundation Server消息"下收到以下错误:源代码管理文件夹树无法刷新.有关错误的详细信息,请参见程序日志文件.

When doing development or running code I get the following error in Eclipse console under "Team Foundation Server Messages": The source control folder tree could not be refreshed. See the program log files for error details.

该怎么办才能解决此错误?上面提到的程序日志文件在哪里?

What should be done to resolve this error? Where are the program log files mentioned above?

更新:我通过帮助>>团队资源管理器支持检查了日志.在"Team Explorer日志"下有两个日志记录,甚至很难在5分钟前加上时间戳,它们都是空的.还有另一个名为平台日志"的日志,该日志不为空,但不包含有关源代码管理树"的任何内容.而且很大.大约50万.

Update: I checked the logs through Help >> Team Explorer Support. There are two log records under "Team Explorer Logs" and even tough they are timestamped 5 minutes ago, both of them are empty. There is another log called "Platform Log", which is not empty but contains nothing about a "Source Control Tree". And it is big. Around 500K.

推荐答案

查看日志的最简单方法是转到帮助"->团队资源管理器".日志标签将显示Eclipse的最后几次调用中的日志文件.

The easiest way to view your logs is to go to Help -> Team Explorer Support. The logs tab will show you the log files from the last several invocations of Eclipse.

它们也存储在文件系统上的位置:

They're also stored on the filesystem at:

  • Windows:%LOCALAPPDATA%\ Microsoft \ Team Foundation \ [version] \ Logs
  • Mac:〜/Library/Application Support/Microsoft/Team Foundation/[version]/Logs
  • Unix:〜/.microsoft/Team Foundation/[version]/Logs

对于TEE 2010, [版本] 3.0 ,对于TEE 2012,是 4.0 .您正在寻找 teamexplorer-插件日志.

Where [version] is 3.0 for TEE 2010 and 4.0 for TEE 2012. You're looking for the teamexplorer-plugin logs.

如果您的日志为空白,通常是因为您安装了Mylyn,并且它决定用一种不写日志文件的日志记录配置覆盖所有Eclipse和所有Eclipse插件的公共日志记录配置,这要归功于 Eclipse错误353168 .您应该可以通过以下任一方法解决此问题:

If your logs are blank, this is usually because you have Mylyn installed and it has decided to override your commons logging configuration (for all of Eclipse, and all Eclipse plugins) with one that doesn't write log files, thanks to Eclipse bug 353168. You should be able to work around this by either:

  1. 暂时卸载Mylyn,或
  2. 编辑您的 eclipse.ini 以传递新的系统属性:

-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger

请让我们知道日志中是否还有其他错误消息.

Please let us know if there's any additional error messages in the logs.

这篇关于Eclipse中的Team Explorer Everywhere警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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