You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gregg Bolinger <gb...@embeddedthought.com> on 2004/10/18 17:26:29 UTC

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