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-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org