aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Starting and Stopping Tomcat Server Using Ant Script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Starting and Stopping Tomcat Server Using Ant Script" Watch "Starting and Stopping Tomcat Server Using Ant Script" New topic
Author

Starting and Stopping Tomcat Server Using Ant Script

Venkata Sirish
Ranch Hand

Joined: Apr 09, 2007
Posts: 112
hi ,
I want to start and stop Tomcat server using Ant Script ... Can anyone help me... Please send me tha code if possible......
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Tomcat doesn't supply any Ant tasks. But you can do it with the existing tasks Ant supplies. You can use the <exec /> task to run a command.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42285
    
  64
Individual web apps can be started, stopped and reloaded by the Tomcat Manager Ant tasks.


Ping & DNS - my free Android networking tools app
 
wood burning stoves
 
subject: Starting and Stopping Tomcat Server Using Ant Script