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.
Extending 64534. I would like to have refactoring support for Spring configuration files. 1. Moving a class should change the class name in the configuration. 2. Renaming a property should rename the Spring-Property. It might be possible to create an API to plug in refactoring support for any file type.
The SPI exists. See org.netbeans.modules.refactoring.spi.RefactoringPluginFactory. Reassigning to web/spring.
@ Reporter (haug) : The refactoring support you mention are already available in the NetBeans 6.5 release. Please confirm and let me know whether you wanted the same. Regards, Sujit
I'm using latest netbeans (6.7) and suffer the same problem: when I refactor a class moving it from one package to another the spring configuration (applicationContext.xml) is not refactored and I need to modify it by hand.
Per comment by nairsujit, the code should already be there. If it does not work, then it's a bug, not enhancement request.
I have tried many different scenarios and it seems to work consistently in 6.8 , closing as worksforme - please reopen if you encounter it in 6.8 and in that case please include detailed description of the particular refactor (path of target and source, messages.log)