13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

206Chapter 8Know What You Have: CVSall its subdirectories. If you run this command from the uppermost directoryin your project sandbox, it will label your entire project.A tag can be applied to a single file or group of files by listing themexplicitly <strong>on</strong> the command line.NOTECertain special characters are not allowed in CVS tags. Specifically, the characters$,.:;@ are not allowed. So you can’t use release_2.4 as a tag.Too bad.Tags cut across the various revisi<strong>on</strong>s of the source. While you can specifythat a tag goes <strong>on</strong> the same revisi<strong>on</strong> of all sources (e.g., cvs tag -r 1.3<strong>on</strong>e_dot_three_tag), the more typical use is to tag different revisi<strong>on</strong>s of eachmodule, the revisi<strong>on</strong>s that you’ve just been working with and testing.Figure 8.3 shows a tag (QA) that cuts across the various revisi<strong>on</strong>s of thedifferent sources. With such a tag, some<strong>on</strong>e can check out a copy of the sourcesto get the QA release:$ cvs co -r QA projecta.javav. 1.1a.javav. 1.2a.javav. 1.3b.javav. 1.1b.javav. 1.2b.javav. 1.3b.javav. 1.4c.javav. 1.1c.javav. 1.2QA tagFigure 8.3 A tag across three files

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!