title: Ant: Zip the contents of a directory, without the top-level directory itself
body: <p>How can I use Ant to create zip containing all the files and nested directories inside some root directory, but exclude the top-level directory itself from the zip.</p>
  
  <p>For example, say I have this file structure:</p>
  
  <pre><code>/foo
      splat.js
      /bar
          wheee.css
  </code></pre>
  
  <p>I want the zip to contain splat, and wheee inside /bar, but I <strong>don't</strong> want all that to be contained inside a 'foo' directory. In other words, unzipping this into /honk should <strong><em>not</em></strong> create a foo directory; splat and bar should end up at the root of /honk.</p>
  
  <p>I'm currently using this (extraneous details removed):</p>
  
  <pre><code>&lt;zip destfile="${zipfile}" basedir="" includes="${distRoot}/**/*.*" /&gt;
  </code></pre>
  
  <p>What kind of fileset select can replace that 'includes' spec to achieve this?</p>