Community
Participate
Working Groups
Build Identifier: WTP 3.2.2 When adding manifest entries to modules using the 'Deployment Assembly' page, the deploy path of the module is currently not being considered when generating the path for the manifest entry. Steps to recreate: 1) Create an EAR 6 project with all default modules. 2) Open the EAR's Deployment Assembly page and change the deploy path of the Web project (i.e. /test/TestWeb.war) 3) Open the Web project's 'Deployment Assembly' properties page, go to the 'Manifest Entries' tab and add a manifest entry to the EJB project. 4) Open the Web project's MANIFEST.MF file. You will see that the entry only shows the name of the .jar file without taking into consideration the path of the Web module (This entry should be '../TestEJB.jar') Reproducible: Always
Created attachment 176937 [details] Proposed Patch The attached patch updates the JEEManifestDiscerner class so that instead of just using the reference's deploy path when creating the a manifest entry, now the deploy path of the project that owns the MANIFEST.MF file is also taken into consideration. The ClassPathSelection class was also updated to handle this scenario.
approved
checked into head for wtp 3.2.2
fixed