Okay, for beginners :
Download apache ant and install it in the home folder of cygwin
(if that's what you are using to run nutch)
Once you make changes to your code, execute the following commands in cygwin
, after cd-ing
to the project directory.
1) ant clean
2) ant
This will clean and build the project. Now run it, the changes in your code will be reflected.