libreoffice with java: build fails in UTF-8 env

Patrick Lamaiziere patfbsd at davenulle.org
Thu Aug 25 10:20:09 UTC 2011


Le Tue, 23 Aug 2011 17:05:09 +0000,
Baptiste Daroussin <bapt at FreeBSD.org> a écrit :

Hello,

> Yes building libreoffice with java option in an UTF8 environement is 
> known to fail there is nothing I found to workaround that :(

As it uses Ant to build the java code I think we could add
-Dfile.encoding=iso-8859-1 to an ANT_OPTS environment variable.
http://ant.apache.org/manual/running.html

I've not tested this but I hope this should work (not sure for the
encoding to use)

Regards.


More information about the freebsd-ports mailing list