Bug 127023

Summary: [rename] Renaming a JAR
Product: [Eclipse Project] JDT Reporter: Eric Rizzo <eclipse-bugs>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: mn
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Eric Rizzo CLA 2006-02-08 23:34:31 EST
If you rename a JAR (via Eclipse UI) that is on a project's build path, the build path is not automatically updated to the new JAR name. It forces the user to manually edit the build path to reflect the new JAR name.
It seems the refactoring engine has the necessary information to go ahead and update (or at least offer to) any projects that depend on the JAR being renamed.
Comment 1 Jerome Lanneluc CLA 2006-02-09 04:08:25 EST
Moving to JDT UI
Comment 2 Martin Aeschlimann CLA 2006-02-12 10:42:55 EST
How did you rename the JAR. It seems to me that we never of a 'Refactor-Rename' on JARs. If you used File-Rename: This is supposed to only rename a file, without updating any references.

But I think it would be consistent if 'Refactor-Rename' is also supported on internal JAR's.
Comment 3 Markus Keller CLA 2006-02-13 04:43:26 EST
So I take this as an enhancement request to support the rename refactoring for internal jars.
Comment 4 Eric Rizzo CLA 2006-02-13 08:05:04 EST
Correct that there is not a Refactor action for renaming a JAR (it is done with a Rename action from Navigator view). Also correct that my intention is for this to be a request to make renaming a JAR an "intelligent" refactoring rather than a simple filesystem name change.

Thanks.