3DXScape / poly2tri

Automatically exported from code.google.com/p/poly2tri
Other
1 stars 0 forks source link

Java: Encoding messed up in source files => Maven build on Linux fails #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Clone the repository
2. mvn build
3. Wait ;)

What is the expected output? What do you see instead?
I would like to see "BUILD SUCCESS" but the build is aborted with the error 
message that the encoding could not be mapped to UTF-8.

The build process stops because your name is written in the source file and 
it's not mappable to UTF-8. I will provide the detailed error stack later.

Original issue reported on code.google.com by furtelw...@gmail.com on 25 Apr 2011 at 3:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi!

I found the solution, propably you would like to commit this:
In the pom.xml of poly2tri-core, you have to add a configuration item for 
maven-compiler-plugin:

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <configuration>
            <source>1.6</source>
            <target>1.6</target>
            <encoding>ISO-8859-1</encoding>
          </configuration>
        </plugin>

Then maven will build it correctly.

Original comment by furtelw...@gmail.com on 25 Apr 2011 at 3:17

GoogleCodeExporter commented 9 years ago
Didn't know my name sucked that bad :P

Thanks for the fix :)

Original comment by thahlen@gmail.com on 25 Apr 2011 at 4:51