You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Erdfelt, Joakim" <jo...@cingular.com> on 2003/11/07 01:48:15 UTC
RE: High ASCII in java code not compiling under Maven
> switch( chr) {
> case 'à': buf.append("à"); 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 */
Re: High ASCII in java code not compiling under Maven
Posted by Jeffrey Bonevich <je...@bonevich.com>.
Thanx. That did the trick.
jeff
Erdfelt, Joakim wrote:
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 */
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org