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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

248Chapter 10Integrated <str<strong>on</strong>g>Development</str<strong>on</strong>g> Envir<strong>on</strong>mentsFigure 10.9 Cascaded menu after choosing CVS with Ctrl pressedcatch <strong>on</strong> to the changes made outside of NetBeans to its files, though you mayneed to do a Refresh, as described above.10.2.5 Integrati<strong>on</strong> with AntIf you’ve already discovered ant, either by using it <strong>on</strong> a Java project or byreading this book in chapter order, then you’ll know that it’s a plus to have antintegrated into NetBeans. As of NetBeans versi<strong>on</strong> 3.5, ant comes bundled withNetBeans and you d<strong>on</strong>’t need to install it separately.NetBeans recognizes a build.xml buildfile and gives it a special ic<strong>on</strong>. Ifyou click <strong>on</strong> the ic<strong>on</strong> for the build.xml file in the Explorer, it will show eachof the properties and then each of the targets (Figure 10.10). Right-click <strong>on</strong> atarget to choose Execute to run ant with that target. As a shortcut you can eitherselect that target and press the F6 key, or you can just double-click <strong>on</strong> thetarget name.If you are making frequent use of an ant build script in your project, youmay want to add a shortcut—an ic<strong>on</strong> that you can put <strong>on</strong> the ic<strong>on</strong> panel—that

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

Saved successfully!

Ooh no, something went wrong!