Per Ivar Gjerløw
unread,Nov 25, 2010, 12:28:21 PM11/25/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hudson...@googlegroups.com
Hi
I think I've tried everything, but I'm still confused how to handle problems with file encoding.
We're using maven 2.2.1 and Hudson 1.382. We're building on Linux (Redhat 5.5) and have a master-slave installation in our linux build server.
When we're building a maven project for a slave through Hudson we're gettiing the warning below:
Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
And then, we're getting problems in compiling and testing our code. We're getting this message: unmappable character for encoding ASCII
We've tried to explicitly set the encoding in the root pom.
both
<properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding></properties
and
<configuration><encoding>UTF-8</encoding</configuration> for the maven-compiler plugin
In addition, we've also tried to set the MAVEN_OPTS to -Dfile.encoding=UTF-8 (in Hudson)
but none of them actually worked. Now we're getting this message: unmappable character for encoding UTF8 (note: without a dash)
If I build the project directly from the command line, it works!
(previously, we were getting this message: (ISO-8859-15 actually) to copy filtered resources, i.e. build is platform dependent!)
Does someone have any idea what I'm missing?
--
Regards,
Per Ivar Gjerløw