[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-440) Create a CDI Archive

George Gastaldi (JIRA) jira-events at lists.jboss.org
Tue Feb 5 15:34:51 EST 2013


     [ https://issues.jboss.org/browse/SHRINKWRAP-440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi updated SHRINKWRAP-440:
---------------------------------------

    Description: 
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).



  was:
A lot of projects do this to make the beans 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).




    
> 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


More information about the shrinkwrap-issues mailing list