| Summary: | Provide api for determining web context root providing related ear project | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Chuck Bridgham <cbridgha> | ||||||
| Component: | jst.j2ee | Assignee: | Chuck Bridgham <cbridgha> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | ccc | ||||||
| Version: | 3.2.4 | Flags: | ccc:
review+
|
||||||
| Target Milestone: | 3.2.5 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 369017 | ||||||||
| Attachments: |
|
||||||||
|
Description
Chuck Bridgham
Created attachment 200945 [details]
patch
Chuck, in the case of an EAR 5 or EAR 6 where there is no application.xml, the context root of a web module is the module name. Have you tested that scenario with this API? I need to make sure... but actually.. because there is a property in the component model for context root... if nothing is defined by the ear... then the war's property is used. Created attachment 202929 [details]
new patch with junit
All scenarios check out.... included in ear or now... Ear has DD or not etc... Code dropped |