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

David Bosschaert (JIRA) jira-events at lists.jboss.org
Tue Jul 13 02:38:58 EDT 2010


    [ https://jira.jboss.org/browse/ARQ-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12538929#action_12538929 ] 

David Bosschaert commented on ARQ-208:
--------------------------------------

I've applied the patch to the jbosgi branch on http://github.com/jbosgi/arquillian

http://github.com/jbosgi/arquillian/commit/55315977e5eca469242732e6dc4d4ebb8b8362aa

> 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