ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rizvan Asgarov <rizvan.asga...@yahoo.com>
Subject Re: Stop and Start TOMCAT with ANT
Date Mon, 06 Jul 2009 11:09:56 GMT

Hi All,

I think it will be useful for you...

<!-- start Tomcat target -->  
   <project name = "testTomcat" default = "stopTomcat">  
     
   <target name = "startTomcat">  
       <exec executable = "C:/Tomcat 6/bin/startup.bat"/>  
   </target>  
     
   <!-- stop Tomcat target -->  
   <target name = "stopTomcat" depends="startTomcat">  
       <exec executable = "C:/Tomcat 6/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.
> 
> 

-- 
View this message in context: http://www.nabble.com/Stop-and-Start-TOMCAT-with-ANT-tp24334001p24353610.html
Sent from the Ant - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message