Community
Participate
Working Groups
Build Identifier: 305P When a jar dependency is added to the EAR in the Java EE Module Dependencies page, a module entry is created in the application.xml, in addition to an entry in the .component file. The entry in the application.xml should not be made if the 'In Lib Dir' checkbox is checked. This bug enhances bug 300098 with additional scenarios. The earlier bug covered fixing the module entry made in the application.xml. This bug covers navigator surfacing, refreshing and showing/hiding the jar in the 'Add/Remove Projects' dialog in the server view. Reproducible: Always
Created attachment 174783 [details] patch
Created attachment 175083 [details] updated patch Updated the patch to remove some cache optimizations that might have caused potential issues in future.
approved
The "updated patch" causes 54 JUnit failures in the org.eclipse.jst.server.core.tests.AllTests suite. As such, I am reverting the code changes I committed for it in the R3_0_5_patches stream.
Created attachment 175435 [details] updated patch In the previous patch, the value of JavaEEArchiveUtilities.getEARLibDir was not being checked for a null case, resulting in an incorrect value for the inLibDir variable, causing the server tools junits to fail. Updated the patch, and ran all the server tooling and java ee tooling junits successfully.
Committed to R3_0_5_patches