On Mon, Jul 12, 2010 at 08:28AM, Ahmad Shahzad wrote: > Hi ALL, > Is it possible to compile hadoop using ANT without being > connected to internet. Because whenever i compile hadoop, it checks for some > ivy dependencies online. If it is possible than what should i change to > compile hadoop. I am just changing some of the hadoop code.
The way it is done right now is that ant build is checking the timestamps of the published snapshots of downstream projects. Thus, it needs Internet access. You might want to try -Dresolvers=internal and see if it solves the issue for you. Cos > Also, if i am behind a proxy, the ANT doesnt works. How can i set the proxy > settings for hadoop so that it can compile with the proxy. > > Regards, > Ahmad Shahzad
pgpg1quoDr9Vk.pgp
Description: PGP signature