On Wed, 21 Aug 2002, Holman, Cal wrote:
> Date: Wed, 21 Aug 2002 11:06:23 -0500
> From: "Holman, Cal" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: RE: newbie:way to avoid restarting tomcat
>
> If you are using ANT to move code to Tomcat and then reloading - I
> downloaded a set of targets for managing Tomcat from www.TECHMALE.com but I
> cannot find the source there anymore. They allow me to copy the classes and
> jsp files to the webapp directory and then reload the app in Tomcat all from
> the ant script. Very quick. You can also restart, stop, and start Tomcat.
> I am using 4.0.1 and ANT 1.5 but the targets work with ANT 1.4/1.3. email
> me offline and I can send you the zip file.
>
Tomcat 4.1.x has full support for doing this sort of thing (dynamic
deployment via Ant tasks) already built in, and documented in the
Application Developer's Guide with a sample build.xml file. To see your
local copy of the docs:
http://localhost:8080/tomcat-docs/appdev/
or online at:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/
> Cal
>
Craig
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>