Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369832 - Add session bean should not always create a ejbModule source folder in the client project
Summary: Add session bean should not always create a ejbModule source folder in the cl...
Status: RESOLVED FIXED
Alias: None
Product: WTP EJB Tools
Classification: WebTools
Component: jst.ejb (show other bugs)
Version: 3.2.5P   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.5 P   Edit
Assignee: Roberto Sanchez Herrera CLA
QA Contact: Kaloyan Raev CLA
URL:
Whiteboard:
Keywords:
Depends on: 369444
Blocks:
  Show dependency tree
 
Reported: 2012-01-26 11:42 EST by Roberto Sanchez Herrera CLA
Modified: 2012-01-26 17:26 EST (History)
3 users (show)

See Also:
cbridgha: review+


Attachments
Proposed patch (4.75 KB, patch)
2012-01-26 12:43 EST, Roberto Sanchez Herrera CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Sanchez Herrera CLA 2012-01-26 11:42:07 EST
Bug to backport fix to WTP 3.2.5 P

+++ This bug was initially created as a clone of Bug #369444 +++

When a EJB project and its EJB client jar project have different source folders (e.g. EJB project has ejbModule, client has scr), and a session bean is created, the interfaces are not created in the existing source folder, but a source folder with the same name as the source folder in the EJB project is created, leaving the EJB client project with two source folders.

Steps to recreate:

1. Import the attached EAR file. Note that the EJB project has one scource folder: ejbModule, and the client has one source folder: src. Also note that both folders have java files.
2. Create a new session bean, including local and/or remote business interfaces.
3. Note that a new source folder (ejbModule) is created in the client project, instead of using the existing folder. Now, the EJB client project has two different source folders.
Comment 1 Roberto Sanchez Herrera CLA 2012-01-26 12:43:02 EST
Created attachment 210136 [details]
Proposed patch
Comment 2 Chuck Bridgham CLA 2012-01-26 12:46:34 EST
approved
Comment 3 Carl Anderson CLA 2012-01-26 17:26:48 EST
Committed to R3_2_5_patches