javadoc生成幫助文檔命令

在生成文檔的目錄下創建package.txt

然後在package.txt中寫入要生成的首個主包名稱,那麼採用如下語句,將生成主包下所有java文件的文檔幫助html

javadoc -d apitest -subpackages @package.txt

H:\litejia數據\spring框架源碼\spring-framework\spring-webmvc\src\main\java>type package.txt
org

H:\litejia數據\spring框架源碼\spring-framework\spring-webmvc\src\main\java>javadoc -d apitest -subpackages @package.txt
正在加載程序包org.springframework.web.servlet的源文件...
正在加載程序包org.springframework.web.servlet.config.annotation的源文件...
正在加載程序包org.springframework.web.servlet.config的源文件...
正在加載程序包org.springframework.web.servlet.handler的源文件...
正在加載程序包org.springframework.web.servlet.i18n的源文件...
正在加載程序包org.springframework.web.servlet.mvc的源文件...
正在加載程序包org.springframework.web.servlet.mvc.annotation的源文件...
正在加載程序包org.springframework.web.servlet.mvc.condition的源文件...
正在加載程序包org.springframework.web.servlet.mvc.method的源文件...
正在加載程序包org.springframework.web.servlet.mvc.method.annotation的源文件...
正在加載程序包org.springframework.web.servlet.mvc.support的源文件...
正在加載程序包org.springframework.web.servlet.resource的源文件...
正在加載程序包org.springframework.web.servlet.support的源文件...
正在加載程序包org.springframework.web.servlet.tags的源文件...
正在加載程序包org.springframework.web.servlet.tags.form的源文件...
正在加載程序包org.springframework.web.servlet.theme的源文件...
正在加載程序包org.springframework.web.servlet.view的源文件...
正在加載程序包org.springframework.web.servlet.view.document的源文件...
正在加載程序包org.springframework.web.servlet.view.feed的源文件...
正在加載程序包org.springframework.web.servlet.view.freemarker的源文件...

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章