Restarting Your Server Remotely

If your deployment server is located on a different server from the build environment (and it really should be), you will need to move the deployment files over and possibly restart the server. The easiest way to do this is with the Ant ftp and telnet tasks. You can even have Ant email you reports on the result of the latest build using the email task. See the Ant documentation for more information on these and other helpful tasks.

Get Programming Jakarta Struts, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.