I am using tomcat 4 and Ant 1.4.1. When I use the install or reload task I
get a 403 error that the file is not available when I try to access it.
When I use the remove I get an error message saying to use the taskdef to
declare a task? Any help would be appreciated. thanks
Scott
<!-- Configure properties to access the Manager application -->
<property name="url" value="http://localhost:8080/manager"/>
<property file="build.properties"/>
<property file="${user.home}/build.properties"/>
<target name="init">
<!-- Configure the custom Ant tasks for the Manager application -->
<taskdef classname="org.apache.catalina.ant.InstallTask"
name="install"/>
<taskdef classname="org.apache.catalina.ant.ReloadTask"
name="reload"/>
<taskdef classname="org.apache.catalina.ant.RemoveTask"
name="remove"/>
</target>
<!-- =================================================================== -->
<!-- Install the web app to the web server
-->
<!-- ===================================================================
-->
<target name="install" depends="create-war" description="Install web
application" >
<install password="${password}" path="${path}" url="${url}"
username="${username}" war="file:${build.dir}"/>
</target>
<!-- ===================================================================
-->
<!-- reload the web app to the web server
-->
<!-- ===================================================================
-->
<target name="reload" depends="create-war" description="Reload web
application" >
<reload password="${password}" path="${path}" url="${url}"
username="${username}"/>
</target>
<!-- ===================================================================
-->
<!-- remove the web app from the web server
-->
<!-- ===================================================================
-->
<target name="remove" description="Remove web application" >
<remove password="${password}" path="${path}" url="${url}"
username="${username}"/>
</target>
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>