Is there a way to automatically generate source and javadoc jars in Netbeans? Ideally I would like to place jars of my source and JavaDoc in the dist folder each time i buil
I tried the following on NetBeans IDE 7.2 and it works (assuming that the project name is MyProject)
go to the MyProject directory
open build.xml file in a text editor
add the following lines under the line :
go to nbproject folder and open the project.properties file in a text editor
edit the name of the output binary file (set to the project name.jar by default):
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.jar=${dist.dir}/**MyProject-binaries**.jar
Hope it works with you too.