[arquillian-issues] [JBoss JIRA] Commented: (ARQ-208) arquillian-bundle.jar does not export-package org.jboss.shrinkwrap.api.exporter
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Mon Jul 5 22:28:46 EDT 2010
[ https://jira.jboss.org/browse/ARQ-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12537951#action_12537951 ]
Thomas Diesler commented on ARQ-208:
------------------------------------
I'll look into it. Try adding these packages to the system extras package definition. This should work as a workaround
> 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
>
> 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