Bug 255484 - Incorrect integration with the Team API
Summary: Incorrect integration with the Team API
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on: 255683
Blocks:
  Show dependency tree
 
Reported: 2008-11-17 03:43 EST by Alexander Gurov CLA
Modified: 2022-08-02 19:29 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Gurov CLA 2008-11-17 03:43:44 EST
When refactoring a package, that has subpackages, JDT creates child packages again, instead of just renaming the parent. So the subpackages history is simply lost. 
(Example of source control servers which tracks folders history: SVN, ClearCase).
Comment 1 Alexander Gurov CLA 2008-11-17 03:45:44 EST
Please take into account that Navigator view works just fine.
Comment 2 Dani Megert CLA 2008-11-17 03:47:27 EST
>When refactoring a package, that has subpackages, JDT creates child packages
>again, instead of just renaming the parent.
AFAIK it is neither specified nor documented how we do the rename and hence clients relying on something here are on their own.

Markus, please comment.
Comment 3 Markus Keller CLA 2008-11-18 12:22:43 EST
We would need new API from JDT/Core to rename a package and its subpackages in batch, see bug 255683. If this really important for you, you could provide a patch (including tests) for that bug.

JDT/UI would use this in RenamePackageChange.
Comment 4 Alexander Gurov CLA 2008-11-19 04:15:36 EST
(In reply to comment #3)
> If this really important for you, you could provide a
> patch (including tests) for that bug.
Yes, it is important moment for all who use one of enumerated source controls. Unfortunately I'm overloaded now and can't create a required patch. So, I hope that this task could be performed by anybody else.
Comment 5 Eclipse Genie CLA 2020-07-15 20:33:37 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Eclipse Genie CLA 2022-08-02 19:29:32 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.