title: Ant: How do I interate over all subfolders and perform a task in ant
body: <p>Currently I do</p>
  
  <pre><code>&lt;foreach list="${myfolders}" target="bundle"
       param="worksheet" inheritall="true"/&gt;
  </code></pre>
  
  <p>to execute the target "bundle" on a list of folders. However the problem is I need to set this list. How do I use Ant to just loop through all the folders given the parent directory? </p>
  
  <p>If there is a way to do this and also exclude specific folders that would be even better. Thanks.</p>