ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Using Ant to stop and start Tomcat
Date Fri, 13 Dec 2002 09:06:49 GMT
In my scripts

    <java fork="yes" failonerror="false" output="nul"
          classname="org.apache.catalina.startup.Bootstrap">
      <arg value="stop" />
      <jvmarg value="-Dcatalina.base=&quot;${tomcat40.home}&quot;" />
      <jvmarg value="-Dcatalina.home=&quot;${tomcat40.home}&quot;" />
      <classpath path="${tomcat40.cp}" />
    </java>

stops tommy.



Jan Matèrne

> -----Urspr√ľngliche Nachricht-----
> Von: Dominique Devienne [mailto:DDevienne@lgc.com]
> Gesendet am: Donnerstag, 12. Dezember 2002 17:15
> An: 'Ant Users List'
> Betreff: RE: Using Ant to stop and start Tomcat
> 
> I'd be surprised Tomcat doesn't already have these. Did you 
> check the Tomcat
> doco? --DD
> 
> -----Original Message-----
> From: Anthony Smith [mailto:anthony.smith@fedex.com] 
> Sent: Thursday, December 12, 2002 10:11 AM
> To: Ant Users List
> Subject: Using Ant to stop and start Tomcat
> 
> Hey I wanted to create a really lazy ant option that stops 
> Tomcat and then
> starts it back.
> 
> 
> I have on that builds my webapp, deletes old folder and war 
> from tomcat and
> then copies over the new war. I just wanted to add to it so 
> that it could
> stop tomcat first and then start it back.
> 
> 
> I am using 4.1.12
> 
> 
> Any ideas?
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-user-help@jakarta.apache.org>
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message