Re: Unit test with unicode character passes in IntelliJ, but fails using Jenkins.

2012-05-13 Thread Mark Waite
In the past, I had problems when the character set encoding passed to the Java compiler was different in different environments.  In our case, we were compiling in the ant script with an explicit declaration that the source files were encoded in iso-8859-1, but sometimes we omitted that encoding

Re: Unit test with unicode character passes in IntelliJ, but fails using Jenkins.

2012-05-13 Thread Sebastian Kwiatkowski
Thank you for your help! I had to set the project.build.sourceEncoding property to UTF-8 in the POM. Now it works. Sebastian On Sunday, 13 May 2012 14:59:52 UTC+2, Ulli Hafner wrote: > > This seems to be a problem in your build. Does the build run correctly > without jenkins on that Windows

Re: Unit test with unicode character passes in IntelliJ, but fails using Jenkins.

2012-05-13 Thread Ulli Hafner
This seems to be a problem in your build. Does the build run correctly without jenkins on that Windows machine? Did you specify the encoding in your pom.xml? (For some tools like checkstyle you need to add a -Dfile.encoding="UTF-8" on the maven command line). Ulli On 05/13/2012 04:07 AM, Seba