-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
Given:
Generate Deployment Method Dialog
When:
- Archive type: WebArchive
- Add an empty beans.xml file: true
Then:
Generated ShrinkWrap deployment should have a EmptyAsset.INSTANCE to beans.xml mapping added in the correct location.
Expected
When WebArchive:
archive.addAsWebInfResource(EmptyAsset.INSTNACE, "beans.xml")
When JavaArchive:
archive.addAsManifestResource(EmptyAsset.INSTNACE, "beans.xml")
When Enterprise Archive:
Field Add an empty beans.xml file should be disabled. No CDI on EAR level in spec.
Actual result:
Both JavaArchive, WebArchive, EnterpriseArchive use ManifestResource location
.addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");