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

        

Reply via email to