title: What files are excluded by default from Ant zip task?
body: <p>I'm running an Ant zip task to zip the whole contents of a directory on Unix systems:</p>
  
  <pre><code>&lt;zip destfile="${deploy}/test.zip"&gt;
      &lt;zipfileset dir="/home/mydir" /&gt;
  &lt;/zip&gt;
  </code></pre>
  
  <p>After the zip is created, and checking the contents, I can see that some config files, Visual Studio specific files and others like the Mac OS .DS_STORE file are left out the zip.</p>
  
  <p>Is there any rule ant follows to decide what files will not be included?</p>
  
  <p>I need to know in advance since I need to create a list of existing files on that directory before zipping (currently using Java). Right now I'm excluding all directories and hidden files (using File.isHidden() and isDirectory() methods) , but the list is still getting some of the file Ant lefts out (for example, vssver.scc</p>