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.
After creating a TopComponent [TC] (com.mydomain.rcpapp.MyTopComponent) I want to move this TC to an other package (e.g com.mydomain.rcpapp.tcs.MyTopComponent). But to move the TC you must edit many XML-Files by hand. Sometimes the package is written com-mydomain-rcpapp-MyTopComponent sometimes not.
Which xml files?
In Netbeans 6.0 these xml files: MyTopComponentTopComponentWstcref.xml MyTopComponentTopComponentSettings.xml Layer.xml
I see.
I just don't want to add another bug, but there are more files that could make use of refactoring the layer.xml file, e.g. icons and language files. It should be possible to add all types of files, and the layer and all other configuration should be changed automatically. A module writer shouldn't have to configure a module 2 weeks while writing implementing one day ...
The NBM refactoring support has not been touched in years and will probably be deleted at some point in favor of using annotations, for which we get refactoring support for free.
For 7.0 there is an annotation to register TopComponent's without touching the layer. Since source files using this annotation can simply be moved to another package using only basic Java refactoring, there is no point spending time implementing refactoring for the old registration style.