Java Reference
In-Depth Information
Figure 10.10 Cascaded menu after choosing CVS
will run a specified ant target. You can also add a keyboard shortcut, to invoke
the target with a keystroke or two. The specific steps for doing that are found
in the NetBeans online help. Just look for the section titled Creating a Shortcut
to a Target.
There is one other topic worth mentioning about integration with ant .
Normally in NetBeans, when you compile a Java class, the IDE does the com-
pilation. You can configure the IDE to use different types and versions of Java
compiler, but it is the IDE which controls the compile. You can invoke a
compile with the F9 key as a shortcut. But if you are building with ant , you
may want ant to do the compiles for you. Fortunately, you can configure
NetBeans to do this. Again, we'll refer you to the NetBeans online help, to a
section called Indirect Ant Compilation.
Search WWH ::




Custom Search