| Summary: | Add manifest entry page of module project should not list files in lib dir of its EAR | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Aidyl Kareh <amkareh> | ||||
| Component: | jst.j2ee | Assignee: | Aidyl Kareh <amkareh> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | amkareh, ccc, david_williams, jsholl, kaloyan | ||||
| Version: | 3.2 | Flags: | david_williams:
pmc_approved+
amkareh: pmc_approved? (raghunathan.srinivasan) amkareh: pmc_approved? (naci.dai) deboer: pmc_approved+ amkareh: pmc_approved? (neil.hauge) kaloyan: pmc_approved+ cbridgha: review+ jsholl: review+ |
||||
| Target Milestone: | 3.2 RC3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows Vista | ||||||
| Whiteboard: | PMC_approved | ||||||
| Attachments: |
|
||||||
|
Description
Aidyl Kareh
Created attachment 170106 [details]
Proposed Patch
This patch modifies the JEEManifestDiscerner.trimEarHardRefs() method so that .jar references in the EAR's library directory are not added for EE5/EE6 projects.
Chuck, please put up for PMC after you review. I approve * Explain why you believe this is a stop-ship defect. Or, if it is a
"hotbug" (requested by an adopter) please document it as such.
The contents of the EAR's library directory are accessible to modules by default. Thus, .jar files that are in the library directory folder of the EAR shouldn't be included as options that the module can add to its MANIFEST file.
* Is there a work-around? If so, why do you believe the work-around is
insufficient?
No
* How has the fix been tested? Is there a test case attached to the
bugzilla record? Has a JUnit Test been added?
Tested with UI.
* Give a brief technical overview. Who has reviewed this fix?
Check if the EAR's version is java EE5/EE6, and if so, .jar references in the EAR's library directory are not included in the list of files that can be added to the MANIFEST file of modules. This patch has been reviewed by Chuck and Jason.
* What is the risk associated with this fix?
No
Committed to HEAD for WTP 3.2 RC3 |