You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "J.W. Janssen (JIRA)" <ji...@apache.org> on 2014/03/25 13:21:16 UTC

[jira] [Resolved] (FELIX-1835) Installing of deployment package fails if has it's bundles in subdirectory

     [ https://issues.apache.org/jira/browse/FELIX-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

J.W. Janssen resolved FELIX-1835.
---------------------------------

    Resolution: Cannot Reproduce

Cannot reproduce with latest code, but added an additional itest in rev #1581302 to verify this behaviour.


> 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 was sent by Atlassian JIRA
(v6.2#6252)