Bug 106207 - [plan item] Split refactoring.
Summary: [plan item] Split refactoring.
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P4 enhancement with 1 vote (vote)
Target Milestone: 3.2   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
: 76503 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-05 12:45 EDT by Mike Wilson CLA
Modified: 2006-04-21 09:34 EDT (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wilson CLA 2005-08-05 12:45:47 EDT
Refactoring currently relies on a closed world assumption. This means that all of the code to be refactored 
must be available in the workspace when the refactoring is triggered. However for large distributed teams, 
the closed world approach isn't really feasible. The same is true for clients which use binary versions of 
libraries where API changes from one version to another. In 3.2 the closed world assumptions will be 
relaxed in such a way that a refactoring executed in workspace A can be "reapplied" on workspace B to 
refactor any remaining references to the refactored element. Furthermore, existing refactorings will be 
improved to preserve API compatibility where possible (for example when renaming a method, a 
deprecated stub with the old signature will be generated that forwards to the new method). [JDT Core/UI]
Comment 1 Dirk Baeumer CLA 2005-08-15 11:38:31 EDT
*** Bug 76503 has been marked as a duplicate of this bug. ***
Comment 2 Markus Milleder CLA 2005-08-16 05:27:04 EDT
Please consider the work done at http://www-plan.cs.colorado.edu/henkel/catchup/ .
Unfortunately, it seems the announced plugin will not be published - maybe
Eclipse.org can get it as a contribution.
Comment 3 Eugene Kuleshov CLA 2005-08-24 00:03:40 EDT
Does any of the following issues match this plan item?

  Bug 43237
  Bug 47712
  Bug 86283
  Bug 87339

Comment 4 Dirk Baeumer CLA 2005-08-24 06:26:18 EDT
Bug 43237 and Bug 47712 are not covered by this bug. Bug 86283 might be covered
since we are investigating ways to allow refactoring descriptions (but not quick
fixes) to be attached to change sets. Bug 87339 isn't covered either, however it
is on the 3.2 plan.

The generic "Improve refactoring" title might be confusing. I will change it to
better match the description of this bug report.
Comment 5 Mike Wilson CLA 2006-02-14 15:28:50 EST
The title of this bug has been changed to match the latest plan revision. In addition, the text of this item in the plan has changed. The new text is:
"
Refactoring currently relies on a closed world assumption. This means that all of the code to be refactored must be available in the workspace when the refactoring is triggered. However for large distributed teams, the closed world approach isn't really feasible. The same is true for clients which use binary versions of libraries where API changes from one version to another. In 3.2 the closed world assumptions will be relaxed in such a way that a refactoring executed in workspace A can be "reapplied" on workspace B to refactor any remaining references to the refactored element. [JDT Core/UI]
"
Comment 6 Mike Wilson CLA 2006-04-20 13:32:26 EDT
What is the status of this item?
Comment 7 Tobias Widmer CLA 2006-04-20 20:29:54 EDT
The items mentioned in comment 0 and comment 5 have been covered, namely:

- Scripting support for refactorings with the ability to create refactoring scripts and replay them on another workspace
- Sharing of project refactoring information across workspaces
- Support to annotate JAR files with refactoring information in order to ease API migration to new versions of libraries
- A number of refactorings such as Rename, Move, Change Signature, ... now generate delegates to preserve API compatibility

All items have been released and are now currently polished and tested.
Comment 8 Mike Wilson CLA 2006-04-21 09:11:19 EDT
Is more work planned for R3.2? (If not, we should mark the bug as fixed.)
Comment 9 Tobias Widmer CLA 2006-04-21 09:34:51 EDT
No, two other items have been deferred to 3.3 in order to have more time for testing. For 3.2, all features are in.

Closing as fixed.