title: How to Embed Javadoc in a Jar for Netbeans
body: <p>Is it possible to automatically embed javadoc into a jar from NetBeans? In the program there is an option to generate javadoc. This creates a finished website generated from the existing javadoc in your project. There is also an option to attach javadoc to a project or jar so that it shows up in the suggestions. Right now, when I click build and then take the jar and add it to a project on a different computer the javadoc for jar does not show up. I have to manually copy it over to the computer and attach it, which seems redundant when I should just be attached automatically.  </p>
  
  <p>Things I tried:</p>
  
  <ul>
  <li>Using 'Clean and Build' and just 'Build'</li>
  <li>Exporting the whole dist folder instead of just the jar.</li>
  <li>Putting the javadoc inside the jar.</li>
  </ul>