In netbeans, I'm having a hard time figuring out how to simply reference a library instead of both referencing *and* including it as part of the distributed file that netbeans produces.
For example I have an EAR project with an EJB project and a Web project. I'm referencing some jars for EJB3 that reside on the app server. When I build the project I don't want those jars to be included in the .ear file in the /lib folder...but they're being placed there when I build the app. I simply want my code "linked" to them so the app will build. When I deploy the application will find those libraries in the app server.
I can do this in eclipse w/ a project reference...and that's exactly what I want in Netbeans - how can this be done?