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.com>wrote: > 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, >