是否可以依赖NetBeans模块项目中的JAR文件? [英] Is it possible to have a dependency on a JAR file in a NetBeans module project?

查看:73
本文介绍了是否可以依赖NetBeans模块项目中的JAR文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个NetBeans模块项目,并且需要添加对我创建的JAR文件的依赖关系-这可能吗?我只看到在nother模块上添加依赖项的选项.我正在使用NetBeans 6.5.1.

I have created a NetBeans module project and need to add a dependency on a JAR file I have created- is this possible? I only see the option to add a dependency on a nother module. I am using NetBeans 6.5.1.

谢谢!

推荐答案

模块只能依赖于其他模块.

Modules can only depend on other modules.

创建引用您的类的库,然后创建一个库包装模块",将库封装为一个模块.

Create Library that references your class, then create a "Library Wrapper Module" that encapsulates the library as a module.

这篇关于是否可以依赖NetBeans模块项目中的JAR文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆