Community
Participate
Working Groups
Build Identifier: WTP 3.0.5 The 'New library directory location' field's default behavior in the EAR's 'Java EE Module Dependencies' properties page (click on 'Change Library Directory...' button to access field) has a preceding slash ('/') character by default. This character should not be added to the beginning of the library directory path by default and an error should be shown if the user tries to add it. Reproducible: Always
Created attachment 181152 [details] Proposed Patch This patch fixes the default behavior of adding a preceding slash to the library directory field in the 'Java EE Module Dependencies' properties page and also adds validation to avoid having the user add a preceding slash. This patch also adds code so that when comparing the runtime path, which is an absolute path, with the library directory, which should be a relative path, the makeRelative() method is used on both before comparing them.
approved
Committed to R3_0_5_patches