title: Ant not excluding files from build
body: <p>I'm currently building a tar:</p>
  
  <pre><code>&lt;property name="dcc-shell.dir" value="."/&gt;
  &lt;property name="dcc-mdp.dir" value="${dcc-shell.dir}/eq-mo-drop-copy-converter-mdp"/&gt;
  &lt;property name="mdp-code.dir" value="${dcc-mdp.dir}/*"/&gt;
  &lt;property name="mdp-exclude.dir" value="${dcc-mdp.dir}/target"/&gt;
  &lt;property name="dcc-srv.dir" value="${dcc-shell.dir}/eq-mo-drop-copy-converter-server"/&gt;
  &lt;property name="srv-code.dir" value="${dcc-srv.dir}/src/main/*"/&gt;
  &lt;property name="dcc-trans.dir" value="${dcc-shell.dir}/eq-mo-drop-copy-converter-transformer"/&gt;
  &lt;property name="trans-code.dir" value="${dcc-trans.dir}/src/main/*"/&gt;
  
  &lt;target name="create MDP.Tar"&gt;
      &lt;tar destfile="${dcc-shell.dir}/mdp.tar"
          excludes="${mdp-exclude.dir}"
          basedir="${dcc-mdp.dir}"
      /&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>however it continuly keeps adding the target file and it's contents to the tar file dispite specifying the it to be excluded via excludes=dir</p>