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 - Moving file to another package does not update the package declaration
Summary: Moving file to another package does not update the package declaration
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
: 172477 (view as bug list)
Depends on: 177062
Blocks: 154232 173077
  Show dependency tree
Reported: 2009-10-29 11:54 UTC by Alexandr Scherbatiy
Modified: 2009-11-20 04:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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