Project: JDT
Bug 145733 [rename] Renaming of Project causes linked folders to be unlinked and moved
Reported: 2006-06-07 06:26:33 | Status: verified fixed

When renaming a Project (Not a java project, but a "Simple" one) any linked folder gets changed to a standard folder and its contents are MOVED to the new location, instead of mantaining the linked folder. Steps to reproduce: 1) Create a new project (New > Project > Simple > Project) 2) Create a folder on C:\ (or whatever you like) and put some files in it. 3) Add the folder as a link in the project (New > Folder > (Advanced>>) > Link to folder in the filesystem. 4) Rename the project (Refactor > Rename) Now the linked folder has turned into a standard folder, and the contents have been moved. The linked folder's target doesn't exist anymore (it's been moved to the new Project location).

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/RenameResourceChangeTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/RenameResourceChange.java