concept information in category ant

This is an excerpt from Manning's book Ant in Action.
The verbose run provides a lot of information, much of which may seem distracting. When a build is working well, you don’t need it, but it’s invaluable while developing that file. Here the build lists the order of target evaluation, which we’ve boldfaced, and it shows that the <jar> task is also dependency-aware: the JAR file was not modified since every file inside it was up-to-date. That shows a powerful feature of Ant: many tasks are dependency-aware, with special logic to handle problems such as timestamps inside Zip/JAR files or to remote FTP sites.
We stated that we want to reduce the amount of information provided when we invoke Ant. Getting rid of the [java] prefix is easy: we run the build file with the -emacs option. This omits the task-name prefix from all lines printed. The option is called -emacs because the output is now in the emacs format for invoked tools, which enables that and other editors to locate the lines on which errors occurred.