I am facing a varitey problem with ANT. I have written an ant Script which Installs me a WAR file into Tomcat. I have one more Task to uninstall also. When I use uninstall It is giving me some HTML dump on my command line and at the end it is saying BUILD FAILED. But When I check with Admin pages WAR files is uninstalled. What could be the problem with Script. Here I am pasting the script I am using.