Wendy Smoak wrote:
It's taken almost straight from the example:Hmm... not to be contradictory but those two URLs are not the same, if you look closely. (One is manager/html/reload, the other is manager/reload.) But I do not know much about the /manager app, so this might not be the source of your problems.
<target name="reload" description="Reload Web application" depends="">
<reload url="${manager.url}" username="${manager.username}" password="${manager.password}" path="/${context}"/>
</target>
(With the appropriate properties set, of course.) And I get:
w:\java\bendev>ant reload
Buildfile: build.xml
reload:
BUILD FAILED
file:w:/java/bendev/build.xml:159: java.io.IOException: Server returned HTTP
res
ponse code: 401 for URL: http://localhost/manager/reload?path=%2Fbendev
Total time: 2 seconds
w:\java\bendev>
It does work manually from the manager app:
OK - Reloaded application at context path /bendev
with this URL:
http://localhost/manager/html/reload?path=/bendev
Looks the same to me...
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
