Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1205

Labels in application.properties getting overwritten at Roo startup

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.0.M3
    • Component/s: None
    • Labels:
      None
    • Environment:
      OS X 10.5.8, STS 2.3.3 M2 (although I get the same behavior from a separate 1.1.0.M2 terminal shell)

      Description

      (Info from the forum thread)

      I've got an entity that is named "AIDocument" to avoid collisions with the DOM Document class. All is fine and dandy, but the labels that Roo has come up with for the controller scaffolding are not what I want displayed in the UI (It's displaying "A I Document" instead of "Document"). When I manually go and update the label text in the application.properties file, Roo doesn't complain - but when Roo starts up the next time, it scans the project and I see this line displayed:

      Managed SRC_MAIN_WEBAPP/WEB-INF/i18n/application.properties

      Aargh. Roo just went and reverted the labels.


      I've noticed this behavior on several labels in the application.properties file, not just the label for AIDocument.

        Attachments

          Activity

            People

            Assignee:
            sschmidt Stefan Schmidt
            Reporter:
            erikb Erik Brommers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: