File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes CVS question(s) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "CVS question(s)" Watch "CVS question(s)" New topic

CVS question(s)

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

I finally found a minute to post a question. As I have been sitting in the hospital a lot lately I have been learning CVS. I have been able to get a repository running on a Linux box and I am tunneling through SSH for access. All fine and dandy. But now I have a couple of questions.
1. Should each project have it's very own repository or is it ok to share a single repository with several projects
2. When I imported a bunch of files into my repository for the first time and then I went back and checked out the project, each directory contains a CVS folder in it. Even my package folders each contain this CVS folder. Is this normal?
3. My repository is located at /var/CVS. I have chmod 777 on this folder (which I know is probably wrong) but I wanted to give access to it from any user on my Linux box. I created the initial project using 1 account. And when I try and checkout the project using the other user on my Linux box (testuser) I get errors telling my things like it can't lock the files and what not. Is there anything else I need to do in order to allow multiple users use acess a single project?

GenRocket - Experts at Building Test Data
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
1. Whatever feels right for you... I believe most installations have a single repository and several modules.
2. Yes, it's normal.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: CVS question(s)
It's not a secret anymore!