This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 223459 - EJB 3.0 navigator tree does not refresh on bean creation
Summary: EJB 3.0 navigator tree does not refresh on bean creation
Status: CLOSED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P2 normal (vote)
Target Milestone: 3.0 M6   Edit
Assignee: kiril mitov CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-21 02:24 EDT by Kaloyan Raev CLA
Modified: 2008-05-29 12:56 EDT (History)
1 user (show)

See Also:


Attachments
Patch solving the problem with the client project (16.50 KB, patch)
2008-03-21 10:47 EDT, kiril mitov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kaloyan Raev CLA 2008-03-21 02:24:58 EDT
Build: I20080320151231

Steps to reproduce:
1. Create an EAR 5 project.
2. Call the EJB project wizard. 
3. Choose version 3.0. 
4. Add the EJB module to the EAR project. 
5. On the second page leave the "Create an EJB Client..." checkbox as is - checked. 
6. Create a Session bean. 

The Deployment Descriptor tree of the EJB 3.0 project in the Project Navigator should refresh to show the newly created bean, but it does not. 

This happens only if the "Create an EJB Client..." checkbox is checked in the EJB project wizard.
Comment 1 Kaloyan Raev CLA 2008-03-21 02:27:56 EDT
Kiril, please have a look. 
Comment 2 kiril mitov CLA 2008-03-21 03:27:54 EDT
I have reproduce it.
Comment 3 kiril mitov CLA 2008-03-21 10:47:02 EDT
Created attachment 93134 [details]
Patch solving the problem with the client project

Yes there was a problem with the client project. The patch is solving the problem. The change is in three classes, but they are all in different projects.

There are no tests in this patch. Tests will be provided with bug 198815.
Comment 4 Kaloyan Raev CLA 2008-03-24 06:15:02 EDT
Thanks for the patch. Dropped to HEAD. 
Comment 5 Kaloyan Raev CLA 2008-04-07 06:56:48 EDT
Verified with S-3.0M6-20080404175400
Comment 6 Kaloyan Raev CLA 2008-05-29 12:56:34 EDT
Closing