Finally go the deploy ant task to work- cleared up a
lot of my misunderstanding. I found two bugs (or are
they mistakes on my part??) though:

1. The only path accepted by the ant deploy task is a
URL type (see sample below)

<target name="deploy" description="Deploy web
application"
          depends="build">
    <deploy url="${url}" username="${username}"
password="${password}"
            path="${path}"
war="http://localhost/myApp.war"/>
  </target>
   
2. The undeploy task removes the war file all right,
but the server.xml entry that is added is not removed.



--- Sam Ewing <[EMAIL PROTECTED]> wrote:
> I remember seeing a bug sometime back on deployed
> applications not persisting across Tomcat restarts.
> Has this been fixed?
> 
> The deployed app is copied into CATALINA_HOME/work
> which is not loaded up by Tomcat- so how does Tomcat
> find the context again? Is server.xml modified?
> 
> I haven't been able to get my deploy ant task to
> work
> so can't try it out (keep getting 
> java.net.UnknownHostException for deploy- all other
> tasks work fine :(- but that is another issue.)
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

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

Reply via email to