Bug 290165 - Moving source code files to different directory doesn't update package
Summary: Moving source code files to different directory doesn't update package
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M3   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-22 14:26 EDT by Dean Schulze CLA
Modified: 2009-10-27 07:34 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Schulze CLA 2009-09-22 14:26:22 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729)
Build Identifier: 20090621-0832

Moved two source code files to an existing directory.  After the files were moved their package was unchanged causing Eclipse to flag them with a "Declared package ... does not match the expected package ..." error.

Reproducible: Always

Steps to Reproduce:
1.  Move two files from one code directory to another
2.
3.
Comment 1 Olivier Thomann CLA 2009-09-22 14:35:19 EDT
How did you move the files?
Did you use the refactoring ?
Comment 2 Olivier Thomann CLA 2009-09-23 15:06:21 EDT
I cannot reproduce if I move the files inside the Package Explorer.
I only get the same issue if I move then inside the Navigator.
The navigator move doesn't trigger the JDT refactoring.

Closing as INVALID.
Please reopen if you got it using the package explorer or the JDT refactoring.
Comment 3 Olivier Thomann CLA 2009-09-23 15:06:35 EDT
Closing.
Comment 4 Ayushman Jain CLA 2009-10-27 06:20:01 EDT
Verified for 3.6M3