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

Bug 303195

Summary: J2EEComponentClasspathContainer.getEARLibDir should check both DD and facet version
Product: [WebTools] WTP Java EE Tools Reporter: Hari Shankar <hshanka>
Component: jst.j2eeAssignee: Hari Shankar <hshanka>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: jsholl
Version: unspecified   
Target Milestone: 3.2 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Hari Shankar CLA 2010-02-18 10:35:16 EST
Build Identifier: 32

J2EEComponentClasspathContainer.getEARLibDir should check both DD and facet
version on line 417. This will protect against currently invalid cases where,
say a 1.4 project contains an ee5 DD.


Reproducible: Always
Comment 1 Hari Shankar CLA 2010-02-18 10:36:23 EST
Created attachment 159441 [details]
patch

This patch adds an additional check to ensure that we not only check the DD
version but also the facet version to ensure its Java EE component.
Comment 2 Hari Shankar CLA 2010-02-18 10:43:33 EST
thsi is a clone of https://bugs.eclipse.org/bugs/show_bug.cgi?id=303131
Comment 3 Jason Sholl CLA 2010-02-18 10:46:07 EST
checked into HEAD for 32 M6