ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From McDonnell Colm <Colm.McDonn...@uk.mizuho-sc.com>
Subject RE: Shutting down Tomcat with Ant
Date Thu, 31 Jul 2003 16:43:53 GMT
try this:

<target name="stop-tomcat">
  <java classname="org.apache.catalina.startup.Bootstrap" fork="yes">
    <jvmarg value="-Dcatalina.home=/opt/apache/jakarta-tomcat-4.1.24" /> 
    <arg value="stop" /> 
    <classpath>
      <fileset dir="/opt/apache/jakarta-tomcat-4.1.24"
        <include name="bin/bootstrap.jar" /> 
      </fileset>
    </classpath>
  </java>
</target>

> -----Original Message-----
> From:	Billy Bacon [SMTP:billy.bacon@thirty3.net]
> Sent:	Thursday, July 31, 2003 5:28 PM
> To:	Ant Users List
> Subject:	Shutting down Tomcat with Ant
> 
> All,
> 
> Does anyone know how to shutdown tomcat in a build.xml file when tomcat
> has
> been previously started up by Ant? Is this possible?
> 
> Thanks in advance.
> 
> - Billy -
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


This message and any files transmitted with it are confidential and intended solely for the
use of 
the individual or entity to whom they are addressed.  If you have received this message in
error 
please delete it and any files transmitted with it, after notifying postmaster@uk.mizuho-sc.com
Any opinions expressed in this message may be those of the author and not necessarily those
of 
the company.  The company accepts no responsibility for the accuracy or completeness of any

information contained herein.  This message is not intended to create legal relations between
the 
company and the recipient.
Recipients should please note that messages sent via the Internet may be intercepted and that

caution should therefore be exercised before dispatching to the company any confidential or

sensitive information.

Mizuho International plc
Bracken House, One Friday Street, London EC4M 9JA. TEL. 020 7236 1090
Registered in England No. 1203696. Registered office as above. Authorised and regulated by
the Financial 
Services Authority. A member of the London Stock Exchange. A member of Mizuho Financial Group
headed 
by Mizuho Financial Group, Inc. 


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


Mime
View raw message