When I have to generate javadocs for a new, unfamiliar project, I find that I spend a long time trying to simply write the correct command, specifying all the packages, all the
On Windows you can do it like this:
Generate file list:
dir /s /b *.java > file.lst
Generate javadoc:
javadoc -d outputdir @file.lst
Use find to find all Java source files and then send them to javadoc:
find
javadoc
find . -type f -name "*.java" | xargs javadoc -d outputdir