title: A zip file cannot include itself - Ant build error
body: <p>I have error at the first line of the following code while building with Ant builder,</p>
  
  <pre><code>&lt;war warfile="${wartemp.dir}/${name}.war" basedir="${wartemp.dir}" webxml="${wartemp.dir}/WEB-INF/web.xml"&gt;
              &lt;include name="*"/&gt;
              &lt;include name="scripts/**"/&gt;
              &lt;include name="styles/**"/&gt;
              &lt;include name="images/**"/&gt;
              &lt;include name="WEB-INF/*.*"/&gt;
              &lt;include name="WEB-INF/lib/**"/&gt;
              &lt;include name="WEB-INF/views/**"/&gt;
              &lt;include name="WEB-INF/classes/**"/&gt;
              &lt;include name="WEB-INF/jsp/**"/&gt;
              &lt;include name="WEB-INF/resources/**"/&gt;
              &lt;include name="WEB-INF/spring/**"/&gt;
              &lt;include name="WEB-INF/messages/**"/&gt;
              &lt;include name="WEB-INF/layouts/**"/&gt;
              &lt;exclude name="WEB-INF/web.xml"/&gt;           
              &lt;exclude name="**/.*"/&gt;
          &lt;/war&gt;
  </code></pre>
  
  <p>The error message is:</p>
  
  <p>"... /WEB-INF/build.xml:67: A zip file cannot include itself"
  line 67 is the first line of the snippet posted above.</p>
  
  <p>I am beginner to Spring framework. I am using Spring version 3 with springsource toolsuite. How to fix this?
  thanks.</p>