Ant task – Start, Stop Tomcat
We can use ant to start and stop a Tomcat Server, in your build file you can define these tasks with few other tasks like creating war, deploying war to tomcat. after that by typing a single ant command you will be able to stopTomcat,createWar,deployWar,StartTomcat