Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352841

Summary: Application client DD node does not refresh after creating descriptor xml
Product: [WebTools] WTP Java EE Tools Reporter: Dimitar Giormov <dimitar.giormov>
Component: jst.j2eeAssignee: Dimitar Giormov <dimitar.giormov>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.3Flags: cbridgha: review+
Target Milestone: 3.4   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on: 328818    
Bug Blocks:    
Attachments:
Description Flags
cache app model provider in order to reuse and keep listeners none

Description Dimitar Giormov CLA 2011-07-22 05:52:10 EDT
Steps to reproduce.

1. create App Client project
2. generate deployment descriptor
3. add resource ref to the xml

result is the tree does not open until the project is closed and then opened.

bug is blocked until fix from 328818
Comment 1 Dimitar Giormov CLA 2011-11-07 06:34:09 EST
Created attachment 206513 [details]
cache app model provider in order to reuse and keep listeners

IModelProviderListener objects were lost, because of reinitializing of the object, thus the listeners including the Deployment Descriptor node were not notified for a model change.
Comment 2 Dimitar Giormov CLA 2011-11-07 06:34:33 EST
Chuck can you check the patch?
Comment 3 Chuck Bridgham CLA 2011-11-28 10:37:59 EST
looks right... approved
Comment 4 Dimitar Giormov CLA 2012-02-01 06:01:34 EST
committed and released in head.