Question:
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?
Answer:
Here are the actual commands I ran on Ubuntu Linux:
sudo apt-get install cvs sudo apt-get install xinetd mkdir /usr/local/cvsroot chgrp cvsusers /usr/local/cvsroot chmod g+w /usr/local/cvsroot cvs -d /usr/local/cvsroot init export CVSEDITOR=vi export CVSROOT=/usr/local/cvsrootI had a directory named test_project with some files in it so I ran:
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:
service cvspserver { 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 }Then I restarted the xinetd daemon:
sudo /etc/init.d/xinetd stop sudo /etc/init.d/xinetd start
On Windows:
set CVSROOT=:pserver:bagside@bagvapp:/usr/local/cvsroot cvs login cvs co test_projectIn the isCOBOL IDE and/or Eclipse:
:pserver:bagside@bagvapp:/usr/local/cvsrootand it automatically populates the other fields.
There is a Wikipedia article at: http://en.wikipedia.org/wiki/Concurrent_Versions_System
You can read the pdf version of "Version Management with CVS by Per Cederqvist et al" at http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cederqvist-1.12.13.pdf
Article ID: 86
Created: September 2, 2009
Last Updated: May 20, 2022
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=86