I just downloaded the source code of "Lucene in Action, 2nd Edition". It contains everything you need, from Ant build.xml file to README where it tells how to run the examples.
And since Eclipse has a built-in support for Ant, then Eclipse is more than enough to run the examples.