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 69873

Summary: Handle layer.xml deletion correctly
Product: apisupport Reporter: Tomas Danek <musilt2>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: VERIFIED WORKSFORME    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Danek 2005-12-05 11:35:13 UTC
[20051129]
based on comment from issue 66947
Have a module.When deleting layer.xml from projects view, i get *two* warning
messages:

1) The document could not be loaded.
2) $PATH_TO_MODULE\layer.xml (System cannot find the file specified)

sometimes i get *three* or *four* messages,  (1 or 2 are doubled randomly)

Tune this a bit, thanks.
Comment 1 Martin Krauskopf 2005-12-09 14:44:50 UTC
Yup, deleting of layer.xml is not handled well. Just don't do it for now ;)
It is more general problem. Also we should clear the manifest attribute, maybe
also recreate manifest attribute when layer.xml is created (after e.g. some
wizard have been run). Also check the module logical view if it reacts
appropriately. Maybe also notify somehow infractructure. Not sure now. Will have
to check it. Not for 5.0 (also edge case).
Comment 2 Martin Krauskopf 2008-02-07 17:50:45 UTC
I'm not working on APISupport anymore. Reassigning to owner of the component, so
the issue is not 'forgotten' forever.
Comment 3 Jesse Glick 2008-06-19 23:12:58 UTC
No such problem in a dev build that I can see.
Comment 4 Tomas Danek 2008-06-27 16:35:01 UTC
Nor do I. Verified.