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 175640

Summary: Moving file to another package does not update the package declaration
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: J Bachorik <yardus>
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 177062    
Bug Blocks: 154232, 173077    

Description Alexandr Scherbatiy 2009-10-29 11:54:21 UTC
Product Version         = NetBeans IDE Dev (Build 200910271401) (#32576b20b4bb)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.

Steps to reproduce:
- Create a JavaFX Script project
- Right-click the Main.fx file and select 'Refactor->Move'
- For 'To Package' type test
- Press 'Refactor'
The file is moved to the new package but the package statement is not updated in the file
Comment 1 J Bachorik 2009-11-12 10:11:19 UTC
*** Bug 172477 has been marked as a duplicate of this bug. ***
Comment 2 J Bachorik 2009-11-12 10:22:49 UTC
fixed in
(Move Refactoring implemented)
Comment 3 Alexandr Scherbatiy 2009-11-20 04:29:08 UTC
Verified in Build 200911200201.

However it is not possible to test Main file moving because of the issue 177062