You are correct about scanning its entire dir... My question to
you in turn is why you'd like to pass in explicitly the file list to
compile? Most often, one compiles everything in the src/ or src/java/
directory, with simple include/exclude pattern. This is OK even with a large
number of files.
The time it takes to find all the java files by using the examples can't be
that long. We have something like 2800 files that get compiled and it takes
< 1 minute (we have nice hardware here). If a second "compile" is run and
nothing needed it takes < 4 seconds.
Could you paste in your target an