On Thursday 20 February 2003 06:43 am, Rasputin wrote:
> * John Ruffin <[EMAIL PROTECTED]> [0205 18:05]:
> > I asked this same question last week - with no response.
> >
> > What I did was tell TC to not auto-expand and get everything from the war
> > file itself.  Ant will copy the war file to catalina_home/webapps.  Then
> > I use Manager to stop and start the app - restart doesn't work for me.
> >
> > Testing "Best Practices" from the seasoned folks on the list is greatly
> > appreciated.
>
> That works a treat - thanks John, Obviously the file being physically
> in webapps means it survives a reboot without requiring edits to server.xml
> too.
>
> I just need to figure out how to remove them now:
>
> a <delete> task takes care of the WARfile, then a <remove> ant task
> will drop the context, but I get problems if the remove fails while the
> file is still there.
>
> Does anyone jnow where the documentation for the catalina ant tasks is?

Ant install task doesn't create any war files. It creates a context with the 
docBase at the same location as your build files. There is no need at all for 
any war files to use Ant's Catalina tasks. Please read the App Dev Guide at 
the Tomcat doc site. It is extremely useful.
Paul

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

Reply via email to