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 - Implement masking of wstcref files in module folder
Summary: Implement masking of wstcref files in module folder
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks: 32212
  Show dependency tree
 
Reported: 2003-06-11 11:17 UTC by mslama
Modified: 2008-12-22 18:59 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

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