> 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 automatically build it (e.g., via "ant mvn-install"). > And if i change suppose src\mapred\org\apache\hadoop\mapred/TaskTracker.java > file than how am i suppose to build ? Same way. It checks (lots of) dependencies, but it will rebuild only the things that are newer than the corresponding output files. You'll see "Compiling 1 file" (or something like that) in the output. Greg