Community
Participate
Working Groups
IT IS NOT POSSIBLE to checkout code from a CVS repository when there is no module but just files that are under the root. You can see them under head, but they cannot be checked out. A good example is the following CVSROOT :pserver:anonymous@cvs.sourceforge.net:/cvsroot/jpcap They have a bunch of directories and a couple files (ie build.xml). I cannot checkout the stuff from Eclipse, but I can check out the suff from a command line CVS using "." as a module name, which works both on Linux/unix and NT. The cvs command is that case would be : cvs co -d "test" -P -A "." to checkout all of the HEAD stuff under the test directory. I reckon that it is probably not the most common use of CVS, but nevertheless, it is supported by CVS , and NOT by the Eclipse CVS client. -- Cheers Philippe philippe ombredanne | nexB - Open IT Asset Management 1 650 799 0949 | pombredanne at nexb.com http://www.nexb.com
Well, I have been able to get something but through a very circumvoluted way. Here is the sequence of steps I wnet through - checkout the code using a command line CVS client with "." as a module name under a directory called foo. - Eclipse: create an empty Java project called bar. - Eclipse: make a file system import of the foo directory in the bar project - Eclipse: select the project and "team/share project" it. - Eclipse: Eclipse recognize that there is some CVS info available from the command line checkout and a pop-up comes with the message "Project is already configured with CVS repository information." offering to create and reuse the pserver used for the command line checkout. - Eclipse: select the project then "team/update". The project is updated, including the files directly under HEAD outside of a folder/module in the CVS tree. This is really skewed, and there should an option to checkout an individual file under HEAD, and to checkout everything under HEAD like when you use "." with a cvs line client. I have attached a small pdf with screen shots from eclipse for the session. -- Cheers Philippe philippe ombredanne | nexB - Open IT Asset Management 1 650 799 0949 | pombredanne at nexb.com http://www.nexb.com
Created attachment 9447 [details] Screen Shots for files/import and team/share
Try the latest integration build. The checkout wizard (available from the CVS perspectives toolbar) allows you to enter '.'. I just tried it and it seems to work well.