NetBeans - How to Build Project jar file with all required libraries

怎甘沉沦 提交于 2020-02-05 04:12:09

问题


I've tried to build my project with NetBeans 6.5; The thing is the project contains external jars added so I need them all being placed into my jar file (because it is to be signed); but IDE just places project classes in the jar :(

So my question is how to place project dependent external libs into my project JAR with NetBeans ?


回答1:


I think you need something like this fat jar tutorial. I'm not sure if it's easier than building with an Ant script, but it should do the trick.



来源:https://stackoverflow.com/questions/9745885/netbeans-how-to-build-project-jar-file-with-all-required-libraries

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!