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.