Java Reference
In-Depth Information
Figure 5.10 A Messages window reports on the progress of the build and lets
you navigate directly to any errors or warnings reported by the compiler. This
is the tree view of the Ant results.
spot. If you've enabled the
Autoscroll to Source
option on the toolbar, only a sin-
gle click is required.
In text mode, output is shown more or less as Ant's raw output, with little for-
matting. However, you can still link straight to the source of any compilation
problems encountered, as shown in figure 5.11, which is the text-mode version of
the build operation you saw earlier.
Messages in verbose mode
The
Show All Messages
button controls the amount of data Ant displays in the
Messages
window. If you have ever played Zork or the other classic text games
from Infocom, you're probably familiar with the term
maximum verbosity
. This
button enables Ant's version of maximum verbosity, which lists the status and
result of just about every step of the build process. It's great for debugging Ant
scripts, but you'll generally want to leave this off, because it slows things down
and creates clutter.
By default,
IDEA
runs all Ant builds with Ant's default level of verbosity. To
modify this level for a build file, specify additional Ant command-line parameters
in the
Build File Properties
dialog discussed later in this chapter (for the partic-
ular values, refer to the Ant documentation).