HOW to COMPILE HADOOP

2010-07-02 Thread Ahmad Shahzad
Hi ALL, Can anyone tell me that how will i compile the whole hadoop directory if i add some files to hadoop core directory or i change some code in some of the files. Regards, Ahmad Shahzad

Re: HOW to COMPILE HADOOP

2010-07-02 Thread Harsh J
Use the ant build.xml (and the provided targets) bundled along? On Fri, Jul 2, 2010 at 8:51 PM, Ahmad Shahzad ashahz...@gmail.com wrote: Hi ALL,           Can anyone tell me that how will i compile the whole hadoop directory if i add some files to hadoop core directory or i change some code

Re: HOW to COMPILE HADOOP

2010-07-02 Thread Ahmad Shahzad
So, there can be two things, I can either add a new java file OR i can change the existing java files. Can you please explain it further. So, if i add a new java file in suppose, src\mapred\org\apache\hadoop\mapred\test.java. than how am i suppose to build it? just use ant build.xml ??? And if i

Re: HOW to COMPILE HADOOP

2010-07-02 Thread Greg Roelofs
Can you please explain it further. So, if i add a new java file in suppose, src\mapred\org\apache\hadoop\mapred\test.java. than how am i suppose to build it? just use ant build.xml ??? build.xml basically has wildcard targets, so adding a *.java file to an existing source directory will