I am using netbeans to develop a project. My project also depends on the javaMail files which I added using Netbeans libraries. When I build the project I get a dist folder under which is my jar file and a lib folder. I want to distribute the project simply to my users and want to some how wrap the lib contents into the project jar file. Is there a simple way to accomplish this using Netbeans?
+1
A:
There are a few posts on this topic:
- Put external libraries to the jar (NetBeans specific)
- Netbeans - deploying all in one jar (NetBeans specific)
- Classpath including JAR within a JAR
- Java: Easiest way to merge a release into one jar file
And others specific to other build environments and IDEs
Chadwick
2010-07-10 22:48:52