On 8/26/07, Brian Munroe <[EMAIL PROTECTED]> wrote:

> I am experiencing an annoying (but not show-stopping) issue while
> trying to use the Catalina ReloadTask Ant task.
>

Ok, I think I've isolated the problem, and it has nothing to do with
the ReloadTask.  More in regards to the DeployTask, as explained
below.

It used to be while using my old environment [1], when I do an 'ant
list' it would tell me that it is running the web app from my local
build/ directory, for example
'/Users/brian/Projects/importest/build/'.

Now it appears that is actually 'deploys' the web application to the
$CATALINA_HOME/webapps directory.

So it seems that something has changed in the way localWar now
functions?  I've even tried changing from 'value' to the 'location'
attribute when setting the build.home property, just in case.

<property name="app.name"      value="importtest"                  />
<property name="app.path"        value="/${app.name}"            />
<property name="build.home"    location="${basedir}/build"   />

<deploy
    url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"
    localWar="file://${build.home}"
/>

Any advice?  Thanks!

-- brian

[1] - Ant 1.6.5, Tomcat 5.0, and JDK 1.4.2 (OS X)

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to