Ha. It looks like you can run maven with the -
Dmaven.compiler.encoding=ISO-8859-1 set and it will work.
On 5/9/07, Ryan Bell <[EMAIL PROTECTED]> wrote:
In the build.xml, add the encoding attribute to the javac task in the
compile.tasks target and set it to ISO-8859-1.
Example:
<javac destdir="${jruby.classes.dir}" debug="true" srcdir="${ src.dir}"
includes="org/jruby/util/ant/**/*.java" source="${javac.version}"
encoding="ISO-8859-1">
This doesn't keep the maven build from failing. I haven't figured that one
out yet.
On 4/23/07, Ola Bini <[EMAIL PROTECTED]> wrote:
>
> Stephen Duncan wrote:
> > I haven't tried to build from trunk in a while, so I don't know if
> > this is a known issue. On Kubuntu, trying to compile trunk with Ant I
> > get the following error:
> >
> > [javac]
> > /home/jrduncans/workspace/jruby/src/jregex/Bitset.java:312: warning:
> > unmappable character for encoding UTF8
> > [javac] b1.setRange('�','�');
> >
> > I got the same with Maven, except it actually caused the build to
> fail.
> >
> > -Stephen
> I would wager that this is not a problem with JRuby as such, but with
> the combination of SVN settings for charset, vs your settings. I've seen
> this happening with Java code, when checking in/out from a system with
> different NLS_LANG than the SVN server. Don't have a very good solution
> for it though...
>
> --
> Ola Bini (http://ola-bini.blogspot.com)
> JvYAML, RbYAML, JRuby and Jatha contributor
> System Developer, Karolinska Institutet (http://www.ki.se)
> OLogix Consulting (http://www.ologix.com)
>
> "Yields falsehood when quined" yields falsehood when quined.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
--
Ryan L. Bell
http://kofno.wordpress.com
http://kofno.blogspot.com
--
Ryan L. Bell
http://kofno.wordpress.com
http://kofno.blogspot.com