I commit code documentation is very essential to maintain the software product. I am using notepad++ to write the java code. I installed one of its plugin NppDocIt that inserts auto comments by pressing ctrl+alt+shift+D
. Its good to know about methods but I want to generate code documents like java docs for example This Document
Update-1 Thanks for good guidance and I learned a lot.
I tried to generate javadoc as following:
F:\Java\Tomcat\webapps\ROOT\WEB-INF\classes>javadoc -d "C:/docs" -sourcepath -package "com/i18n/source/i18n" -subpackages com
javadoc: error - Illegal package name: "com/i18n/source/i18n"
1 error
My package resides as:
com
|--i18n
|--resources
|--bundles
|--labelsBundle
Please advise where I am wrong?
Update-2
Answer:
- I added all java files in one folder
- Created one folder for example c:/docs
- run this command from commandline
javadoc -d "C:/docs" *.java
and successfully my codes documentation generated
Thanks from the bottom of my heart to stackoverflow and participants of this thread