tell ant to tell javac that our source files are UTF-8 encoded
authorgregor herrmann <gregoa@debian.org>
Sat, 12 Sep 2009 21:59:41 +0000 (21:59 -0000)
committergregor herrmann <gregoa@debian.org>
Sat, 12 Sep 2009 21:59:41 +0000 (21:59 -0000)
debian/rules

index 3d1eb12..3eadeff 100755 (executable)
@@ -4,7 +4,8 @@
        dh --with quilt $@
 
 override_dh_auto_build:
-       JAVA_HOME=/usr/lib/jvm/default-java dh_auto_build
+       JAVA_HOME=/usr/lib/jvm/default-java ANT_OPTS=-D"file.encoding=UTF-8" \
+               dh_auto_build
        convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
        convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm