Search code examples
javanetbeansidejavadoc

NetBeans not generating @author and @version of javaDoc?


NetBeans by default will not generate documentation from @author and @version tags. How do I enable this from within the IDE?

Edit: There is indeed an option within NetBeans to display these tags. Run>Set Project Configuration>Customize... Expand Build and select Documenting - the checkboxes are right in the middle.


Solution

  • Modify build.xml, the build file for Ant. Redefine your "javadoc" target to include all of the information you see fit. The solution is independent from NetBeans, so it'll work with any Ant-based build environment.

    Here are some very concrete instructions.