NetBeans-如何使用所有必需的库来构建Project jar文件 [英] NetBeans - How to Build Project jar file with all required libraries
本文介绍了NetBeans-如何使用所有必需的库来构建Project jar文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试使用NetBeans 6.5构建项目;问题是该项目包含添加的外部jar,因此我需要将它们全部放入我的jar文件中(因为这是要签名的);但是IDE只是将项目类放在jar中:(
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 :(
所以我的问题是如何使用NetBeans将依赖于项目的外部库放入我的项目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.
这篇关于NetBeans-如何使用所有必需的库来构建Project jar文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文