如何让Netbeans项目导出其依赖关系,如Eclipse? [英] How to have Netbeans projects export their dependencies like Eclipse does?

查看:239
本文介绍了如何让Netbeans项目导出其依赖关系,如Eclipse?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Eclipse中,如果项目使用特定的JAR文件,我可以将其标记为提供/导出。

In Eclipse, if a project uses a particular JAR file, I can mark it to provide/export it.

所以如果另一个项目引用了前者,那么特定的JAR也可以使用。

So if another project has a reference to the former, then the particular JAR will be available too.

如何在Netbeans中执行此操作?

How can I do that in Netbeans?

推荐答案

您必须在项目属性中添加JAR,除非您使用某些部署工具。

In Netbeans you always have to add JAR in the project properties, unless you use some deployment tools.


  • 右键单击项目

  • 项目属性 - >库

  • 添加JAR

这篇关于如何让Netbeans项目导出其依赖关系,如Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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