I want to build it offline anyway
Thanks & Regards, Mohmmadanis Moulavi ________________________________ From: Prashant Sharma <prashant.ii...@gmail.com> To: common-dev@hadoop.apache.org; mohmmadanis moulavi <anis_moul...@yahoo.co.in> Sent: Friday, 18 November 2011 4:10 PM Subject: Re: building hadoop Bypassing dependency resolver is not possible as such. Incase you are behind a proxy which restricts downloading dependencies you can first build it on a machine which has internet access using command 'ant clean install'. And then you can simply copy the ivy2 chache ~/.ivy to your system and then try ant clean install. -P On Fri, Nov 18, 2011 at 3:57 PM, mohmmadanis moulavi < anis_moul...@yahoo.co.in> wrote: > How can I skip dependency resolver, > without modification of code also it's not working at all > > > > > Thanks & Regards, > > Mohmmadanis Moulavi > > > > ________________________________ > From: Prashant Sharma <prashant.ii...@gmail.com> > To: common-dev@hadoop.apache.org; mohmmadanis moulavi < > anis_moul...@yahoo.co.in> > Sent: Friday, 18 November 2011 12:34 PM > Subject: Re: building hadoop > > I think you should build it online for first time. > > On Fri, Nov 18, 2011 at 12:26 PM, mohmmadanis moulavi < > anis_moul...@yahoo.co.in> wrote: > > > Friends, > > > > > > > > I have modified the source program of hadoop 0.20.2, and i want to build > > it using "ant" but it's not working . > > > > > > > > I use the following command > > > > > > > > ant -Doffline=true -Dresolvers=internal > > > > the ouput of this command looks like as follows: > > > > > > clover.setup: > > > > clover.info: > > [echo] > > [echo] Clover not found. Code coverage reports disabled. > > [echo] > > > > clover: > > > > ivy-download: > > > > ivy-init-dirs: > > > > ivy-probe-antlib: > > > > ivy-init-antlib: > > > > ivy-init: > > [ivy:configure] :: Ivy 2.0.0-rc2 - 20081028224207 :: > > http://ant.apache.org/ivy/ :: > > :: loading settings :: file = > > /home/internal/studentpr/anis/hadoop-0.20.2/ivy/ivysettings.xml > > > > ivy-resolve-common: > > [ivy:resolve] :: resolving dependencies :: > > org.apache.hadoop#Hadoop;work...@yc4.cn.yuva.param > > [ivy:resolve] confs: [common] > > > > > > > > > -------------------------------------------------------------------------------------------------------- > > > > and it stops there. > > > > > > If anyone knows it how to build it, please let me know it. > > > > > > > > Regards, > > > > Mohmmdanis Moulavi > > >