问题
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