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 13921

Summary: Listen for changes in Modules/*.xml
Product: platform Reporter: Jesse Glick <jglick>
Component: Module SystemAssignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: blocker CC: issues, issues
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 14558    
Bug Blocks:    
Attachments: Patch in progress (for archival purposes)

Description Jesse Glick 2001-07-25 16:43:31 UTC
Currently the contents of the Modules/ folder in the system file system are read
at startup for the initially loaded modules, and changes in the module manager
are written to this folder as well. But changes in it from other sources
(additions, removals, changes of content such as the enablement status of a
module) are not listened to. They should be, as this would be needed e.g. for
full session support and possibly for autoupdate as well.
Comment 1 Jesse Glick 2001-07-25 19:21:28 UTC
Starting but not clear if I will be able to finish this for feature
freeze, beware.
Comment 2 Jesse Glick 2001-07-25 19:21:42 UTC
x
Comment 3 Jesse Glick 2001-08-16 20:56:35 UTC
Created attachment 2204 [details]
Patch in progress (for archival purposes)
Comment 4 Jesse Glick 2001-08-19 13:14:13 UTC
Implemented, please check Modules API for docs and try it. Especially
I am looking for feedback on how well it works with session support;
probably future unit tests should simulate adding a session layer.

Rollback info: comment out "folder.addFileChangeListener(...)" in
ModuleList.
Comment 5 pzajac 2003-01-22 10:00:30 UTC
fixed before 1.5 years -> closed