File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Source control and nightly build uploads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Source control and nightly build uploads" Watch "Source control and nightly build uploads" New topic

Source control and nightly build uploads

Vincent Hernandez
Ranch Hand

Joined: Oct 17, 2004
Posts: 43
The topic pretty much speaks for itself. Any pointers?

Edit: What I mean by "the topic speaks for itself" is "My question is regarding source control and nightly build uploads. Does anyone do that?"
[ February 08, 2005: Message edited by: Vincent Hernandez ]
Josh Allen
Ranch Hand

Joined: Jan 15, 2005
Posts: 37
Originally posted by Vincent Hernandez:
The topic pretty much speaks for itself. Any pointers?

Vincent Hernandez
Ranch Hand

Joined: Oct 17, 2004
Posts: 43
I'm not trolling. It's just that I'm wondering if anyone does the above mentioned, and if so, what tools do they use (preferrably free), and what's their strategy with it for this SCJD project.

I don't think this is a troll post. I'm not saying "you should use X and Y or you're a Z".

If the admin feels this is a bad post, please take it down. I'm not asking about the topic in general, but how they would apply it specifically for this project. Thank you.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11778

Hi Vincent,

No problems with your post, although the "build uploads" part of your question did make me question whether this was in the correct forum - after all, where are you uploading to?

A version control system is a great idea. Get used to using one now, and you will be more prepared for using one on larger projects. And you may find that even in a project as small as the SCJD assignment, you may wish to revert to an earlier, working, version of your code and/or work out what your changes were over time - all of which a version control system can help you with.

Personally, I am a fan of CVS - the server is free on most platforms, it is easy to use, and there are clients for it integrated into most of the popular IDEs as well as standalone clients.

A project called Subversion is getting a lot of attention at the moment - you might want to check it out as an alternative to CVS.

As for nightly builds - if you are using something like JUnit in combination with Ant, you should find this very easy to set up and run.

Regards, Andrew

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093 several ebooks that will serve you well (also print editions if you prefer those).
Books on CVS, Subversion, project automation, and unit testing.

Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 805
Thanks for the posts and the links.

I too am using the SCJD for more than just the certification. Because I have a background in small embedded development using C and assembly, a lot of the OO stuff is relatively new to me. (I've done some small projects in Java and C++.)

So, I'm using SCJD to practice OOA/D with UML, development with Eclipse, testing with JUnit, building with Ant or just my own build scripts, and management with CVS. When I finish the submission, I want it to be extensive and complete enough to act as a major section of my technical portfolio, right next to my embedded work. (I also have an extensive tech writing portfolio.)

Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Frans Janssen
Ranch Hand

Joined: Dec 29, 2004
Posts: 357
Hi Vincent,

For what it's worth: I used Microsoft Visual Sourcesafe for version control. It's probably one of the simpler source control systems out there.

My choice to use it was not a concious one though: I used it because we use it at the work place and I hade a semi-legal copy lying around anyway

But it does the job and since I did not revert to any previous version of my code, I could have done without it in hindsight.

I have no experience with nightly build uploads though.


Robert Hayes
Ranch Hand

Joined: Oct 24, 2004
Posts: 116
I went to one of Mike Clark's talks on project automation in Novemeber. I pretty much got sold on CruiseControl.

Personally I like to use Subversion for version control.
I agree. Here's the link:
subject: Source control and nightly build uploads
jQuery in Action, 3rd edition