Re: Restarting Tomcat from Ant

2009-04-03 Thread Gregor Schneider
How about exec dir=${TOMCAT}/bin/ executable=./shutdown.sh / Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi

Re: Restarting Tomcat from Ant

2009-04-03 Thread Mighty Tornado
This worked: target name=start-tomcat exec os=Mac OS X executable=/bin/sh arg line=${TOMCAT}/bin/startup.sh / /exec /target On Fri, Apr 3, 2009 at 7:19 AM, Gregor Schneider rc4...@googlemail.comwrote: How about exec dir=${TOMCAT}/bin/ executable=./shutdown.sh / Rgds Gregor -- just

Restarting Tomcat from Ant

2009-04-02 Thread Mighty Tornado
Hi, I currently copy the Application files to CATALINA_HOME/webapps from Ant, and then run shutdown and startup. Is there a way to also restart the server from Ant? Thanks,

Re: Restarting Tomcat from Ant

2009-04-02 Thread Ravi Sharma
try sshexec task http://ant.apache.org/manual/OptionalTasks/sshexec.html On Thu, Apr 2, 2009 at 6:23 PM, Mighty Tornado mighty.torn...@gmail.comwrote: Hi, I currently copy the Application files to CATALINA_HOME/webapps from Ant, and then run shutdown and startup. Is there a way to also

RE: Restarting Tomcat from Ant

2009-04-02 Thread Caldarale, Charles R
From: Mighty Tornado [mailto:mighty.torn...@gmail.com] Subject: Restarting Tomcat from Ant Is there a way to also restart the server from Ant? Why don't you just use the startup and shutdown scripts that come with Tomcat? If you want to call them from within an ant script, use the exec

Re: Restarting Tomcat from Ant

2009-04-02 Thread Mighty Tornado
[mailto:mighty.torn...@gmail.com] Subject: Restarting Tomcat from Ant Is there a way to also restart the server from Ant? Why don't you just use the startup and shutdown scripts that come with Tomcat? If you want to call them from within an ant script, use the exec task. - Chuck