> switch( chr) {
>    case '�': buf.append("&agrave"); break; ....
> 
> When I try to run my maven build goal, it will not compile 
> this utility  class, and I get a whole bunch of errors to 
> the effect:
>    case '?' already defined
> 
> If I run javac, no problemo.  Compiles just fine.  I played 
> around with system encoding in the project.xml and maven.xml 
> files (was UTF-8, also tried iso-8859-1), and in my OS 
> (linux) to no avail.
> 
> Any clues?

We had success with the 'maven.compile.fork=true' and 
'maven.compile.encoding=iso8859-1' properties defined at the
maven-java-plugin web page.

http://maven.apache.org/reference/plugins/java/properties.html

/* joakim erdfelt */

Reply via email to