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 145225 - [65cat] Rename Package Refactoring Doesn't Work on Groovy Scripts
Summary: [65cat] Rename Package Refactoring Doesn't Work on Groovy Scripts
Status: RESOLVED DUPLICATE of bug 196604
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P2 blocker with 1 vote (vote)
Assignee: Martin Janicek
URL:
Keywords:
: 140100 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-27 00:02 UTC by sunbiz
Modified: 2012-02-29 15:16 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 sunbiz 2008-08-27 00:02:08 UTC
[ 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.
Comment 1 martin_adamek 2008-08-28 09:28:16 UTC
Unfortunately, refactoring of Groovy sources is not planned for 6.5. Changing to enhancement. 
Comment 2 Martin Janicek 2012-02-29 15:13:12 UTC
*** Bug 140100 has been marked as a duplicate of this bug. ***
Comment 3 Martin Janicek 2012-02-29 15:16:17 UTC

*** This bug has been marked as a duplicate of bug 196604 ***