How to have Netbeans projects export their dependencies like Eclipse does?

这一生的挚爱 提交于 2020-01-23 10:52:06

问题


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

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

How can I do that in Netbeans?


回答1:


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

  • Right click in your project
  • Project Properties -> Libraries
  • Add JAR


来源:https://stackoverflow.com/questions/8096232/how-to-have-netbeans-projects-export-their-dependencies-like-eclipse-does

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!