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 95919 - [Rename] Ref|Rename package does only file rename
Summary: [Rename] Ref|Rename package does only file rename
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
: 99572 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-19 13:27 UTC by Max Sauer
Modified: 2007-08-14 12:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2007-02-19 13:27:08 UTC
Refactor|Rename of a package does not work. Occurences are not found (package
declaration inside classes within renamed package, full paths, etc.)

Steps to reproduce:
-------------------
1) Create a new j2se project
2) Refactor|Rename the only package
3) Check package declaration inside Main.java, it has not been changed

---
NetBeans IDE Dev (Build 070219)
1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 1 Pavel Flaska 2007-03-22 15:36:30 UTC
Reproducible in custom build 070322. Usage is not found in package declaration.
Comment 2 Jan Becicka 2007-03-26 14:56:21 UTC
Checking in MoveRefactoringPlugin.java;
/cvs/refactoring/java/src/org/netbeans/modules/refactoring/java/plugins/MoveRefactoringPlugin.java,v
 <--  MoveRefactoringPlugin.java
new revision: 1.12; previous revision: 1.11
done
Comment 3 Max Sauer 2007-03-27 15:10:09 UTC
Verified.
---
NetBeans IDE Dev (Build 070327)
1.6.0_01; Java HotSpot(TM) Server VM 1.6.0_01-b04
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 4 Jiri Prox 2007-04-04 13:28:58 UTC
*** Issue 99572 has been marked as a duplicate of this issue. ***