Announcement Announcement Module
Collapse
No announcement yet.
Creating Spring Roo Projects with UTF-8 encoding Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Creating Spring Roo Projects with UTF-8 encoding

    Hello,

    maybe I'm wrong in this forum, but I didn't find a proper solution at the maven and the spring roo project page.

    I work on Mac OS and every time I create a new roo project I have to change the line encoding to UTF-8 in the xml file.

    Code:
    <project>
      ...
      <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
      </properties>
      ...
    </project>
    Is there a way to set this for every new project? I think this should be a setting of maven. But how? And further question is there a way to put changes to the xml in a roo skript, if I create projects from a script file?

    Thanks,
    mab.

  • #2
    In my opinion the only way to set up roo projects with UTF8 source encoding, is to change the maven addon.

    There are two obvious options. First one is to change the standard-project-template file. But there might be people, who do not want to use UTF8. So it should be a parameter within the project command. So I would prefer a option, that UTF8 is standard and other could be choosen.

    I will put it as feature request.

    Comment


    • #3
      https://jira.springsource.org/browse/ROO-1162

      Comment

      Working...
      X