Yep,
<target name="deploy" depends="compile,manager.init"
description="Deploy web-app war" >
<deploy
url="${manager.url}"
username="${manager.username}"
password="${manager.password}"
config="${app.ccf}"
path="${app.path}" />
</target>
the path attribute is moderately redundant since you specify it in the Context Configuration File, but, oh well.
Check out the Barracuda project to see this stuff integrated pretty transparently into the build.
http://barracuda.enhydra.org/software/cvs/cvsweb.cgi/Projects/EnhydraOrg/toolsTech/Barracuda/src/
Jake
At 05:06 PM 10/29/2002 +1100, you wrote:
Hi all, The Tomcat Ant deploy task can take a WAR file to be installed which is just great, but I want to be able to configure the <Context> as part of the deployment.Does the deploy task have the capability of taking an optional config="foo.xml" in the same way as the install task ? Cheers, -- jon -- Jon Eaves <[EMAIL PROTECTED]> http://www.eaves.org/jon/ -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
