support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets
 

Veryant Knowledge Base
Home > All Categories > isCOBOL IDE > How do I set up a CVS repository and access it from Eclipse and the isCOBOL IDE?
Question Title How do I set up a CVS repository and access it from Eclipse and the isCOBOL IDE?

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/cvsroot
I had a directory named test_project with some files in it so I ran:
   cvs import test_project initial start
And to set up the client/server functionality I edited the cvspserver file:
   sudo vi /etc/xinetd.d/cvspserver
and 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_project
In the isCOBOL IDE and/or Eclipse:
  • Open the "CVS Repository Exploring" Perspective
  • Right-click and add a new CVS Repository
  • Put the following in the Host field:
    :pserver:bagside@bagvapp:/usr/local/cvsroot
    
    and it automatically populates the other fields.
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.

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

Authored by: Veryant Support This question has been viewed 39232 times so far.
Click Here to View all the questions in isCOBOL IDE category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. How do I resolve the error: Launching has encountered a problem - An internal error occurred during: "Launching ___". com/iscobol/rts/IscobolClass?
  2. How do I resolve the error "Unhandled event loop exception"?
  3. How to filter the problems view to avoid seeing the errors of so many different programs in a project?
  4. isCOBOL IDE or Eclipse error "Workspace in use or cannot be created, choose a different one"
  5. Can you recommend a book for learning the Eclipse based isCOBOL IDE?
  6. How do I make an isCOBOL program that will run on a mobile device, like iPad?
  7. isCOBOL IDE Eclipse Troubleshooting
  8. Does Veryant provide a plugin to Eclipse or did Veryant customize Eclipse to be the IDE for isCOBOL?
  9. What are the steps to add an external tool or integrate a utility such as JDBC2FD into the isCOBOL IDE?
  10. How do I install support for Subversion (SVN) in Eclipse or isCOBOL IDE?
  11. On which version of Eclipse are the isCOBOL 's built?
  12. Generate stopped working after upgrading the isCOBOL IDE
  13. What is the current working directory when I launch my program from the IDE?
  14. How do I configure the IDE to put logs and other files in separate project folders?
  15. How do I install new plugins received from Veryant Support?
  16. Were you aware of the ability of "block selection" in the isCOBOL Editor under Eclipse?
  17. Toggling comments in the properties file editor
  18. Is there a way to stop the pop up from coming up when I start to type in code in the program?
  19. How to create groups of fields on the IDE screen painter, that use the same area on the screen, but visible at different moments?
  20. How can I work with the java property 'file.encoding' inside the isCOBOL IDE?
  21. Did you know you can compare text files using the isCOBOL IDE?
  22. How to generate and compile an isCOBOL IDE workspace in background-mode
  23. How can we avoid having to select the way a program will be "Run As" or "Debug As" in the IDE each time we run it?
  24. How to create a report with the IDE Report Designer
  25. How to use existing FD/SL copybooks in the Screen Programs without generating FD/SL from IDE Data View
  26. How to run batch programs on a Linux server and compile and debug them from the IDE
  27. Guide to update the isCOBOL development environment
Article Information Additional Information
Article Number: 86
Created: 2009-09-02 1:57 PM
Rating: 1 Star
 
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
 
Search Knowledge Base Search Knowledge Base



 
 

© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.