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 13916 - projects module should not keep serialized ModuleInstall state
Summary: projects module should not keep serialized ModuleInstall state
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-25 13:24 UTC by Jesse Glick
Modified: 2003-07-01 14:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2001-07-25 13:24:29 UTC
...as it prevents virgin builds from working fully and makes it harder to remove
firststart from the build process. If the ModuleInstall is only tracking install
count, please try to remove the readExternal and writeExternal methods
completely and find a better way. (Does a "project" need to be opened
automatically etc. or is there some other way to do this that does not require
keeping count?)
Comment 1 Vitezslav Stejskal 2001-08-03 13:24:51 UTC
taking this issue
Comment 2 Jesse Glick 2001-08-14 01:37:01 UTC
Don't forget to actually *remove* the declaration of readExternal and
writeExternal once they only call super, as this permits the module
system to use an optimization and avoid even trying to serialize them
(in either case it will not write the results to disk if they are not
changed from the initial state).
Comment 3 Vitezslav Stejskal 2001-08-16 12:05:38 UTC
Serialization was removed from ProjectsModule class, no readExternal/writeExteral methods, no .ser file 
created under the Modules directory anymore. Done in main trunk.
Comment 4 Milan Kubec 2002-01-18 08:00:25 UTC
Verified.
Comment 5 Quality Engineering 2003-07-01 14:18:03 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.