Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349169 - Invalid bundle names in EBR for servlet 3.0 etc.
Summary: Invalid bundle names in EBR for servlet 3.0 etc.
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: Gemini.Web
Classification: RT
Component: unknown (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Violeta Georgieva CLA
QA Contact:
URL: http://ebr.springsource.com/repositor...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-13 04:56 EDT by Glyn Normington CLA
Modified: 2011-06-15 02:39 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Glyn Normington CLA 2011-06-13 04:58:14 EDT
It probably makes sense to fix this the next time we upgrade any of the relevant bundles in the EBR.
Comment 3 Violeta Georgieva CLA 2011-06-15 02:39:01 EDT
Hi Glyn,
 
I checked the specification and I think that the bundle is compatible with it [1].

=======
3.11.2 Manifest Localization
"Localized values are stored in property resources within the bundle. The default base name of the bundle localization property files is OSGI-INF/l10n/bundle. The Bundle-Localization manifest header can be used to override the default base name for the localization files. This location is relative to the root of the bundle and bundle fragments. 
...
A localization key can be specified as the value of a bundle's manifest header using the following syntax:
header-value ::= ’%’text
text ::= < any value which is both a valid manifest header value and a valid property key name >
 
For example, consider the following bundle manifest entries:
Bundle-Name: %acme bundle
Bundle-Vendor: %acme corporation
Bundle-Description: %acme description"
=======
 
In our case we have the following headers:
 
Bundle-Vendor: %bundleProvider
Bundle-Localization: plugin
Bundle-Name: %bundleName

Also in the root of the jar file we have plugin.properties file.

My opinion is that EBR should take into consideration the bundle localization properties.

Regards
Vily

[1] http://www.osgi.org/download/r4v43/r4.core.pdf