This is my ant task
<deploy
url="${dev.manager}"
username="${username}"
password="${password}"
path="${context.path}"
war="${war.url}"
update="true"/>
No need to define config. On *nix box, war.url is file:/your/path/to/war, on
win32 box, war.url is file:/c:/your/path/to/war.
Context will always be dropped off conf/${engine}/${host} as
${your.context}.xml
-----Original Message-----
From: Gregg Bolinger [mailto:[EMAIL PROTECTED]
Sent: October 18, 2004 11:26 AM
To: [EMAIL PROTECTED]
Subject: Tomcat Ant Tasks
I am trying to use Tomcat Ant tasks to deploy my application while testing.
The only part I am having a problem with is trying to deploy the context
config file. Below is my task
<target name="deploy-local" depends="war">
<deploy
url="${tomcat.local.url}"
username="${username}"
password="${password}"
path="${path}"
update="true"
config="//$(basedir}/resources/anykey.xml"
war="//${basedir}/build/${deploy.name}"/>
</target>
The war file is deployed just fine, but my config file goes nowhere. ANT
claims everything was successful. Does anyone have any ideas about this?
Thanks
Gregg Bolinger
!DSPAM:4173e0ac132939060421364!