You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Ahmad Shahzad <as...@gmail.com> on 2010/07/12 18:11:49 UTC
proxy settings for ivy
Hi ALL,
Can anyone tell me where i set the proxy settings for ivy. I am
unable to build hadoop using ant. It says BUILD FAILED
java.net.ConnectException: Connection refused.The reason is that i am
connected through a proxy to internet.So, where should i tell hadoop to use
the proxy.
Regards,
Ahmad Shahzad
Re: proxy settings for ivy
Posted by Ahmad Shahzad <as...@gmail.com>.
Thanks for help. Setting ANT_OPTS="Dhttp.proxyHost=proxy
-Dhttp.proxyPort=port" worked.
Ahmad
Re: proxy settings for ivy
Posted by Harsh J <qw...@gmail.com>.
Ensure you've set your ANT_OPTS for this, before issuing the ant command.
For example: set ANT_OPTS=-Dhttp.proxyHost=kaboom -Dhttp.proxyPort=2888
There are similar options available for authenticated proxy also :)
On Mon, Jul 12, 2010 at 9:41 PM, Ahmad Shahzad <as...@gmail.com> wrote:
> Hi ALL,
> Can anyone tell me where i set the proxy settings for ivy. I am
> unable to build hadoop using ant. It says BUILD FAILED
> java.net.ConnectException: Connection refused.The reason is that i am
> connected through a proxy to internet.So, where should i tell hadoop to use
> the proxy.
>
> Regards,
> Ahmad Shahzad
>
--
Harsh J
www.harshj.com