dev-java/avalon-logkit: Set javac encoding, fixes bug #560472
authorJames Le Cuirot <chewi@gentoo.org>
Thu, 17 Mar 2016 21:52:38 +0000 (21:52 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Thu, 17 Mar 2016 22:06:42 +0000 (22:06 +0000)
This only failed when LC_ALL=C because that changes the default
encoding used by javac. This is a problem for Ant-based packages. My
suggestion is that Gentoo Java devs build with LC_ALL=C to spot these.

Package-Manager: portage-2.2.28

dev-java/avalon-logkit/avalon-logkit-2.1-r8.ebuild

index 6438b053ad1b221d733ca56df792abdd814605e7..c7f58719f546b72d2552b20b41e9b3728ca44a6e 100644 (file)
@@ -48,6 +48,7 @@ java_prepare() {
 }
 
 JAVA_ANT_REWRITE_CLASSPATH="yes"
+JAVA_ANT_ENCODING="UTF-8"
 
 EANT_GENTOO_CLASSPATH="oracle-javamail,jms,log4j,servlet-api-3.0"