title: Using Ant to deploy folder with Tomcat Manager
body: <p>I've been trying to copy over a folder from my local machine to a network machine using the the Manager Commands with Ant build for deployment. I've created a shared folder to allow full access on the network. However, when executing the command, its deploying the application as a .war file and error return java.io.IOException: insufficient data written.</p>
  
  <p>I'm using the tutorial <em>Executing Manager Commands with Ant</em> from <a href="http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html" rel="nofollow">here</a></p>
  
  <p>Specfying the path to deploy and then <em>ant deploy</em> doesn't seem to work with directories, only war files.</p>