Community
Participate
Working Groups
Steps: Create an EAR 5.0 project with DD Open the project properties Open "Java EE Module Dependencies" Click "Add External JAR" choose an external module JAR (EJB,AppClient,Web, or Connector) Click apply The newly added dependency is not reflected in the EARs DD.
(In reply to comment #0) > Steps: > Create an EAR 5.0 project with DD > Open the project properties > Open "Java EE Module Dependencies" > Click "Add External JAR" > choose an external module JAR (EJB,AppClient,Web, or Connector) > Click apply > > The newly added dependency is not reflected in the EARs DD. > Same result with any version EAR, not just 5.0
Created attachment 105917 [details] Patch With this patch any jar added with the Java EE Module Dependencies properties page will now be reflected in the DD. Tested with many different EAR versions and module versions, exportation works in all cases Limitations: 1. When attempting to open the deployment descriptor for any of the added jars they open up as blank, but they still export correctly, will open separate bug 2. Weird behavior if user attempts to add two jars in different locations with the same name, will open another bug for this as well
Created attachment 105919 [details] Updated Patch The previous patch contained a change in VirtualArchiveComponent that was not actually needed.
Opened: Bug 238616 - OpenJ2EEResourceAction opens blank binary DD for JARs added by Java EE Module Dependencies properties page Bug 238617 - Java EE Moudle Dependency properties page should allow adding JARs with same name in different locations
approve
Committed to R3_0_maintenance