ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Taylor" <cstay...@nanshu.com>
Subject Re: Ant task for redeploying web applications on Tomcat
Date Fri, 15 Feb 2002 06:19:26 GMT
Hi all,

It looks like Craig McClahahan has checked in some recent changes to the
Tomcat tree that provide ANT support for deploying webapps to running
servers.  You'll need a nightly build after Feb 12th, and you'll want to
read the documentation included for the Manager App HOWTO.  You'll need to
put the catalina-ant.jar in your ${ANT_HOME}/lib folder.

-Chris

----- Original Message -----
From: "Christopher Taylor" <cstaylor@nanshu.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Friday, February 15, 2002 8:15 AM
Subject: Re: Ant task for redeploying web applications on Tomcat


> Yeah, I noticed that although the manager APIs appeared to "work", they
> actually didn't work as advertised when I tried to see if my site changed.
>
> So the task invokes the API, but it doesn't actually work because of the
> manager code in Tomcat... guess I better do a CVS checkout for tomcat
now...
> ;)
>
> -Chris
>
> ----- Original Message -----
> From: "Steve Loughran" <steve_l@iseran.com>
> To: "Ant Users List" <ant-user@jakarta.apache.org>
> Sent: Thursday, February 14, 2002 2:54 AM
> Subject: Re: Ant task for redeploying web applications on Tomcat
>
>
> >
> > ----- Original Message -----
> > From: "Christopher Taylor" <cstaylor@nanshu.com>
> > To: "Jakarta ANT User's List" <ant-user@jakarta.apache.org>
> > Sent: Wednesday, February 13, 2002 00:12
> > Subject: Ant task for redeploying web applications on Tomcat
> >
> >
> > > Hello,
> > >
> > > I searched the mail archives and couldn't find any tasks for
redeploying
> > web
> > > applications on Tomcat, so I wrote one myself this afternoon (very
> > > bare-bones... it doesn't check for errors, all exceptions will stop
the
> > > build).  If anyone is interested they can download it from
> > > http://www.java-internals.com/code/index.html.
> > >
> > > -Chris
> > >
> > > P.S. It relies on the http-client commons package available from
> Jakarta.
> > > I've included it in my distribution of the tomcat-deploy task
> > >
> > > P.P.S. Any suggestions or contributions would be appreciated.
> >
> > I have looked into dooing this; right now I can do it with a <get> in
the
> > system. To get it work properly I think I'd need to change tomcat's
> manager
> > class. I'd be interested to know how you worked around the problems I
> > encountered
> >
> > 1. the upload mechanism where you provide a url to a remote WAR file
does
> > not do hot updates after the first upload; from then on tomcat goes
'there
> > is a local copy so lets just start that'
> >
> > 2. the servlet responses are not easily parsable: you might think they
are
> > but since they are 18in-izabe resource strings they may  be different on
> > different locales
> >
> > The fixes I'd have to do: XML response from the servlet and better
reload
> > behavior would both be tomcat side; once they were done it would make
> sense
> > to include the task in the tomcat codebase, rather than ant, so it will
be
> > in sync better.
> >
> > -steve
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message