| Summary: | EJB/App Client jars in library directory appear in 'Modules' node in the project explorer | ||||||
|---|---|---|---|---|---|---|---|
| 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, jsholl | ||||
| Version: | unspecified | Flags: | amkareh:
pmc_approved?
(david_williams) amkareh: pmc_approved? (raghunathan.srinivasan) amkareh: pmc_approved? (naci.dai) deboer: pmc_approved+ amkareh: pmc_approved? (neil.hauge) amkareh: pmc_approved? (kaloyan) cbridgha: review+ amkareh: review? |
||||
| Target Milestone: | 3.2.2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | PMC_approved | ||||||
| Attachments: |
|
||||||
|
Description
Aidyl Kareh
Created attachment 177895 [details]
Proposed Patch
The attached patch updates the code so that module archives in the library directory are not considered modules and are treated correctly by the Project Explorer and when adding modules to the EAR model. This patch also adds code to clear the archives cache (changes to EarModuleDependenciesPropertyPage class) since there was a timing issue which caused stale archive data to be used by the AddComponentToEnterpriseApplicationOp class.
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.
We are currently displaying module archive (EJB/Application Client jars) which have their deploy path set to the library directory folder under the 'Modules' node in the Project Explorer and are also adding them as modules to the application.xml when generating the DD. This behavior is incorrect since this files should be treated as utilities and not modules.
* 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 through UI.
* Give a brief technical overview. Who has reviewed this fix?
The attached patch updates the code so that module archives in the library directory are not considered modules and are treated correctly by the Project Explorer and when adding modules to the EAR model. This patch also adds code to
clear the archives cache (changes to EarModuleDependenciesPropertyPage class) since there was a timing issue which caused stale archive data to be used by the AddComponentToEnterpriseApplicationOp class. This patch has been reviewed by Chuck and Jason.
* What is the risk associated with this fix?
Low.
approved code checked into head for wtp 3.2.2 and 3.3 |