This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi there, I recently came across this issue, developing a maven 'jar' project, but the same exists in the J2SE support. It is currently not possible to have one single jar file, containing all your dependencies, as an executable jar. I have found articles on netbeans homepage about that: http://java.sun.com/developer/technicalArticles/java_warehouse/single_jar/ http://wiki.netbeans.org/PackagingADistributableJavaApp http://binkley.blogspot.com/2006/12/making-one-jar-with-maven.html It is so much more easier to deploy a program on different platforms if there is only one jar file to start. Please provide support for that within netbeans for JSE Ant projects as well as maven projects.
Fatjar can be used for it. The j2seproject will need a change that it will either do the copylibs or the fatjar according to some property.
It would be great to have this functionality a standard functionality in nb