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.
Create a NB module project using cluster harness. If you don't have NB source, just netbeans binaries, the dependent module jars are not added to the project classpath. The result is that you will get red syntax error underline everywhere. Code completion does not work. Build still successful. In the console, you will get: [org.netbeans.modules.apisupport.project] Warning - could not find dependent module path openide for NbModuleProject[MasterFileObject@1aac78d[file:/home/nam/buzz/nb_all/snipe/]] [org.netbeans.modules.apisupport.project] Warning - could not find dependent module path openide/loaders for NbModuleProject[MasterFileObject@1aac78d[file:/home/nam/buzz/nb_all/snipe/]] This is a big obstacle for JSE developer to use NB40. There seems to be no work-around that I know off.
*** This issue has been marked as a duplicate of 52354 ***
Right.
I have found the workaround in JSE (Java Studio Enterprise) build environement which is modeled after NetBeans build environment ratrher than cluster-harness. We have to include all NetBeans clusters in nbbuild/cluster.properties. We also have to includes all NetBeans modules in nbbuild/templates/modules.xml. For build environment based on NetBeans binaries, it would be better if these information are derived dynamically from the unzipped netbeans binary tree. Maybe some additional data dictionary needs to be packaged along with the binaries to help the derivation?