Philippe Valle wrote:
> My tag to deploy in web.xml is install . When i run ant -v install :
>
> Buildfile: build.xml
> Detected Java version: 1.4 in: /usr/local/src/j2sdk1.4.1_01/jre
> Detected OS: Linux
> .....
>
> install:
> [install] OK - Installed application at context path /cms
> [install]
>
> BUILD SUCCESSFUL
> Total time: 25 seconds
>
Well, the important stuff occurs where you put "....". Try this:
ant uninstall
ant -v install
to see what's going on. I suspect (and I may be wrong) that the war is
not uploaded and put in a location that Tomcat can see. I think that in
order for this to be automatic you either have to:
- modify your server.xml to tell it where to find your warfile or
- put the exploded webapp in Tomcat's default directory. I'm not sure
that's done automatically. I think that if you don't build a warfile but
do the install, the directory is copied as is to Tomcat's webapp
directory. I'm not sure what happens when you do this manually.
I'm not all that comfortable with Tomcat yet and I won't have time to
master it before January.
L
--
<Laurent Duperval> laurent.duperval@microcell.ca
CUTLER WEBSTER'S LAW
There are two sides to every argument, unless a person is personally
involved, in which case there is only one.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|