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 <ashahz...@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

Reply via email to