| Summary: | Zip file references added to EAR are exported with extension .zip.jar | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 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, jsholl | ||||||
| Version: | 3.0.5 | Flags: | cbridgha:
review+
jsholl: review+ |
||||||
| Target Milestone: | 3.0.5 P | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Aidyl Kareh
Created attachment 175811 [details]
Proposed Patch
The attached patch modifies the getVirtualComponentNameWithExtension() method in AddModulestoEARPropertiesPage.java so that it doesn't add an additional extension if the file has a .zip extension and also adds code so that the compare for the extension is done in lowercase to avoid creating file name with duplicate extensions (i.e. .JAR.jar).
approved Committed to R3_0_5_patches Created attachment 176252 [details]
Patch with missing changes
Attached patch adds code so that the compare for the extension is done in lowercase to avoid creating file name with duplicate extensions (i.e. .JAR.jar). Changes to handle '.zip' extension correctly have already been checked in. The attached changes still need to be checked in.
Reopening since latest attached patch also needs to be checked in. For the record, Aidyl's initial patch had a collision with another R3_0_5_patch. I attempted to resolve the collision, but did not do so correctly. Her second patch properly resolves the collision. |