[
https://issues.jboss.org/browse/SHRINKWRAP-440?page=com.atlassian.jira.pl...
]
John Ament commented on SHRINKWRAP-440:
---------------------------------------
This might be a case for having reusable archives.
Perhaps in your deployment utils, you create a "createCdiArchive" method that
returns a JavaArchive w/ META-INF/beans.xml setup.
What if it's a WAR File?
Create a CDI Archive
---------------------
Key: SHRINKWRAP-440
URL:
https://issues.jboss.org/browse/SHRINKWRAP-440
Project: ShrinkWrap
Issue Type: Feature Request
Reporter: George Gastaldi
A lot of projects do this to make an archive CDI-enabled:
{code}
addAsManifestResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
{code}
It would be nice to have a addBeansXml() method together with a CdiArchive (or maybe
automatically add it as the default behavior).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira