With the change from Tomcat 5.0.27 to 5.5 the behavior of installing an
app outside of $CATALINA_HOME/webapps using the Ant deploy task doesn't
seem to work. Well, at least not for me.
Tomcat 5.0.27 just created a context configuration file in
$CATALINA_HOME/conf/Catalina/localhost, pointing to my build directory,
~/workspace/tomtest/build
In contrast, Tomcat 5.5 copies the contents of ~/workspace/tomtest/build
to $CATALINE_HOME/webapps/tomtest and no context configuration file is
created in $CATALINA_HOME/conf/Catalina/localhost.
I'm still pretty new to servlets, JSP, and Tomcat, so I might be
overlooking something rather obvious.
Michael
---->---->---->----
<property name="app.path" location="/${app.name}"/>
<property name="build.home" location="${basedir}/build"/>
<target name="tomcat.install" depends="compile"
description="Install application to servlet container">
<deploy url="${manager.url}"
username="${manager.username}"
password="${manager.password}"
path="${app.path}"
localWar="file://${build.home}"/>
</target>
---->---->---->----
--
Michael Schuerig Failures to use one's frontal lobes
mailto:[EMAIL PROTECTED] can result in the loss of them.
http://www.schuerig.de/michael/ --William H. Calvin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]