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 34301

Summary: Implement masking of wstcref files in module folder
Product: platform Reporter: mslama <mslama>
Component: Window SystemAssignee: mslama <mslama>
Status: RESOLVED FIXED    
Severity: blocker CC: pzavadsky
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 32212    

Description mslama 2003-06-11 11:17:45 UTC
Winsys configuration is separated to module folder
(where winsys configuration defined by modules is
stored - read only) and local folder where
modified or current winsys configuration is
stored. When TopComponent stays at the same mode
as defined by module wstcref file is present both
in module and local folder in the same mode
folder. This handled by loading only from local
folder when wstref file is present in boh. When
TopComponent is moved to another mode it is
necessary to avoid loading wstcref file from
module folder in original mode. Deleting wstcref
file in module folder would create _hidden file
and it would break handling of disabling/enabling
module. So I choosed to handle it in code:

When wstcref (every TopComponent and wstcref has
unique ID) is present in local folder AND in
different mode in module folder => wstcref in
module folder is ignored.

It is necessary to update handling of
disabling/enabling module to ensure proper
cleaning of local wstcref files when module is
disabled.
Comment 1 mslama 2003-11-04 17:01:02 UTC
Masking is already implemented. Cleaning of files from local folder
must be checked when wstcref is already in different mode in local folder.
Comment 2 mslama 2005-06-14 09:10:24 UTC
Done.