Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
-
Windows Vista, Apache Felix
Description
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)
...