You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by MohamedAMINE OSMAN <os...@gmail.com> on 2009/07/04 14:01:15 UTC
Stop and Start TOMCAT with ANT
Hi,I search a source code with ant to stop and start apache tomcat. to
deploy my application.
thenks
--
Merci...
OSMAN Mohamed AMINE.
AW: Stop and Start TOMCAT with ANT
Posted by Ja...@rzf.fin-nrw.de.
These tasks are part of Tomcat
http://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/catalina/ant/StartTask.java
http://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/catalina/ant/StopTask.java
Jan
> -----Ursprüngliche Nachricht-----
> Von: MohamedAMINE OSMAN [mailto:osman.amine@gmail.com]
> Gesendet: Samstag, 4. Juli 2009 14:01
> An: dev@ant.apache.org
> Betreff: Stop and Start TOMCAT with ANT
>
> Hi,I search a source code with ant to stop and start apache tomcat. to
> deploy my application.
> thenks
>
> --
>
> Merci...
> OSMAN Mohamed AMINE.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: Stop and Start TOMCAT with ANT
Posted by Rizvan Asgarov <ri...@yahoo.com>.
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