简体   繁体   中英

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

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 ?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM