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.
Say I have 2 module projects in my suite: subdir1/lib subdir2/lib They both get added to the suit's project properties as project.lib (the second added one's path overrides the first). All seems to be working until you quit the IDE, but when you restart, the other lib project is not opened with the suite. And, if you try to manually open it, there's a message in the log like this: java.io.IOException: Project in myproject/subdir1/lib does not appear to be listed in its own module list; some sort of misconfiguration (e.g. not listed in its own suite) at org.netbeans.modules.apisupport.project.NbModuleProject.<init>(NbModuleProject.java:125) I didn't really know what was wrong the first few times. Then, I manually changed the properties to: project.subdir1.lib and project.subdir2.lib and restarted and everything was fine. I suggest the wizards which create these properties take into account the absolute paths and handle duplicates a bit better.
Seems like a pretty straightforward bug. Should always uniquify project ref names (as e.g. ReferenceHelper in ant/project does).
Also another problem related to this issue is that it is possible to add two modules with the same CNB to the same suite (org.yourorghere.lib by default in described scenario). It shouldn't be possible.
Now CNB is used as a suffix. Also two suite components with the same CNB are not allowed to be added. Checking in NbModuleProjectGenerator.java; 1.38 --> 1.39 Checking in ui/customizer/SuiteUtils.java; 1.11 --> 1.12 Checking in ui/wizard/BasicConfVisualPanel.java; 1.25 --> 1.26 Checking in ui/wizard/Bundle.properties; 1.26 --> 1.27 Checking in ui/wizard/NewModuleProjectData.java; 1.10 --> 1.11
yes. seems to be fixed ok. Verified.