Ant 中作用代理
<target name="proxy"> <setproxy proxyhost="90.0.16.220" proxyport="8088" proxyuser="" proxypassword=""/> </target>
使用 在depends中收入proxy就好了。
<target name="eclipse" depends="proxy,init,ant-eclipse-download,ivy-retrieve-common,ivy-retrieve-test,compile-core-test" description="Create eclipse project files">