Community
Participate
Working Groups
When upgrading the CVS server ( http://www.cvshome.org/ ) from 1.11.5 to 1.11.9 Eclipse is no longer able to browse the CVS repository. Other CVS tools I've tried have worked fine with the new 1.11.9 version of CVS.
Hi, I also found this problem and also found out the reason: cvs now provides "nicer" messages. previously the response from the server was: cvs server: New directory 'xy' -- ignored now it is cvs update: New directory 'xy' -- ignored It seems that the plugin does not only parse for cvs ... but for "cvs server". So it doesn't find any strings like that and does not show anything. The plugin should be changed. A workaround is to manually put the required pathes in the CVSROOT/modules file. Hope this helps for a quickly fix.
Created attachment 7418 [details] zipped binary patch for Eclipse 1.0.2 (WSAD 4.0.3) Extract and replace the plugin
Created attachment 7419 [details] zipped source patch for Eclipse 1.0.2 (WSAD 4.0.3)
Created attachment 7420 [details] zipped binary patch (?) for Eclipse 2.0.3 (WSAD 5.0.1)
Created attachment 7421 [details] zipped source patch for Eclipse 2.0.3 (WSAD 5.0.1)
Created attachment 7422 [details] zipped binary patch for Eclipse 2.1.1/2.1.2 (WSAD 5.1)
Created attachment 7423 [details] zipped source-patch for Eclipse 2.1.1/2.1.2 (WSAD 5.1)
I patched some plugins to accept all "cvs server", "cvs update", "cvs checkout", ... server-strings. Please put them in the development-tree (I do not have external cvs-access from this site) I renamed the jar-files to xy-ww1.jar so that we are able to determine if a system is patched and with which patch-state) - if there is a better way to do that (except incresing the version-number which coulkd lead to conflicts whith the actual eclipse-development) please inform me. Please feel free to mail any suggestions/bugs/questions. I hope this helps Michael Wenig
Sorry - I forgot: I tested whith cvs 1.11.5 running on Sun Solaris and cvs 1.11.10 running on Sun Solaris, Eclipse 2.1.2, WSAD 4.0.3, WSAD 5.0.1, WSAD 5.1 on Windows NT 4.0
and the patch for Eclipse 3M7 ???
Eclipse 3.0 M7 does not need a patch. Since M5 both protocols (new and old) are supported
After applying "binary patch for Eclipse 2.1.1/2.1.2 (WSAD 5.1)", the same behavior persists -- Unable to expand HEAD, Branches, or Versions. Upon clicking the "+", the hourglass cursor appears for a few seconds, the "+" disappears, but no expansion happens; no subnodes are shown. Refresh View and Refresh Branches both cause all the "+" markers to return. Refresh Branches pops up a"Progress Information" alert with progress meter and quickly replaces it with the "Refresh Branches" dialog ("Select Projects" at top, "This wizard helps discover the tags associate with one or more remote projects. Check the projects whose tags you wish to refresh"). Checking one, several, or all of the checkboxes, and then clicking finish consistently produces the same result: progress meter within the wizard and alternating "authenticating <name>" and "processing <name>" for each of the checked projects. So the connection to the remote CVS clearly is happening, and the list of remote module is clearly being retreived, and the tool is claiming to do authentication and processing on each of the selected modules. BUT none of this yields children for the HEAD, Branches, or Versions nodes --- so there is no way to accomplish what is recommended in the help system under the topic "Discovering branch and version tags": "Expand HEAD and select the root folder whose tags are to be discovered. From the pop-up menu for the CVS Repositories view, select Configure Branches and Versions. The Tag Configuration dialog will open. " This in turn prevents "Configure Branches and Versions" -- which is the work around suggested in: "Also, refreshing the tags for a module may not work properly because this feature requires the use of an auto-refresh file (i.e., Eclipse has to know from which file in the module to obtain the tags)." "If your modules are not appearing in the version or branch categories, perform a "Configure Branches and Versions" on the module and assign the tags to the module and/or set the auto-refresh file. " http://download2.eclipse.org/downloads/drops/S-3.0M2- 200307181617/buildnotes/buildnotes_cvs.html http://mirror.island.liu.se/eclipse/downloads/drops/S-M4-200212181304/eclipse- news-M4.html
Which version of WSAD/Eclipse are you using? Could you please check if you used the correct location (<wsad-inst>/plugins/org.eclipse.team.cvs.core_2.1.1) (check if there is a cvs-ww1.jar and it is mentioned in the plugin.xml) We have the patch running on about 200 Workstations with WSAD 5.1 and Eclipse 2.1.2 and have no problems - so I think there must be an error at your installation
I uninstalled my entire 2.1.2, did a fresh install of 2.1.1, copied your patch over, and tested CVS access before doing anything else -- and it worked flawlessly! Then i did an online update to 2.1.2, and it still worked fine. These comments may help diagnose if anybody reports similar symptoms in the future.... I haven't migrated my workspace over yet. I've erased the old .metadata from the old workspace, thinking that might be the source of the problems. I also have not begun using -data for launching again; I'm just sticking with the autogenerated workspace for now. I did import 1 of my old projects, with no problems, so the best way forward will probably be to import 1 project at a time. All in all, the culprit was probably something in the old .metadata. Thanks for your help. Regards, Howard Pearlmutter
WSAD 5.1, CVS 1.11.14. Everything works beautifully, except when I try to view the Java Source folder in the Versions view, under my New_Version_test version, I get the error 'ProjectX: cvs[update aborted]: no such tag New_Version_test '. Is this because of additional messages that need to be converted?
To Craig Moynes: I think this is not a problem with the plugin (I checked this using WSAD 5.1, CVS 1.11.13 it and it works). As the message says do you try to get information about a tag which does not exist (at least under the actual directory you are working). 2 possibilities: 1. Could it be that your tags list is out of date? try to do a refresh: (right click on a module and use "Configure Branches and Versions") 2. There are problems with this tag - e.g. not all sources has been tagged. Please try to use another tag or create a new tag. Regards Michael
To Michael Wenig: Both tags I have created are new. I right click on the source folder (ProjectXWeb), select Tag as Version... and choose a new name. I believe that should get everything in the whole folder. What is even stranger is if I run 'cvs -r New_Version_test checkout' on our source server (working off memory for the command) then everything gets checked out correctly, including the Java Source folder.
Comment 15 does reveal another case of a change in CVS that is not recognized by Eclipse. It only surfaces when browsing a tag in a folder that has no files in it.
Comment 15 has been fixed in 3.0. The workaround in 2.1.3 is to perform a Team>Update on the project.
FAQ Updated. Leaving bug open to provide access to patches
I'm seeing this behaviour under 3.0M9, with CVS-nserver, 1.11.1.4. Eclipse/WSAD versions 2.x work just fine (just purchased XDE Developer for Java, that works fine), Eclipse versions prior to 3.0M6 and prior work fine - I started seeing the problem with M8, but I skipped M7, so it may have started there. Not sure what the problem is, but I'm seeing exactly what's described by Comment #12 in this bug.
I had a similar problem using WSAD 5.1.2 (Eclipse 2.1.3) and CVSNT 2.0.58x. I tried the Eclipse patches on this bug report, https://bugs.eclipse.org/bugs/long_list.cgi?buglist=46655 but since they were for 2.1.2, I had no luck. After turning on the debug console for the core cvs plugins according to these intructions, http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-vcm-home/docs/online/cvs_features2.0/cvs-faq.html#misc_0 I was able to confirm the responses from CVSNT were quite different from other CVS servers (eg. apache.org) which expanded the HEAD tree correctly. I finally found an earlier version of CVSNT here, http://www.cvsnt.org/archive/ and installed the previous stable version 2.0.41a. Everything works fine now, with these settings in CVSNT: [Repositories tab] - no repository prefix [Advanced tab] - pretend to be a Unix CVS version I configured WSAD to use the pserver protocol for expediency, in spite of its security flaws. SHenty
Can someone change the mimetypes on the attachments to something other than text/plain. Thanks.
The FAQ has been updated to point to the attachements on this bug.
I have this same problem using WSAD 5.1.2 & CVSNT 2.5.03. I have tried apply the fix: zipped source-patch for Eclipse 2.1.1/2.1.2 (WSAD 5.1) as this seemed to the closest to the version I have but it causes even worse problems - the cvs location view will not open any longer. If you switch to that perspective an error occurs and the view closes. Anyone got any suggestions. Thanks in advance, Adrian