Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-31-2004, 04:36 AM   #1
LQ Newbie
Registered: Feb 2004
Posts: 16

Rep: Reputation: 0
version control (cvs?) for software dev

I work as part of a team developing software. Our work is mostly separate, with some overlap so a shared filesystem is fine. But at the moment we are working on a BIG project together, and it has gone past the point of all working on the same files!

CVS seems an ideal solution, and i've set it up.

But, i'm not sure how to work with our current project as it has a base (which almost all work is done on) and some customisations for each specific installation. These customisations include extra files (images, html,etc), different java files, etc.

We have a file structure:

./common/ (all files common to all implementations)
./common/src/ (all java source)
./common/jsps/ (all jsps)
./specific/company1/src (java src for co1 - only extra or files to overwrite)

Ant is then used to build - it compiles common/src into builds/common/classes, builds/company1/classes, builds/company2/classes, etc, then compiles specific/DIR/* to builds/DIR/*
It then copies common/* (excl java files) to the build folders, and then copies ./common/DIR/* (excl java files) to ./builds/DIR/*.

I think i am going to use cvs to give better simultaneous access to files, and to allow versioning. My question is, should i just use cvs to dump all the 'specific' files up there as they are at the moment, is is there a better way to do it - ie here is the base, and here are the extras for c1, c2, etc?

Old 04-01-2004, 04:14 AM   #2
LQ Newbie
Registered: Jul 2003
Location: Hellas - Crete - Heraklion
Distribution: Red Hat 9
Posts: 24

Rep: Reputation: 15

I am not a specialist on versioning systems, but I guess that the former idea is better than the later one. By the way, an interesting versioning-system project is subversion. It's said to be the evolution of CVS. Actually, it's developed by the very same people who developed CVS. Provisions have been taken to ensure it has the CVS-like interaction-style with enhanced functionality and many new features. Maybe you can find in it a feature that better suits your needs in new ways. Hope this helps.

Old 04-01-2004, 05:50 AM   #3
LQ Newbie
Registered: Feb 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Well, i think after trialing stuff that my answer is cvs.
It provides the versioning history we need, and sharing of the files in a more robust manner.

I think it will be ok to keep the same project structure as before to deal with the sub projects.

What would be nice was to be able to build the repository on a regular basis and dump it to tomcat... (another post for that one)
Old 04-01-2004, 05:51 AM   #4
LQ Newbie
Registered: Feb 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Oh yeah, another reason i dont want to use a different versioning system is that Eclipse supports cvs. As i mainly use eclipse this is v. useful!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
getting an old version from CVS - rdiff? BrianK Programming 6 04-22-2010 11:41 AM
Using CVS to version control Blender files? mickyg Linux - Software 2 09-19-2005 07:22 AM
use cvs to get a particular version powah Linux - Newbie 1 05-30-2005 09:52 AM
Version Control for non-software projects Exasperated Linux - Software 3 02-10-2005 08:16 PM
Version control software for writing? culturejam Linux - Software 2 12-08-2004 02:40 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration