Bug 29745 - Refactoring mangled my files
Summary: Refactoring mangled my files
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-17 15:33 EST by Jared Burns CLA
Modified: 2003-01-20 04:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Burns CLA 2003-01-17 15:33:24 EST
Build 20030115

I was renaming a bunch of packages to change their package prefix by right
clicking on individual packages and choosing "Rename", then entering the new
name and selecting all of the options available (with file name '*'). When I
was done, the refactoring tooling had garbled my code in random places.

For example, the text:
  assertTrue(tempFile.exists());
was changed to:
  asorg.eclipse.ui.externaltools.internal.ant.editorle.exists());
Comment 1 Dirk Baeumer CLA 2003-01-20 04:10:10 EST
This got fixed for the next integration build (I20020121). The problem was that 
the file name pattern * also matches java files and java files are already 
handled by normal refactoring code.