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 - Listen for changes in Modules/*.xml
Summary: Listen for changes in Modules/*.xml
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 14558
Blocks:
  Show dependency tree
 
Reported: 2001-07-25 16:43 UTC by Jesse Glick
Modified: 2008-12-23 08:37 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Patch in progress (for archival purposes) (33.59 KB, patch)
2001-08-16 20:56 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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