Bug 501909 - Renaming a Parent Project breaks the links with child projects
Summary: Renaming a Parent Project breaks the links with child projects
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2016-09-21 07:43 EDT by Brian Antao CLA
Modified: 2016-09-22 04:40 EDT (History)
1 user (show)

See Also:


Attachments
Picture of Project Hierarchy in Eclipse which fails rename (9.00 KB, image/png)
2016-09-22 04:39 EDT, Brian Antao CLA
no flags Details
Picture of single child project (8.97 KB, image/png)
2016-09-22 04:40 EDT, Brian Antao CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Antao CLA 2016-09-21 07:43:41 EDT
I have a hierarchical project structure with a parent project and child project ... If I rename the parent project the child project name references also need to be updated. This renaming operation is causing the links to the child projects to be broken ...


-- Configuration Details --
Product: Eclipse 4.6.0.20160525-2036 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.jdt 3.12.0.v20160606-1100
Comment 1 Manoj N Palat CLA 2016-09-22 02:21:12 EDT
(In reply to Brian Antao from comment #0)
> I have a hierarchical project structure with a parent project and child
> project ... If I rename the parent project the child project name references
> also need to be updated. This renaming operation is causing the links to the
> child projects to be broken ...
> 

Can you please elaborate what you meant by hierarchical project structure. If you are referring to project dependency, renaming works for me. ie I have a Child project having a dependency on Parent project and the Parent project is renamed to NewParent, project dependency is automatically changed to NewParent.
If this is not the scenario at your end, please attach the sample projects as a zip attachment that reproduces the problem mentioned.
Comment 2 Brian Antao CLA 2016-09-22 04:39:44 EDT
Created attachment 264333 [details]
Picture of Project Hierarchy in Eclipse which fails rename

This is the Structure of our Eclipse hierarchical project -- parent project with app, assembly and tomcat as child projects.
In the next attachment you will see just the app child project

Now if the parent project is renamed this breaks all the links of the individual child projects ...
Comment 3 Brian Antao CLA 2016-09-22 04:40:53 EDT
Created attachment 264334 [details]
Picture of single child project

This is the single child project ...