You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Siamak Haschemi (JIRA)" <ji...@apache.org> on 2008/03/16 00:02:25 UTC

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

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


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Christian van Spaandonk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579766#action_12579766 ] 

Christian van Spaandonk commented on FELIX-518:
-----------------------------------------------

Correct, l10n (and signing) is not yet supported in the current implementation. Thanks for the details and example package, I'll have a look at adding l10n support.

> 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: Christian van Spaandonk
>         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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Christian van Spaandonk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian van Spaandonk reassigned FELIX-518:
---------------------------------------------

    Assignee: Christian van Spaandonk

> 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: Christian van Spaandonk
>         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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.