In my scripts <java fork="yes" failonerror="false" output="nul" classname="org.apache.catalina.startup.Bootstrap"> <arg value="stop" /> <jvmarg value="-Dcatalina.base="${tomcat40.home}"" /> <jvmarg value="-Dcatalina.home="${tomcat40.home}"" /> <classpath path="${tomcat40.cp}" /> </java>
stops tommy. Jan Matčrne > -----Ursprüngliche Nachricht----- > Von: Dominique Devienne [mailto:[EMAIL PROTECTED]] > 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:[EMAIL PROTECTED]] > 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:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> >