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.
Summary: | would like to see module dependencies displayed in the IDE | ||
---|---|---|---|
Product: | platform | Reporter: | eakle <eakle> |
Component: | Module System | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | UI |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Provisional patch |
Description
eakle
2002-04-16 16:16:21 UTC
I think this is overkill for the core; it is not trivial to display a tree of dependencies legibly. But the API Support could show this kind of information, perhaps. Target milestone was changed from '3.4' to TBD. Might reassign to autoupdate module, unclear. After running the "lsmod" command on Linux: Module Size Used by e100 52144 0 vpnmod 191392 -1 (unused) wvlan_cs 23264 1 i810_audio 14528 0 (autoclean) ac97_codec 8832 0 (autoclean) [i810_audio] soundcore 4452 2 (autoclean) [i810_audio] ds 7040 3 [wvlan_cs] yenta_socket 9504 3 pcmcia_core 41600 0 [wvlan_cs ds yenta_socket] appletalk 20908 0 (autoclean) ipx 16436 0 (autoclean) ide-scsi 8192 0 scsi_mod 95688 1 [ide-scsi] ide-cd 27072 0 cdrom 28544 0 [ide-cd] nls_iso8859-1 2816 1 (autoclean) nls_cp437 4320 1 (autoclean) vfat 9560 1 (autoclean) fat 32376 0 (autoclean) [vfat] usb-uhci 21540 0 (unused) usbcore 51712 1 [usb-uhci] I realized that this is a decent UI and simple enough to be in core after all. So far I have a patch which for enabled regular modules, shows which other enabled regular modules are depending on it being enabled. That is pretty much what lsmod is showing, and I think the most commonly desired piece of information. For technical reasons the patch does not yet work for autoload modules, however, which makes it less useful - I hope to fix that. Created attachment 7206 [details]
Provisional patch
Finally implemented, and without the restrictions on autoloads. committed * Up-To-Date 1.68 core/build.xml committed * Up-To-Date 1.24 core/manifest.mf committed * Up-To-Date 1.60 core/src/org/netbeans/core/modules/ModuleManager.java committed * Up-To-Date 1.22 core/src/org/netbeans/core/modules/Util.java committed * Up-To-Date 1.58 core/src/org/netbeans/core/ui/Bundle.properties committed * Up-To-Date 1.29 core/src/org/netbeans/core/ui/ModuleBean.java committed * Up-To-Date 1.28 core/src/org/netbeans/core/ui/ModuleNode.java committed * Up-To-Date 1.30 core/test/unit/src/org/netbeans/core/modules/ModuleManagerTest.java |