Grails
  1. Grails
  2. GRAILS-7802

c.tld and fmt.tld not part of generated war anymore

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-M1
    • Fix Version/s: 2.0-M2
    • Component/s: None
    • Labels:
      None

      Description

      See http://grails.1312388.n4.nabble.com/Grails-2-0-0-M1-c-tld-and-fmt-tld-removal-td3708251.html

      As discussion in above mentioned link pointed out spring.tld and grails.tld are created part of create-app and c.tld and fmt.tld were added during grails war in Grails 1.3.

      Maybe best to add c.tld and fmt.tld to create-app?

        Activity

        Hide
        Peter Ledbrook added a comment -

        The problem with adding them during create-app is that we don't know what servlet version the user is targetting. So which TLDs should we install?

        Thinking about it, we should probably install a default and then have a "set-servlet-version" command or similar that updates application.properties and installs the appropriate TLDs.

        Show
        Peter Ledbrook added a comment - The problem with adding them during create-app is that we don't know what servlet version the user is targetting. So which TLDs should we install? Thinking about it, we should probably install a default and then have a "set-servlet-version" command or similar that updates application.properties and installs the appropriate TLDs.
        Hide
        Marcel Overdijk added a comment -

        Hi Peter,

        I understand now why they are not created as part of create-app.
        For me it doesn't matter to copy them part of run-app or create-war.

        So a set-servlet-version is not necessary from my perspective.

        Show
        Marcel Overdijk added a comment - Hi Peter, I understand now why they are not created as part of create-app. For me it doesn't matter to copy them part of run-app or create-war. So a set-servlet-version is not necessary from my perspective.

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            Marcel Overdijk
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development