Community
Participate
Working Groups
Build Identifier: I20101027-1800 Create one EAR 1.5 project. Create one EJB 3.0 with EJB Client Jar project and add it to the created EAR project. Expand the deployment descriptor tree of the EAR project. The EJB Client Jar should be under Bundle Lib node of the deployment descriptor tree of the EAR project, but it is missing. Reproducible: Always
Assigning to Kaloyan for initial investigation. Please reassign and/or retarget as appropriate. I was able to reproduce this problem.
This is a side effect of the changes made for bug 328092 - most notably, the check in AbstractEarNode.getComponentReferencesAsList() if(!relativeRuntimePath.isEmpty()
Created attachment 182511 [details] Proposed Patch Patch removes the !relativeRuntimePath.isEmpty() check in the AbstractEarNode.getComponentReferencesAsList() method. Removing this check fixes the issue. Check was added to handle the scenario where an empty lib dir is being used but this was the incorrect location to do it. This scenario is already covered by the AbstractEarNode.getModules() method later on.
approved
Code checked into both 32M and HEAD for WTP 3.2.3 and 3.3