title: Ant Successful even when Ant Task fails
body: <p>There must be a simple setting I am missing so forgive me, but I've noticed on two occasions that my bad ant tasks do not cause the build to fail. For example:</p>
  
  <ol>
  <li><p>Ant copy when source file does not exist ... BUILD SUCCESSFUL</p></li>
  <li><p>Ant unzip, when task reports "can't write file" or similar message ... BUILD SUCCESSFUL</p></li>
  <li><p>Ant exec error, invalid syntax ... BUILD SUCCESSFUL</p></li>
  </ol>
  
  <p><strong>How do I guarantee all ant task errors will result in a build failure?</strong></p>