Results 1 to 3 of 3

Thread: Creating Spring Roo Projects with UTF-8 encoding

  1. #1
    Join Date
    Jan 2010
    Posts
    7

    Default 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. #2
    Join Date
    Jan 2010
    Posts
    7

    Default

    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.

  3. #3
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •