You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Faron Dutton (JIRA)" <ji...@codehaus.org> on 2007/02/04 18:07:44 UTC
[jira] Created: (MECLIPSE-224) Load localization values from
location specified in Bundle-Localization.
Load localization values from location specified in Bundle-Localization.
------------------------------------------------------------------------
Key: MECLIPSE-224
URL: http://jira.codehaus.org/browse/MECLIPSE-224
Project: Maven 2.x Eclipse Plugin
Issue Type: Bug
Affects Versions: 2.3
Reporter: Faron Dutton
Priority: Minor
MakeArtifactsMojo assumes that Eclipse plug-ins always use 'plugin.properties' for localization. And this is the default Eclipse behavior when an OSGi manifest is not present. When an OSGi manifest is present, however, the correct behavior is to get the location from the Bundle-Localization attribute. For example, a plug-in manifest generated using the Eclipse wizard contains 'Bundle-Localization: plugin'. Eclipse locates the correct file by taking the value (i.e., plugin), appending the locale and appending '.properties'. Note that the Bundle-Localization attribute may be a relative path and its default value if not present in the manifest is 'OSGI-INF/l10n/bundle'.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MECLIPSE-224) Load localization values from
location specified in Bundle-Localization.
Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MECLIPSE-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlos Sanchez updated MECLIPSE-224:
------------------------------------
Component/s: OSGi
> Load localization values from location specified in Bundle-Localization.
> ------------------------------------------------------------------------
>
> Key: MECLIPSE-224
> URL: http://jira.codehaus.org/browse/MECLIPSE-224
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Components: OSGi
> Affects Versions: 2.3
> Reporter: Faron Dutton
> Priority: Minor
>
> MakeArtifactsMojo assumes that Eclipse plug-ins always use 'plugin.properties' for localization. And this is the default Eclipse behavior when an OSGi manifest is not present. When an OSGi manifest is present, however, the correct behavior is to get the location from the Bundle-Localization attribute. For example, a plug-in manifest generated using the Eclipse wizard contains 'Bundle-Localization: plugin'. Eclipse locates the correct file by taking the value (i.e., plugin), appending the locale and appending '.properties'. Note that the Bundle-Localization attribute may be a relative path and its default value if not present in the manifest is 'OSGI-INF/l10n/bundle'.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira