Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359507 - [RBD] generated file should be removed when the source file is renamed
Summary: [RBD] generated file should be removed when the source file is renamed
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Huo Zhen Zhong CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 22:50 EDT by Lu Yao CLA
Modified: 2017-02-23 14:16 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lu Yao CLA 2011-09-29 22:50:52 EDT
Build Identifier: 0929

refactor,rename,generated file

Reproducible: Always

Steps to Reproduce:
generated file should be removed when the source file is renamed. Now both the old and new ones are in the workspace. The old ones are expected to be deleted and no longer appear in the egldd file.
Comment 1 Justin Spadea CLA 2011-09-30 11:00:27 EDT
This is something that we should discuss before making any changes. We have never renamed or deleted obsolete generated artifacts in the past, in part due to the complexities involved. This is something that would be a good idea to support, but we need to make sure it's philosophically sound beforehand. It might also be wise to add a preference that enables this feature so that users can disable it if they don't want us to delete generated files.

It might be the case that in EDT this isn't complex anymore (I think the generators have API to return what files they would generate for a part).
Comment 2 Brian Svihovec CLA 2011-09-30 11:17:38 EDT
Unless this is causing problems, I think a discussion on this topic should not occur until after .7 ships.
Comment 3 Zhi Zhu CLA 2011-10-20 03:11:44 EDT
Return to Forest as it will be completed in coming release
Comment 4 Lu Yao CLA 2011-10-31 02:00:02 EDT
verified