Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-208

arquillian-bundle.jar does not export-package org.jboss.shrinkwrap.api.exporter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • OSGi Containers
    • None

      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

              Unassigned Unassigned
              dhildenb@redhat.com David Hildenbrand
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: