I am using Eclipse Juno with TEE for Android development and storing my source code in Team Foundation Service.
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?
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.
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
Where [version]
is 3.0
for TEE 2010 and 4.0
for TEE 2012. You're looking for the teamexplorer-plugin
logs.
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:
- Temporarily uninstalling Mylyn, or
Editing your eclipse.ini
to pass a new system property:
-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.