If you're doing it to reload the context of an application in Tomcat, is there any reason why you can't use the Tomcat ant tasks? These support the basic authentication that I assume you have in place.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/index.html James -----Original Message----- From: Nir Geier [mailto:[EMAIL PROTECTED] Sent: Wed 5/18/2005 4:00 PM To: Ant Users List Cc: Subject: RE: How to open URL from ANT. Ty for all your help Stefan. i assume its related to the authentication. if i upload page without authentication it works fine. Nir. -----Original Message----- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 3:38 PM To: user@ant.apache.org Subject: Re: How to open URL from ANT. On Wed, 18 May 2005, Nir Geier <[EMAIL PROTECTED]> wrote: > <get src="http://localhost:7701/manager/reload?path=/cc" > dest="${logs.dir}/reload_cc.log" > verbose="${verbose}" > usetimestamp="true" > password="tomcat" > username="tomcat" /> > > java.lang.ArrayIndexOutOfBoundsException: 12 Most probably <http://issues.apache.org/bugzilla/show_bug.cgi?id=34734>. Will be fixed in 1.6.4. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]