Generic javadoc command that always generates all javadocs in a given tree?

前端 未结 2 1498
耶瑟儿~
耶瑟儿~ 2021-02-02 12:03

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

2条回答
  •  终归单人心
    2021-02-02 12:17

    On Windows you can do it like this:

    Generate file list:

    dir /s /b *.java > file.lst
    

    Generate javadoc:

    javadoc -d outputdir @file.lst
    

提交回复
热议问题