| Summary: | Classpath dependency enablement should directly control dynamic manifest updating | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Jason Peterson <jasonpet> | ||||||
| Component: | jst.j2ee | Assignee: | Jason Peterson <jasonpet> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | ccc, jsholl | ||||||
| Version: | 3.2 | Flags: | jasonpet:
pmc_approved?
(david_williams) jasonpet: pmc_approved? (raghunathan.srinivasan) jasonpet: pmc_approved? (naci.dai) deboer: pmc_approved+ jasonpet: pmc_approved? (neil.hauge) jasonpet: pmc_approved? (kaloyan) cbridgha: review+ |
||||||
| Target Milestone: | 3.2.2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | PMC_approved | ||||||||
| Attachments: |
|
||||||||
|
Description
Jason Peterson
Created attachment 177787 [details]
patch
Created attachment 177788 [details]
JUnit_patch
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 dynamic updating of the manifest breaks single-root for some servers, which hurts performance. Need to give adopters the option to change the default behavior for doing dynamic manifest updates. By default, the dynamic update is done. However, an adopter may want to set this to false so the dynamic update is not done at runtime. The update could then be done at development time.
* Is there a work-around? If so, why do you believe the work-around is
insufficient?
No workaround exists
* How has the fix been tested? Is there a test case attached to the
bugzilla record? Has a JUnit Test been added?
JUnit testcase is attached. I have updated some existing classpath dependency tests to honor the ClasspathEnablement flag.
* Give a brief technical overview. Who has reviewed this fix?
The dependency enablement will directly control the updating of the manifest. When true, the default, it will always update the manifest for any entries that map to the parent container. When false, it will never dynamically update the manifest.
Chuck has reviewed this fix.
* What is the risk associated with this fix?
minimal - fix only pertains to scenario where ClasspathEnablement is set to false. This can only be done via API in WTP.
code checked into head for wtp 3.2.2 and 3.3 |