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 IDE249Figure 10.10 Cascaded menu after choosing CVSwill run a specified ant target. You can also add a keyboard shortcut, to invokethe target with a keystroke or two. The specific steps for doing that are foundin the NetBeans <strong>on</strong>line help. Just look for the secti<strong>on</strong> titled Creating a Shortcutto a Target.There is <strong>on</strong>e other topic worth menti<strong>on</strong>ing about integrati<strong>on</strong> with ant.Normally in NetBeans, when you compile a Java class, the IDE does the compilati<strong>on</strong>.You can c<strong>on</strong>figure the IDE to use different types and versi<strong>on</strong>s of Javacompiler, but it is the IDE which c<strong>on</strong>trols the compile. You can invoke acompile with the F9 key as a shortcut. But if you are building with ant, youmay want ant to do the compiles for you. Fortunately, you can c<strong>on</strong>figureNetBeans to do this. Again, we’ll refer you to the NetBeans <strong>on</strong>line help, to asecti<strong>on</strong> called Indirect Ant Compilati<strong>on</strong>.

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

Saved successfully!

Ooh no, something went wrong!