Installing of deployment package fails if has it's bundles in subdirectory
--------------------------------------------------------------------------

                 Key: FELIX-1835
                 URL: https://issues.apache.org/jira/browse/FELIX-1835
             Project: Felix
          Issue Type: Bug
          Components: Deployment Admin
         Environment: Windows Vista, Apache Felix
            Reporter: Pavel Kodl


Currently have to be all bundles in root of deployment package, else 
DeploymentException is thrown.
However in OSGi Service Platform Service Compendium v4.2 specification is 
presented, that bundles could be in subdirectory - in this example manifest:

Manifest-Version: 1.0
DeploymentPackage-Icon: %icon
DeploymentPackage-SymbolicName: com.third._3d
DeploymentPacakge-Version: 1.2.3.build22032005
↵
Name: bundles/3dlib.jar
SHA1-Digest: MOez1l4gXHBo8ycYdAxstK3UvEg=
Bundle-SymbolicName: com.third._3d
Bundle-Version: 2.3.1


Stack trace is:
org.osgi.service.deploymentadmin.DeploymentException: Expected more bundles in 
the stream: [bundles/cz.zcu.kiv.osgi.hiworld-1.0.0.jar, 
bundles/cz.zcu.kiv.osgi.helloworld-1.0.0.jar]
     at 
org.apache.felix.deploymentadmin.spi.UpdateCommand.execute(UpdateCommand.java:61)
     at 
org.apache.felix.deploymentadmin.spi.DeploymentSessionImpl.call(DeploymentSessionImpl.java:74)
     at 
org.apache.felix.deploymentadmin.DeploymentAdminImpl.installDeploymentPackage(DeploymentAdminImpl.java:215)
     ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to