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 2016/01/14 17:23:39 UTC

[jira] [Updated] (FELIX-518) Wrong processing order of Localization-, Bundle and Processed-Resources

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

J.W. Janssen updated FELIX-518:
-------------------------------
    Fix Version/s: deploymentadmin-0.9.8

> Wrong processing order of Localization-, Bundle and Processed-Resources
> -----------------------------------------------------------------------
>
>                 Key: FELIX-518
>                 URL: https://issues.apache.org/jira/browse/FELIX-518
>             Project: Felix
>          Issue Type: Bug
>          Components: Deployment Admin
>         Environment: Maven version: 2.0.8
> Java version: 1.6.0_04
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Siamak Haschemi
>            Assignee: J.W. Janssen
>             Fix For: deploymentadmin-0.9.8
>
>         Attachments: gps_deployment_package-0.0.1-SNAPSHOT.dp
>
>
> The DeploymentAdmin specification defines in Section 114.3 (File Format), Page 340 and 341, the order of resources in the Jar as follows:
> 1 META-INF/MANIFEST.MF 
> 2 META-INF/*.SF, META-INF/*.DSA, META-INF/*.RS 
> 3 Localization files
> 4 Bundles 
> 5 Resources
> The current DeploymentAdmin implementation processes the contents of the JarInputStream with the UpdateCommand (handles bundles) and the ProcessResourceCommand (handles resources). If the Jar contains Localization-Resources (which are placed before any other resource or bundle) the UpdateCommand failes, because assumes that the Bundles come at first in the JarInputStream.
> As a result a DeploymentException with the message "Resource '...' is not described in the manifest." is thrown.
> Kind regards,
> Siamak Haschemi



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)