I have two projects in NetBeans that are dependent upon each other, and one references the JAR of the other one. Currently it copies all the JARs it is dependent upon into the dist/lib directory, but I don’t want it to copy them–I want it to directly reference the other project’s JAR from that dist directory.
How do I do this through NetBeans without manually editing the classpath?
You might want to look into using Maven for your projects. It’s a tool that gives you more control over the build process and clarifies your projects’ dependencies. The latest versions of Netbeans come bundled with Maven support.