java - Ant GET task and proxy -


how use ant's task proxy?

i see there username , password, there no proxy host :(

the key bit in gettask docs is:

proxies. since apache ant 1.7.0, ant running on java1.5 or later can use proxy settings of operating system if enabled -autoproxy option. there 'setproxy' task earlier java versions. proxies turned on, requests against localhost may not work expected, if request relayed proxy.

so can use setproxy task older versions of ant, or see docs on proxy config:

<setproxy proxyhost="firewall" proxyport="81"/> 

(the username , password attributes of gettask remote system, not intermediate proxies.)


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -