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.

10.2 NetBeans: The Open Source IDE247Figure 10.8 Cascaded menu with CVS commandsUsing the integrated CVS is much like using the command line. If youwant to see the changes that you’ve made (before committing), use the Diffcommand. A window will appear showing the two different versi<strong>on</strong>s andcoloring the lines that have been added, deleted, or changed.When you need to commit your changes, click the filename, then rightmouseyour way to Commit. A dialog window will appear for you to type inthe comment that you want to be associated with this change. (This commentwill appear in the Log command display).To incorporate the changes others <strong>on</strong> your project may have made <strong>on</strong> thefile, use the Update command. A dialog box will display the CVS outputshowing what was updated and if any merge c<strong>on</strong>flicts occurred. (See Chapter 8for more <strong>on</strong> this.)The CVS commands in the menu, as we’ve described them so far, d<strong>on</strong>’tallow you to add any opti<strong>on</strong>s to the commands. They just run with the defaults.What if you want to use some of the opti<strong>on</strong>s available <strong>on</strong> the CVS commandline? Then hold down the Ctrl key just before your make your CVS choices.You should see an ellipsis (“...”) appear after each CVS command for whichyou can now select opti<strong>on</strong>s (Figure 10.9).Of course <strong>on</strong>e of the great things about knowing the command-line versi<strong>on</strong>(see Chapter 8) is that you’re not limited to what the GUI tools will dofor you. If you can’t find the opti<strong>on</strong> you want, just go back to a window witha shell prompt, cd into the appropriate directory in your source tree, and typethe CVS command by hand. As noted earlier, NetBeans is smart enough to

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

Saved successfully!

Ooh no, something went wrong!