Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-224

Load localization values from location specified in Bundle-Localization.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.3
    • None
    • OSGi, Manifest
    • None

    Description

      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'.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fdutton Faron Dutton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: