无法在Eclipse Explorer中的Team Explorer中取消签名文件

时间:2017-08-22 15:05:56

标签: eclipse tfs tfvc team-explorer-everywhere

我正在使用TFVC。

我有两个文件显示项目资源管理器中的[Ignored]标记。右键单击它们,unignore显示为灰色。

这些文件是来自Jasper报告框架的.jasper文件,位于我的一个模块中的/src/main/resources。该文件夹中没有其他文件存在此问题。

我有一个.tfignore文件,但它没有任何匹配这些文件的内容:

target
.settings
.project
.classpath
\<redacted module name>\application.properties
\<redacted module name>\.springBeans
\<redacted module name>\app
\<redacted module name>\tree
\tree

这只适用于我的环境 - 我的队友没有看到它,所以我知道这不是TFS服务器配置问题。

1 个答案:

答案 0 :(得分:0)

首先在本地计算机的映射文件夹中,仔细检查本地.tfignore文件。因为.tfignore文件的效果是递归的。检查子文件夹中是否有.tfignore个文件,以覆盖父文件夹中.tfignore文件的效果。

你也可以尝试显式声明不要忽略.tfignore中的文件,然后保存它并重启日食。

# Do not ignore .jasper files in this folder nor in any of its sub-folders
!*.jasper

另一种可能性与缓存问题有关,尝试在团队资源管理器中清除缓存信息(首先检入或备份本地更改)。

%USERPROFILE%\Local Settings\Application Data\\Microsoft\Team Explorer

有关缓存信息的更多详细信息,请参阅此thread