title: Why is Ant's default exclude not working?
body: <p>I'm using Ant for "Continous integration". One of my tasks is copying folders from one point to another. Here is my task. </p>
  
  <pre><code>&lt;target name="copy-new"&gt;
      &lt;copy todir="/files/apps/blog/" verbose="true"&gt;
          &lt;fileset dir="."&gt;
              &lt;exclude name="**/.git" /&gt;
              &lt;exclude name="**/.gitignore" /&gt;
              &lt;exclude name="**/pom.xml" /&gt;
              &lt;exclude name="**/build.xml" /&gt;
              &lt;exclude name="**/readme" /&gt;
              &lt;exclude name="**/tmp" /&gt;
          &lt;/fileset&gt;
      &lt;/copy&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>As <a href="http://ant.apache.org/manual/dirtasks.html#defaultexcludes" rel="nofollow">the official documentation</a> says, there are default excludes such a .git folder etc. </p>
  
  <p>But my logs are showing this : (there are many more)</p>
  
  <pre><code>...
  [copy] Copying /var/lib/jenkins/jobs/blog/workspace/.git/objects/19/5d7e2de34db6ecc5078c477eb26d0684f68bb7 to /files/apps/blog/.git/objects/19/5d7e2de34db6ecc5078c477eb26d0684f68bb7
  ...
  </code></pre>
  
  <p>How to add these files to ignore filter? </p>