On advice given here, I've got tomcat configured to _not_ unpack my .war
file. Then my ant 'deploy' target [not task] simply copies the .war file
over to /path/to/tomcat/webapps.
Now I'm trying to use the tomcat ant tasks to automate things, and I'm
running into problems. First, I can't reload
I wrote:
Then, the install task doesn't seem to work with a .war file. It
installed my .war file under the /webapps/bendev directory instead of
under /webapps where it belongs. I guess it's supposed to work with a set
of loose files?
Oops... I'm sure you know this, but it didn't move the
Wendy Smoak wrote:
Now I'm trying to use the tomcat ant tasks to automate things, and I'm
running into problems. First, I can't reload this app with the ant task.
It says:
w:\java\bendevant reload
Buildfile: build.xml
reload:
BUILD FAILED
file:w:/java/bendev/build.xml:159:
On Thursday 20 February 2003 12:51 pm, Wendy Smoak wrote:
On advice given here, I've got tomcat configured to _not_ unpack my .war
file. Then my ant 'deploy' target [not task] simply copies the .war file
over to /path/to/tomcat/webapps.
Wendy, why are you dealing with war files during
Wendy, why are you dealing with war files during development at all? Ant
does
a great job installing and reloading from docBases at arbitrariry
locations
on the filesystem.
At the moment, I don't have my development files arranged in a webapp
structure (with WEB-INF, etc.). I was developing
Erik wrote:
Does your ant task provide the HTTP authentication credentials?
According to the example build.xml comments, you need to set a
manager.username and manager.password property for the ant script to
access the /manager app with.
It's taken almost straight from the example:
target
Wendy Smoak wrote:
It's taken almost straight from the example:
target name=reload description=Reload Web application depends=
reload url=${manager.url} username=${manager.username}
password=${manager.password} path=/${context}/
/target
(With the appropriate properties set, of
* Paul Yunusov [EMAIL PROTECTED] [0245 19:45]:
On Thursday 20 February 2003 12:51 pm, Wendy Smoak wrote:
On advice given here, I've got tomcat configured to _not_ unpack my .war
file. Then my ant 'deploy' target [not task] simply copies the .war file
over to /path/to/tomcat/webapps.
Erik wrote:
Hmm... not to be contradictory but those two URLs are not the same, if
you look closely. (One is manager/html/reload, the other is
manager/reload.) But I do not know much about the /manager app, so this
might not be the source of your problems.
One is what you use when