How should I generate javadoc for my project (class library) as jar archive using Intellij IDEA 11?
Is there any way to generate javadoc within generating artifact (jar archive) for my project?
Add a Javadoc using automatic commentsType /** before a declaration and press Enter . The IDE auto-completes the doc comment for you.
With a URL or Jar file Then open Project Structure, navigate to Libraries, and click the icon that combines a "+" and a globe. Paste the URL and save it. If you happen to have the javadoc in a jar file instead, you can use the normal "+" icon you see in this same Project Structure > Libraries window.
In the Package Explorer view, select a Java project and click Project > Generate Javadoc with Diagrams > Automatically. In the Generate Javadoc wizard, under Javadoc command, select the Javadoc command (an executable file).
To generate JavaDoc in Eclipse: –Select “Generate JavaDoc” option from Project menu and a wizard will appear. Specify the location for the JavaDoc file on your computer, by default it will be in the C drive. Select the project and then the packages for which you want to create the JavaDoc file.
1) Tools | Generate JavaDoc. You can find more detail in generate-javadoc-dialog.
2) run "jar cf yourJarName * " on the directory which contains the JavaDoc you just generate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With