使用maven编译hadoop2.3.0的时候到了一步需要下载tomcat6,一直下载不动,仔细看了一下报错,是ant报出来的,无法下载,因为是用新立得装的ant,所以不知道在哪配置代理,卸了,重新下了一个配上。用说明中的-autoproxy或网上查到的加一堆参数的都不好使。后来查文档发现-autoproxy是由java调代理,需要有这些东西:
- /system/http_proxy/use_http_proxy boolean - /system/http_proxy/use_authentication boolean - /system/http_proxy/host string - /system/http_proxy/authentication_user string - /system/http_proxy/authentication_password string - /system/http_proxy/port int - /system/proxy/socks_host string - /system/proxy/mode string - /system/proxy/ftp_host string - /system/proxy/secure_host string - /system/proxy/socks_port int - /system/proxy/ftp_port int - /system/proxy/secure_port int - /system/proxy/no_proxy_for