« Return to Thread: Stop and Start TOMCAT with ANT

Re: Stop and Start TOMCAT with ANT

by Rizvan Asgarov :: Rate this Message:

Reply to Author | View in Thread

Hi All,

I think it will be useful for you...

<!-- start Tomcat target -->  
   <project name = "testTomcat" default = "stopTomcat">  
     
   <target name = "startTomcat">  
       <exec executable = ".../bin/startup.bat"/>  
   </target>  
     
   <!-- stop Tomcat target -->  
   <target name = "stopTomcat" depends="startTomcat">  
       <exec executable = ".../bin/shutdown.bat"/>  
   </target>  
   </project>

Sincerely,
Rizvan

MohamedAMINE OSMAN wrote:
Hi,I search a source code with ant to stop and start apache tomcat. to
deploy my application.
thenks

--

Merci...
OSMAN Mohamed AMINE.

 « Return to Thread: Stop and Start TOMCAT with ANT