title: Ant: How can I ignore build error if directory doesn't exist?
body: <p>I'm using Ant 1.8.1.  How can I ignore the following build error if a directory doesn't exist?  The error I get is</p>
  
  <pre><code>BUILD FAILED
  /Users/davea/myco2-myco/build.xml:211: Directory does not exist: /Users/davea/myco2-myco/${mycousa.test.root}
  </code></pre>
  
  <p>The line in question is the delete directive from the clause below.  Thought the "erroronmissingdir" attribute would have solved the problem, but I guess not …</p>
  
  <pre><code>    &lt;delete&gt;
              &lt;fileset dir="${mycousa.test.root}" erroronmissingdir="false"&gt;
                      &lt;include name="suite.html" /&gt;
              &lt;/fileset&gt;
      &lt;/delete&gt;
  </code></pre>
  
  <p>Let me know how I can modify the above so that I won't get the error even if the directory doesn't exist.</p>
  
  <p>Thanks - Dave</p>