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 202193 - Deleting layer.xml should remove OpenIDE-Module-Layer too
Summary: Deleting layer.xml should remove OpenIDE-Module-Layer too
Status: REOPENED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal with 3 votes (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 15:12 UTC by javydreamercsw
Modified: 2013-02-14 13:17 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2011-09-15 15:12:08 UTC
I love the new wizard to create a layer file but among the same lines there are scenarios where a layer file is no longer needed (i.e. refactoring of code to other modules). There are various files that make reference to the layer file that needs to be modified to successfully remove the layer file.

I suggest having such wizard/means.
Comment 1 Stanislav Aubrecht 2011-09-15 16:52:42 UTC
i'm not sure i understand.
please provide one or more concrete use cases for the new wizard and reopen, thanks.
Comment 2 mienamoo 2011-09-15 18:41:36 UTC
I'm not the original reporter, but I do know the context of why this was reported. :)

IMO what would be useful is a refactoring hook that removes the reference to the layer.xml file from the module manifest if the layer file is deleted from the module project. If you just delete the layer file without modifying (manually at the moment) the manifest file too, the module will no longer compile.