Hi friends i am deploying webapplication into tomcat using ant with eclipse environment..got the script some where and changed necessary modifications to ant script,then targets like clean,all,compile,dist,javadoc are worked fine and when i try to deploy application using deploy taget got the error message which says
ERROR /root/workspace/myapp/build.xml:372: java.net.UnknownHostException: root
i did necessary changes to managet.xml file also and I am using Eclipse-Galileo,Apache Ant-1.7.1,jdk1.6.0_15,Tomcat-5.5.27.
Here is build.xml
when i started tomcat using command line ,then i can able to logon to managet,when i start tomcat in eclipse,i can not able to see the manager and not even tomcat welcome page,can you tell me what is the problem
problem solved and I changed the path like this war="file:${dist.home}/${path}.war" works without making any errors and now i can able to logon to tomcat-manager with in eclipse
srinivas, build scripts are much easier to read if you use the code tags, which I added to your post.
And thank you for posting the solution for your problem, that will benefit future ranchers with similar issues.