On 04/18/2012 03:12 PM, Doron Fediuck wrote:
I hope someone here stumbled upon it, and has a good idea.
We have some Java source files with remarks in French, including
When running simple maven build it works well.
However, when using rpmbuild, we're failing
with errors like this:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project
talendRoutines: Compilation failure: Compilation failure:
unmappable character for encoding ASCII
When debugging this, we saw that rpmbuild actually sets LANG=C,
which disables unicode thus resulting with the error.
1. Did anyone see this before?
2. Any idea how to disable the LANG setting during rpmbuild?
I'm sure Fedora Java dev's should be aware of it.
I added this option the maven command line for that very reason:
Hope it helps!
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.