Community
Participate
Working Groups
Build Identifier: WTP 3.2.2 There are issues whenever the getRuntimePath() method, which returns an absolute path (has preceding slash), is being compared with the library directory value obtained from the application.xml, which is created as a relative path (does not have a preceding slash). If the library directory is not the default value, there is an inconsistency between comparing a relative and an absolute path which causes modules in the library directory to be considered modules (when they should be considered utilities for being in the library directory) and to be added to the application.xml as modules. Also, .jar files in the lib dir folder are now being displayed as possible Manifest entries in the 'Add Manifest Entries' wizard when these should be filtered out. Reproducible: Always
Created attachment 181150 [details] Proposed Patch This patch adds code so that we use the makeRelative() method on both library directory and runtime path before comparing them. Also added code to make sure the library directory path isn't empty since this should mean that there is no library directory and if not checked root items might be considered to be in the library directory.
approved
code checked into 32M and head for WTP 3.2.3 and 3.3