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

Bug 254676

Summary: <library-directory> specified not created in ear
Product: [WebTools] WTP Java EE Tools Reporter: Paul Rooney <rooneyp1976>
Component: jst.j2eeAssignee: jst.j2ee <jst.j2ee-inbox>
Status: RESOLVED DUPLICATE QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: kaloyan
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
ear.jpg
none
proj_explorer.jpg none

Description Paul Rooney CLA 2008-11-08 06:31:12 EST
Build ID: 3.4.1

Steps To Reproduce:
1. Create 'enterprise app project' and normal java project 

2. On ear project, in 'Java EE Module Dependencies' add the project and tick 'in lib dir'. Then 'change library directory' to something other than default.
See attachment proj_explorer.jpg

3. choose 'Run On Server' on the ear project and deploy to app server (Jboss 5 rc2)


More information:
Check contents of created ear, observe that eclipse didn't create the defined <library-directory> directory but rather it just stored the utility jar in the root of the ear.

see attachment ear.jpg
Comment 1 Paul Rooney CLA 2008-11-08 06:32:08 EST
Created attachment 117391 [details]
ear.jpg
Comment 2 Paul Rooney CLA 2008-11-08 06:32:51 EST
Created attachment 117392 [details]
proj_explorer.jpg
Comment 3 Kaloyan Raev CLA 2008-11-10 06:51:44 EST
Thanks for the screenshots. 
Looks to be the same as bug 241466. 

*** This bug has been marked as a duplicate of bug 241466 ***