This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I want to set up a CVS. I don't need one but I want to learn how to set one up and use one. My question is pretty simple. Maybe even stupid. If I setup a CVS server and used it to check files in and out, how does the build process work? Do I have to checkout every file, build it, then checkin all the files again? Or can it be built through CVS somehow? And how does this work for testing your app? I will be using it for web apps mainly. Can someone explain the process to me? Thanks.
I think there is a big misconception about CVS in java community. CVS is not a build-process manager, or antyhing else. It's a simple version control software. Meaning, it keeps track of your souce code, that's about all it does. As far as build process goes, you can combined your ANT with CVS, have it does a daily build. You don't need to check out a file to do a build, you can simply update your copy in your local directory and does a build that that.
Originally posted by Gregg Bolinger: So in a development team, does every team member actually have a local copy of all the files to test with?
Yes. Every developer gets a copy (a Private Workspace) from the repository to work on. Once he has completed a task and tested it, he checks in his changes to share them with the other developers (preferably several times a day). (I recently finished my review of "Software Configuration Management Patterns" by Berczuk, which explains this - and more complicated situations - in more detail.) [ October 05, 2003: Message edited by: Ilja Preuss ]
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: Jul 11, 2001
Originally posted by Gregg Bolinger: I want to set up a CVS. I don't need one but I want to learn how to set one up and use one.
I think it is *always* a good idea to use a version control system. Even when working alone, it's nice being able to compare a file to its state from a month ago, to restore deleted files, to go back to the latest "known to be good" state of the source when you screwed up your working copy etc. You might want to take a look at subversion, which is the designated successor of CVS.
Joined: Oct 02, 2000
I definitely suggest running a version control software even if you are your own team. It's just a good idea and pratice to get into those good habit of managing your source code. I run a CVS server at home just to track changes in my script and codes.
All very good responses to my questions. I think I understand how it works now. I downloaded subversion yesterday. Their documentation is kind of lacking, but I haven't had much time to work with it yet. Of couse, then I have to learn how to get Eclipse's CVS client working. Lots to do. Luckily this project is personal and not for work or anything.
Joined: Oct 02, 2000
Actually, I recommend you to use command-line based cvs client and svn client. You can understand it better than click and drag.
Originally posted by Gregg Bolinger: Of couse, then I have to learn how to get Eclipse's CVS client working. Lots to do.
I found Eclipse's CVS client set up was very easy. Since you are going to be trying this out on your own, you'll probably find that CVS feels a lot like a fancy version of Eclipse's local history (except you can tag and branch in CVS and each time you check in changes you can add a comment).