简体   繁体   中英

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

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM