title: Ant - difference between task and target
body: <p>I am new to Ant, and having difficulty in understanding some of its basic things like <code>task</code> and <code>target</code>.</p>
  
  <p>Online documentation and books say that <code>target</code> is a stage of the entire build process, while <code>task</code> is the smallest unti of work. However, I find it very difficult to understand what exactly is meant by this,</p>
  
  <p>Can someone explain in depth with examples what are <code>target</code>s and <code>task</code>s in Ant?</p>