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.

Bug 221321

Summary: Commit validation should detect orphaned modules on a per-cluster basis
Product: www Reporter: Petr Jiricka <pjiricka>
Component: Builds & RepositoriesAssignee: pgebauer <pgebauer>
Status: NEW ---    
Severity: normal CC: jrechtacek, mjanicek
Priority: P4 Keywords: TEST
Version: 7.3   
Hardware: PC   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Flawed module dependencies which were not detected by commit validation

Description Petr Jiricka 2012-11-02 09:06:04 UTC
Created attachment 126974 [details]
Flawed module dependencies which were not detected by commit validation

Currently, commit validation checks that non-visible modules must not be orphaned, i.e. there must be a visible module that depends on this non-visible module. 
But this check is done on a global per-IDE basis, which is not sufficient: see bug 221083 and the attached deps.txt. In this case, visible module web.kit (enterprise cluster) depends on non-visible module web.client.samples (webcommon cluster), which currently passes commit validation. But it is still incorrect, because after activating the webcommon cluster by ergonomics, the web.client.samples is not activated, which is incorrect and causes bug 221083.

So commit validation should be more strict: it should check that for each non-visible module there is a visible module that depends on it *within the same cluster*.
Comment 1 Jaroslav Tulach 2012-11-05 13:05:31 UTC
I don't have time to work on this.