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
1 Most of the time when Java files have !ascii characters they don't
2 specify the used encoding in build.xml (usually ISO-8859-1) and
3 javac/javadoc split out warnings about this (Many Gentoo machines are
4 probably running with UTF8 locales). For this reason you can add
5 JAVA_ANT_ENCODING="ISO-8859-1" to the ebuild and with the latest
6 javatoolkit the build.xml will get modified to specify the proper encoding.
7
8 Regards,
9 Petteri

Attachments

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