| Summary: | Imported Utility JARs should have their deploy path set to the library directory | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 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.2 | Flags: | cbridgha:
review+
|
||||||
| Target Milestone: | 3.2.3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows Vista | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Aidyl Kareh
Created attachment 179144 [details]
Proposed Patch
The attached patch updates the code for the different Java EE Utility Jar import options so that they take the library directory into consideration when placing imported files and when setting the deploy path of the Utility Jars in the EAR.
approved Please note that in the attached patch, there are 3 calls to isEmpty(), which is only in Java 6- the plugins in WTP still adhere to Java 5 standards, so all of the calls to !<String>.isEmpty() should be replaced with <String>.length() > 0 or some other Java 5 equivalent. Created attachment 179852 [details]
Updated Patch
Patch has been updated to replace using the <String>.isEmpty() method, which
is Java 6 specific, with a Java 5 equivalent.
code checked into 32M for WTP 3.2.3 and HEAD for 3.3 |