I have the following problem on Mac OS X that I do not have on Linux.
I install tomcat (I tried 5.5.17 and 4.1.31) and verify that the manager
application works. In particular, I can use the manager app to do a local
install from a directory by specifying the directory name with
'file:///path/to/buld'
in the 'WAR or Directory URL:' field.
In my webapp build.xml I have the following task:
<target name="install" depends="compile"
description="Install application to servlet container">
<deploy url="${manager.url}"
username="${manager.username}"
password="${manager.password}"
path="${app.path}"
localWar="file://${build.home}"/>
</target>
The variables are configured correctly (I know because the procedure works on
Linux and I've kept all the paths and users info the same).
When I run 'ant install', however, I get the following:
install:
BUILD FAILED
/path/to/source/build.xml:416: The <deploy> type doesn't support the "localwar"
attribute.
I looked at the source of 5.5.17 DeployTask.java and verified that it doesn
have 'localWar' attribute. What could be the problem? ant?
Please include me in the replies.
Thanks.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]