On Fri, 28 Feb 2003, Dan Allen wrote:

> Date: Fri, 28 Feb 2003 01:29:46 -0600
> From: Dan Allen <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: deploy with ant, best practices
>
> I have been studying ant very thoroughly over the past two days, and
> I completely understand the file from top to bottom, including how
> to reload the application using the <reload> tag imported from
> org.apache.catalina.ant.ReloadTask.  However, I am stuck on an
> issue.
>

During development, I find it *much* easier to not use WAR files -- just
point the install command at your build directory that contains the
unpacked webapp.  That way, you never have to worry about Tomcat expanding
anything.

My take on best practices for this are documented in the Application
Developer's Guide that ships with Tomcat (including sample build.xml files
that do the integration with Ant trick).  It's also available online:

  http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/

Craig McClanahan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to