问题
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