|Title: How do I set up a CVS repository and access it from Eclipse and the isCOBOL IDE?
I'd like to set up a CVS repository and access it from Eclipse/isCOBOL IDE to use the Team development and project sharing features. Can you point me in the right direction?
To set up a CVS repository on Ubuntu Linux I followed the instructions at:
and used the following for reference:
There is a Wikipedia article at:
You can read the HTML version of "Version Management with CVS by Per Cederqvist et al" athttp://ximbiot.com/cvs/manual/cvs-1.12.13/cvs.html
And the PDF version is at http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cederqvist-1.12.13.pdf
Here are the actual commands I ran on Ubuntu Linux:
sudo apt-get install cvsI had a directory named test_project with some files in it so I ran:
sudo apt-get install xinetd
chgrp cvsusers /usr/local/cvsroot
chmod g+w /usr/local/cvsroot
cvs -d /usr/local/cvsroot init
cvs import test_project initial startAnd to set up the client/server functionality I edited the cvspserver file:
sudo vi /etc/xinetd.d/cvspserverand added the following lines:
Then I restarted the xinetd daemon:
port = 2401
socket_type = stream
protocol = tcp
user = root
wait = no
type = UNLISTED
server = /usr/bin/cvs
server_args = -f --allow-root /usr/local/cvsroot pserver
disable = no
sudo /etc/init.d/xinetd stopOn Windows:
sudo /etc/init.d/xinetd start
set CVSROOT=:pserver:bagside@bagvapp:/usr/local/cvsrootIn the isCOBOL IDE and/or Eclipse:
cvs co test_project
The above assumes that you have created a group called "cvsusers" and you have added each of the users to this group. If you already have a "devel" group with the correct users then you could change "cvsusers" to "devel" in the above commands.
- Open the "CVS Repository Exploring" Perspective
- Right-click and add a new CVS Repository
- Put the following in the Host field:
and it automatically populates the other fields.
|Authored by: Veryant Support on Wed, Sep 2nd, 2009 at 7:00 PM
This question has been viewed 20558 times so far.
|Online URL: http://support.veryant.com/support/phpkb/question.php?ID=86
Powered by PHPKB Knowledge Base Software