Community
Participate
Working Groups
The following problem has been fixed in the 3.2 codebase with the new Module Assemblies properties pages. From the EAR's J2EE Module Dependencies properties page, click 'Add External Jars...' and then select a jar on disk, e.g c:\temp\foo.jar. The table will now show the entry as 'lib/C:/temp/foo.jar'. If you click OK and then reopen the page it will be shown as 'foo.jar'. See screenshots. The 'lib/C:/temp' portion should not be shown to the user. While this is strictly a UI issue, it is confusing because of the 'In Lib Dir' checkbox column visible in 5.0 EARs has nothing to do with the 'lib/' portion of the first column.
Created attachment 176817 [details] While adding external jar
Created attachment 176818 [details] Afterwards
Created attachment 176819 [details] Patch for 305P This fixes the label provider to approximate the resulting jar/module name after the add is complete. This will be accurate most of the time, but may be slightly different in the case of variables, but it will be better than the current behavior where the 'var/' bleeds through. This will always hide the internal path information the user should not see.
approved
Committed to R3_0_5_patches