Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362933 - Refactoring not updating all DD files
Summary: Refactoring not updating all DD files
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Zhi Zhu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-04 14:32 EDT by Justin Spadea CLA
Modified: 2017-02-23 14:17 EST (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 Justin Spadea CLA 2011-11-04 14:32:08 EDT
1. Create a general project called "dot.test".
2. Add a service and a RUIHandler.
3. Add the service to the DD as a REST service.
4. Now go to the RUI tab and deselect 'Deploy all Rich UI Handlers' and select the handler you created.
5. Copy the DD file and paste it into the same location. In my case I now had two files: "dot_test.egldd" and "Copy of dot_test.egldd".
6. Refactor > Rename the service. It updated "Copy of dot_test.egldd" but not "dot_test.egldd".
7. Refactor > Rename the handler. It updated "Copy of dot_test.egldd" but not "dot_test.egldd".
Comment 1 Justin Spadea CLA 2011-11-04 14:33:18 EDT
If you delete the files, they are removed from "Copy of dot_test.egldd" but not from "dot_test.egldd"
Comment 2 Tony Chen CLA 2011-11-07 01:23:17 EST
I think we should update all the dd files in the same project. I'm setting the priority to p3 meaning it's not a must have for 0.7.
Comment 3 Zhi Zhu CLA 2011-11-07 01:34:26 EST
Is it reasonable to put service/handler binding in more than one DD file?
Comment 4 Justin Spadea CLA 2011-11-07 09:11:47 EST
Yes, you might use one DD to deploy the services, and another DD to deploy the RUIHandlers. Users can have as many DDs as they want.
Comment 5 Zhi Zhu CLA 2011-11-07 19:33:24 EST
I mean the fact that you put the same service binding in different DD files is reasonable or not?
Comment 6 Justin Spadea CLA 2011-11-08 09:02:02 EST
Whether it's reasonable or not there's nothing to stop you from doing that, so refactoring should handle it.

I'm sure some business out there has a case where they want some services on server1 (external) and other services (including a couple of the same as before) on server2 (internal).
Comment 7 Zhi Zhu CLA 2011-11-08 19:32:25 EST
Okay, will handle the scenario you described here
Comment 8 Zhi Zhu CLA 2011-11-09 00:53:15 EST
RefactoringExecutionStarter
Comment 9 Justin Spadea CLA 2011-11-22 16:24:23 EST
Verified