This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If module B has no public packages, and you add a dep on B to module A from e.g. Libraries node, then try to build A, it will fail: The module ... has no public packages and so cannot be compiled against The reason is that the "Include API Packages in Classpath" checkbox is checked and you cannot uncheck it in the Edit Module Dep dialog: it is disabled! Worse, even if you select Implementation Dependency temporarily, the checkbox is still disabled, which is definitely wrong. Workaround is to edit project.xml and remove <build-prerequisite/> and <compile-dependency/>.
Presumably should be fixed for 5.0u1. I'll try to find a time to fix it ASAP, hopefully today or tomorrow.
Fixed. Would like to backport ASAP. Behavior review appreciated. test/unit/ui/customizer/ModuleDependencyTest.java; 1.7 -> 1.8; ui/customizer/EditDependencyPanel.java; 1.18 -> 1.19; ui/customizer/ModuleDependency.java; 1.22 -> 1.23; (ummm, somehow forgot to mark this STARTED, sorry)
Backported. Please Tomasi or/and Zajo help with testing this. Thanks. test/unit/ui/customizer/ModuleDependencyTest.java; 1.3.6.3 -> 1.3.6.4; ui/customizer/EditDependencyPanel.java; 1.17.2.1 -> 1.17.2.2; ui/customizer/ModuleDependency.java; 1.19.2.2 -> 1.19.2.3;
verified in 50u1 branch
..and also in trunk..