concept more detail in category ant
appears as: more detail

This is an excerpt from Manning's book Ant in Action.
For the curious, here are pointers to more information on the specifics of this build file: chapter 2 covers build file syntax, target dependencies, and <javac> in more detail; chapter 3 explains Ant properties, including -propertyfile; chapter 5 delves into <jar> and <javadoc>; and, finally, <ftp> is covered in chapter 7.
The key point to note is that failure of a task will usually result in the build itself failing. This is essential for a successful build process: there’s no point packaging or delivering a project if it didn’t compile. In Ant, the build fails if a task fails. Let’s look at the successful build in more detail.