title: ant task to delete files and directory that start with the same name
body: <p>In my folder <code>example</code></p>
  
  <p>I have a directory called <code>test</code>. It contains many subfolders
  I also have files called <code>test.properties</code> and <code>test.properties.sample</code></p>
  
  <p>I am trying to create an ant script to remove the files and directory</p>
  
  <p>Do I have to have 3 different tasks to delete these files?</p>
  
  <p>For example</p>
  
  <pre><code>&lt;delete dir="test" /&gt;
  &lt;delete file="test.properties" /&gt;
  &lt;delete file="test.properties.sample" /&gt;
  </code></pre>
  
  <p>I would rather have something like</p>
  
  <pre><code>&lt;delete dir="test*" /&gt;
  </code></pre>
  
  <p>so it deletes everything in the folder that starts with <code>test</code></p>