Gentoo Archives: gentoo-java

From: "Petteri R├Ąty" <betelgeuse@g.o>
To: Gentoo Java <gentoo-java@l.g.o>
Subject: [gentoo-java] JAVA_ANT_ENCODING
Date: Tue, 01 Jul 2008 19:02:45
Message-Id: 486A7F50.1010506@gentoo.org
Most of the time when Java files have !ascii characters they don't 
specify the used encoding in build.xml (usually ISO-8859-1) and 
javac/javadoc split out warnings about this (Many Gentoo machines are 
probably running with UTF8 locales). For this reason you can add 
JAVA_ANT_ENCODING="ISO-8859-1" to the ebuild and with the latest 
javatoolkit the build.xml will get modified to specify the proper encoding.

Regards,
Petteri

Attachments

File name MIME type
java-ant-encoding.patch text/plain
signature.asc application/pgp-signature