You could always use a .wgetrc to contain those parameters.

Or ant's GET task probably does the trick too since it supports BASIC authentication.

In the near future - I hope to change my deploy tasks to use ant's GET instead of wget.

-Tim

Erik Price wrote:

Tim Funk wrote:

I use wget(http://www.gnu.org/directory/GNU/wget.html) with ant.

Tim,

Thanks for your idea -- it's a good one and I didn't even think of it. But according to the link Jacob Kjome posted, the same can be done using a build.properties and custom ant task with the catalina-ant.jar classes. The only reason I'd choose this over wget is that it would appear that the wget approach puts the username/password on the command line itself, so that would be viewable to any other users using "top" or "ps" or similar process-watching software.

I'm assuming of course that I can somehow protect the "build.properties" file from other users as well...


Thanks again,

Erik


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to