[arquillian-issues] [JBoss JIRA] Updated: (ARQ-208) arquillian-bundle.jar does not export-package org.jboss.shrinkwrap.api.exporter

David Bosschaert (JIRA) jira-events at lists.jboss.org
Mon Jul 12 04:42:47 EDT 2010


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

David Bosschaert updated ARQ-208:
---------------------------------

    Attachment: 0001-Add-additional-Shrinkwrap-APIs-to-Export-Package.patch


The attached patch fixes this issue.

> arquillian-bundle.jar does not export-package org.jboss.shrinkwrap.api.exporter
> -------------------------------------------------------------------------------
>
>                 Key: ARQ-208
>                 URL: https://jira.jboss.org/browse/ARQ-208
>             Project: Arquillian
>          Issue Type: Bug
>          Components: OSGi Containers
>            Reporter: David Bosschaert
>         Attachments: 0001-Add-additional-Shrinkwrap-APIs-to-Export-Package.patch
>
>
> This means that the following code won't work from inside an Arquillian OSGi test:
>       JavaArchive jar = ShrinkWrap.create("test1.jar", JavaArchive.class);
>       ZipExporter ze = jar.as(ZipExporter.class);
> as this requires the import-package of org.jboss.shrinkwrap.api.exporter.
> Looking at the API jar, the following packages should probably also be exported: 
>   org.jboss.shrinkwrap.api.container
>   org.jboss.shrinkwrap.api.formatter
>   org.jboss.shrinkwrap.api.importer

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list