title: Ant: Unable to get Ant to copy properties file to classes directory
body: <p>I have a project which I can build and deploy correctly using Ant</p>
  
  <p>I want to build a war file to deploy the project.</p>
  
  <p>I can get everything working except I cannot get the properties file to appear in the classes directory.</p>
  
  <p>My properties file is located here: /h/a/A/I/S/src/Serv/log4j.properties</p>
  
  <p>This is the war section of my build file:</p>
  
  <pre><code>&lt;war destfile="Int.war" webxml="web/WEB-INF/web.xml"&gt;
       &lt;lib dir="${libDir}" /&gt;
  
       &lt;classes dir="${outputDir}" includes="/h/a/A/I/S/src/Serv/log4j.properties"/&gt;
       &lt;classes dir="${outputDir}" /&gt;
  
     &lt;/war&gt;
  </code></pre>
  
  <p>I have read the previously asked similar questions here and added the second classes element here which includes the properties file but it did'nt worked for me, any suggestions</p>