[英]NetBeans - How to Build Project jar file with all required libraries
I've tried to build my project with NetBeans 6.5; 我试图用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);
问题是该项目包含添加的外部jar,因此我需要将它们全部放入我的jar文件中(因为要对其进行签名); but IDE just places project classes in the jar :(
但是IDE只是将项目类放在jar中:(
So my question is how to place project dependent external libs into my project JAR with NetBeans ? 所以我的问题是如何使用NetBeans将依赖于项目的外部库放入我的项目JAR中?
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.
我不确定是否比使用Ant脚本构建要容易,但是应该可以解决问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.