Community
Participate
Working Groups
Build Identifier: I20100511-0800 The WTP defect verification test test184154 (found in org.eclipse.jst.j2ee.defect.tests.DefectVerificationTests) fails because the test case sets the EJB client URI to TestAPIEjbProjectClientzzzzz.jar (the ejb client project name is TestAPIEjbProjectClient) and later verifies that the EJB project has a reference to the client in the MANIFEST, but org.eclipse.wtp.j2ee.headless.tests.ejb.verifiers.EJBProjectCreationDataModelVerifier.verifyClient() uses the ejb client project name instead of the URI to look for the reference into the MANIFEST. Reproducible: Always
Created attachment 170042 [details] EJBProjectCreationDataModelVerifier.verifyClient() uses ejb client URI instead of project name With this patch, EJBProjectCreationDataModelVerifier.verifyClient() will use the URI instead if the project name when checking for ejb client references in MANIFEST
This is a JUnit fix only, so putting in to WTP 3.2 RC3 without PMC approval.
This fix looks good - should use URI if available
This fixes one of the JUnits that used to be in the BVT for Java EE Tools. This bucket is still run before releasing. The code to handle EJB Client references in EJBs was cleaned up during WTP 3.2- while this JUnit should have been fixed at that time, it has not yet been fixed. There is no workaround. The JUnit has been run with this fix, and it now runs properly. The JUnit now checks to verify that the URI that was passed in for the creation is the URI that exists in the MANIFEST.MF. The risk is very low- limited to one JUnit (that isn't even run during BVT.)