views:

2507

answers:

3

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.

+2  A: 

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.

Aaron Digulla
A: 

Did you change a resource/class outside of eclipse and dont updated the plugin inside of eclipse? When you than call synchronize, eclipse will show an error message.

Markus Lausberg
A: 

I was getting the same problem and the reason was that I had a merge conflict on one file and CVS had created the backup versions of the file - (.# files). Once I deleted them, the problem went away. Thought I'd mention this in case someone may run into the same problem.

Rhea