Grails
  1. Grails
  2. GRAILS-6007

Inline plugins do not include i18n messages.properties as expected

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2 final
    • Fix Version/s: 2.1.5, 2.2.2, 2.3-M1
    • Component/s: Plugins
    • Labels:
      None
    • Testcase included:
      yes

      Description

      From the Grails User List:

      On Wed, Mar 10, 2010 at 4:28 PM, <Stokes_Chris@emc.com> wrote:
      Anyone have a working example of inline plugins and message.properties
      working properly?

      When building our project's war we've noticed "proper" plugins like
      hibernate and quartz (grails install-plugin *) will deploy
      message.properties in the final war file. This syncs up with
      http://jira.codehaus.org/browse/GRAILS-1403 which has this fixed back in
      1.1.

      For our modularized "inline" plugins we've noticed a different behavior.
      The messages.properties are included in the zip produced by grails
      package-plugin but the final war does not include the file as expected.
      To get around this we've added our messages to the top level project
      that depends on the inline plugins (for now at least).

      Are we doing something wrong or is this a legitimate bug? We're on
      version 1.2 at the moment.

      Thanks,

      – Chris

      Attached a project showing the behavior. Run grails package-plugin under inlines/hasmessages plugin and then build the war from nomessagesbug/.

      1. nomessagesbug.tar.gz
        164 kB
        Christopher Stokes

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Stéphane Maldini
              Reporter:
              Christopher Stokes
            • Votes:
              10 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last Reviewed:

                Development