I\'m writing a shell script to auto deploy/undeploy using the tomcat manager.
Following the instructions on http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.htm
I was getting error
curl: Can't open webapp.war
when I only mentioned
curl -T 'webapp.war'
But it worked when I used the complete path of build artifact like
curl -T ./target/webapp.war