How to solve 'Synchronizing CVS' problem in Eclipse IDE?

M3rlino picture M3rlino · May 13, 2009 · Viewed 29.6k times · Source

I'm trying to make an update of one project of mine, but i don't manage. When I try, I get the error

'Synchronizing CVS' has encountered a problem.
Problems reported while synchronizing CVS Workspace. 0 of 1 resources were synchronized.

Details:
Problems reported while synchronizing CVS Workspace. 0 of 1 resources were synchronized.
  An error occurred synchronizing /<Project name>: The server reported an error while performing the "cvs update" command.
    The server reported an error while performing the "cvs update" command.
      <project name>: The server did not provide any additional information.  

Should I care about this error or not? It looks that everything is fine, but it bothers me.

Thank you for reading

Updated

I discovered that there was one file updated, but that resulted not updated. Another error i was doing it was that i was synchronizing at a project level, in these situations i think it's better to synchronize at folder level and to open CVS Console. To open CVS console press window > open View > console. Then in the console view there is a shell icon it needs to be pressed and then press CVS. Doing like that CVS output it's showed and it helps a bit more.

Answer

Aaron Digulla picture Aaron Digulla · May 13, 2009

There are several reasons why this can happen:

  • Some other process changed the file and Eclipse hasn't refreshed the workspace. To check, select the file in question and choose "Refresh" from the context menu. This is probably not your problem but it's a common issue, so I wanted to mention it.

  • There is something wrong on the CVS server (file or directory permissions, failing harddisk, corrupt RAM, etc). You must look into the CVS log file to figure out what might be causing the problem. You should also try to find out which file causes the problem. Check the cvs commit log which files were changed and then update one after the other manually until it breaks.

As a general rule: If something is broken, you should fix it.