| Summary: | Invalid bundle names in EBR for servlet 3.0 etc. | ||
|---|---|---|---|
| Product: | [RT] Gemini.Web | Reporter: | Glyn Normington <glyn.normington> |
| Component: | unknown | Assignee: | Violeta Georgieva <milesg78> |
| Status: | CLOSED NOT_ECLIPSE | QA Contact: | |
| Severity: | trivial | ||
| Priority: | P3 | CC: | eclipse, milesg78 |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://ebr.springsource.com/repository/app/bundle/version/detail?name=javax.servlet&version=3.0.0.v201103241009 | ||
| Whiteboard: | |||
|
Description
Glyn Normington
It probably makes sense to fix this the next time we upgrade any of the relevant bundles in the EBR. Also, http://ebr.springsource.com/repository/app/bundle/version/detail?name=javax.servlet.jsp&version=2.2.0.v201103241009 and should this one still have the com.springsource prefix? http://ebr.springsource.com/repository/app/bundle/version/detail?name=com.springsource.javax.servlet.jsp.jstl&version=1.2.0.v20110517 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 |