Community
Participate
Working Groups
Hi, I'm using Eclipse build 200212181304. We've been having major synchronization problems. When we check in stuff, we find that it does go in. But, when we try to synchronize another machine with the checked in stuff, it does not show up in the Incoming Mode - and says we have the latest stuff from the repository. However, going into CVS Repositories, and opening up the new stuff (a directory particularly causes problems but we've had problems with files as well), and using Check Out Into works. Regards, Somik
I can not reproduce this. Does this problem still occur for you. If so, could you do the following on the machine that has the problem so that I can see the traffic between Eclipse and the CVS server. 1. Create a file named ".options" in you eclipse directory (the directory that contains the executable) that contains the following 2 lines that enable CVS debugging. org.eclipse.team.cvs.core/debug=true org.eclipse.team.cvs.core/cvsprotocol=true 2. Start Eclipse with the following parameters tailored to you local setup (The below example is for windows). The important aspects are the use of java.exe instead of javaw.exe and the inclusion of the -debug and -consolelog options. These will cause the debug console to be visible and for debugging output to appear in the console. C:\eclipse\eclipse.exe -vm C:\jre\bin\java.exe -data C:\eclipse\workspace -debug -consolelog 3. Inside Eclipse, perform the synchronize that fails to show the incoming changes. The CVS command traffic in the debug console should contains an invocation of the update command that looks something like (this is output from dev.eclipse.org): CMD> cvs -n update -d "." ... update ... 4. Append the output to this bug report
Here's the contents of the CVS console when the synchronize failed: *** cvs update -l -P "/ShoppingServerTests/resources/workshopData" cvs server: Updating resources/workshopData ok (took 0:00.291) *** A new directory had just been checked in from another machine, but it didnt show up when I tried synchronizing the project. When I expanded the CVS Repositories explorer - and navigated to the newly checked in dir and checked it out into the correct directory, the cvs console showed : *** cvs update -P "/ShoppingServerTests/resources/testData/temp" cvs server: Updating resources/testData/temp U resources/testData/temp/000100.xml ok (took 0:00.551) *** Regards, Somik
To add to the above, I had attempted synchronization on the root project itself (which is completely checked in). However, the update seems to have been issued for an incorrect directory. That would probably be the bug. Regards, Somik
The problem is that your project has the 'fetch absent or new directories' disabled (see bug 28551). To correct the problem perform the following steps: 1. Select the project in the Navigator or some other view. 2. USe the popup menu to view the project properties. 3. Select the CVS tab. 4. check the "fetch absent or new directories" option *** This bug has been marked as a duplicate of 28551 ***