Javadoc - How to disable all comments & tags ?
Good afternoon everyone,I would like to prevent all comments & tags from being parsed by the Javadoc tools.I would like to have a Javadoc with only information exported from source code.Is it possible? Is there any option to enable?Thank
"What information? The implementation body of the source code?"I mean all information that is already exported in Javadoc, but the comments from tags (@author, @version, @param, and all stuff like /** blablabla */).Thanks,Christophe
Just run javadoc with the -nocomment option. From the command line:
javadoc -nocomment yourpackage
In Netbeans, go to Project Properties - Build- Documenting and there is a text field for adding Javadoc options.
To disable an individual tag but not the rest of the comment, use the option
-tag tagname:X for each tag you want to disable.