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

Bug 324221

Summary: JavaEEArchiveUtilities.inLibDir needs to consider component parameter while returning result
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: ccc, jsholl
Version: 3.0.5Flags: cbridgha: review+
Target Milestone: 3.0.5 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch ccc: iplog+

Description Hari Shankar CLA 2010-09-01 12:11:13 EDT
Build Identifier: 305p

The JavaEEArchiveUtilities.inLibDir method needs to consider component parameter while returning result. Currently, in the for each loop in the method, we are not comparing against the passed in component while determining if inLibDir variable should be set to true/false.


Reproducible: Always
Comment 1 Hari Shankar CLA 2010-09-01 12:15:59 EDT
Created attachment 177982 [details]
Patch

This patch changes the JavaEEArchiveUtilities.inLibDir method to check for the VirtualReference corresponding to the passed in component parameter while determining the return value.
Comment 2 Chuck Bridgham CLA 2010-09-01 16:41:54 EDT
approved
Comment 3 Jason Sholl CLA 2010-09-01 17:17:57 EDT
this fix is already in 3.2.2 and 3.3
Comment 4 Carl Anderson CLA 2010-09-03 08:25:36 EDT
Committed to R3_0_5_patches