You could try to use web app stop and start tasks instead of redeploy.
<target name="start"
description="start application on servlet container">
<echo message="app path: ${app.path}"/>
<start
url="${catalina.manager.url}"
username="${catalina.manager.username}"
password="${catalina.manager.password}"
path="${app.path}"/>
</target>
<target name="stop"
description="Stop application on servlet container">
<echo message="app path: ${app.path}"/>
<stop
url="${catalina.manager.url}"
username="${catalina.manager.username}"
password="${catalina.manager.password}"
path="${app.path}"/>
</target>
On Thu, Jun 10, 2010 at 11:00 PM, Raju Bitter <
[email protected]> wrote:
> It should be in /tomcat/conf/Catalina/localhost
>
> In my case, I have a version of trunk deployed using the path /trunk-work,
> and here's the corresponding XML file's content:
> <?xml version='1.0' encoding='utf-8'?>
> <Context docBase="/Users/rajubitter/src/svn/openlaszlo/trunk-work"
> path="/trunk-work">
> </Context>
>
> The name of the generated file will be the same as the path you have chosen
> for the app.
>
> On Thu, Jun 10, 2010 at 10:55 PM, P T Withington <[email protected]> wrote:
>
>> It looks like they must be. That's probably what's taking all the tiem.
>>
>> Where is this context descriptor file of which you speak?
>>
>> I am a tomcat dummy.
>>
>> On 2010-06-10, at 16:43, Raju Bitter wrote:
>>
>> > Tucker, when you deploy the app, is the content being copied into Tomcat
>> > webapps folder? What is the content of the context descriptor file
>> > generated?
>> >
>> > On Thu, Jun 10, 2010 at 10:32 PM, Raju Bitter <
>> > [email protected]> wrote:
>> >
>> >> I had some problems when I used Java 6 with the error message javax not
>> >> found, or something similar. That's the only thing I can remember,
>> Henry.
>> >>
>> >> Could it be an error with the docbase setting for the context?
>> >>
>> >>
>> >> On Thu, Jun 10, 2010 at 9:46 PM, Henry Minsky <[email protected]
>> >wrote:
>> >>
>> >>> Wasn't Raju complaining at one point about a newer version of
>> tomcat
>> >>> copying all the files from the working dir into it's own dir instead
>> ofjust
>> >>> running from the directory? Raju?
>> >>>
>> >>>
>> >>> On Thu, Jun 10, 2010 at 3:40 PM, P T Withington <[email protected]>
>> wrote:
>> >>>
>> >>>> And now webapp.deploy seems to take forever (1:43) and if emacs has
>> left
>> >>>> any .# temp files in WEB-INF tomcat silently declines to deploy my
>> servlet
>> >>>> (I guess) and serves up all my .lzx files as straight text.
>> >>>>
>> >>>> Looking for suggestions...
>> >>>>
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Henry Minsky
>> >>> Software Architect
>> >>> [email protected]
>> >>>
>> >>>
>> >>>
>> >>
>>
>>
>