Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 202193 - Deleting layer.xml should remove OpenIDE-Module-Layer too
Deleting layer.xml should remove OpenIDE-Module-Layer too
Status: REOPENED
Product: apisupport
Classification: Unclassified
Component: Refactoring
7.1
All All
: P3 with 3 votes (vote)
: TBD
Assigned To: Martin Kozeny
issues@apisupport
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo