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.
[ BUILD # : 200808111757 ] [ JDK VERSION : other ] Product Version: NetBeans IDE Dev (Build 200808111757) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b15 System: Windows Vista version 6.0 running on x86; Cp1252; en_IN (nb) When you rename a package through the refactor menu on a project, the groovy script's package name is not changed. A Java file from the same package has the package declaration renamed to the new value. Steps to reproduce: 1.) Create New Groovy Project from Sample Groovy-Java Demo 2.) Right-click the demo package -> Refactor -> Rename 3.) In the textfield, enter a new name 4.) The java file's package definition is changed to the new value, but groovy's package declaration is not changed.
Unfortunately, refactoring of Groovy sources is not planned for 6.5. Changing to enhancement.
*** Bug 140100 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 196604 ***