Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366644 - EJB project mapped to WEB-INF/lib of web project is imported as utility project
Summary: EJB project mapped to WEB-INF/lib of web project is imported as utility project
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3.2   Edit
Assignee: Salvador Zalapa CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on: 365349
Blocks:
  Show dependency tree
 
Reported: 2011-12-13 17:47 EST by Roberto Sanchez Herrera CLA
Modified: 2011-12-14 12:43 EST (History)
3 users (show)

See Also:
ccc: review+
cbridgha: review+


Attachments
Patch (3.54 KB, patch)
2011-12-14 08:50 EST, Salvador Zalapa CLA
shr31223: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Sanchez Herrera CLA 2011-12-13 17:47:33 EST
Bug for WTP 3.3.2 and 3.4

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

Build Identifier: 3.2.5

Since EJBs in WAS is part of the EJB 3.1 specification, a EJB project mapped to WEB-INF/lib is a valid scenario, however when EJB jar if the EJB jar is imported as project, it is as Utility project instead of an EJB project.

Reproducible: Always

Steps to Reproduce:
1.Import the attached EAR file. Import the EJB as project.
2.Check the facets of the project EJB project. You will see the project is an utility project.
Comment 1 Salvador Zalapa CLA 2011-12-14 08:50:30 EST
Created attachment 208378 [details]
Patch
Comment 2 Chuck Bridgham CLA 2011-12-14 09:30:50 EST
approved
Comment 3 Roberto Sanchez Herrera CLA 2011-12-14 12:43:29 EST
Code committed to R3_3_maintenance and HEAD for WTP 3.3.2 and 3.4