[plm] 01/03: Specify to jh_build that javac will encounter UTF-8 files

Martin Quinson mquinson at moszumanska.debian.org
Thu Nov 13 16:36:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

mquinson pushed a commit to branch debian
in repository plm.

commit 88ce57d639b4ac3beee38477210ebb9c864b087b
Author: Martin Quinson <martin.quinson at loria.fr>
Date:   Thu Nov 13 13:19:59 2014 +0100

    Specify to jh_build that javac will encounter UTF-8 files
---
 debian/changelog | 2 ++
 debian/rules     | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index be98bc6..52eb433 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ plm (2.4.11+repack-2) UNRELEASED; urgency=medium
   * Remove Scala from package description and rules (Closes: #722148)
     (we don't use it ATM since Debian version is too ancient)
   * Cherry-pick the new upstream logo.png to please Lintian.
+  * Specify to jh_build that javac will encounter UTF-8 files 
+    (Closes: #768732) Thanks to L. Nussbaum for the report and fix
 
  -- Martin Quinson <mquinson at debian.org>  Sat, 01 Nov 2014 08:32:19 +0100
 
diff --git a/debian/rules b/debian/rules
index 2c14a04..b82a002 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,7 +44,7 @@ override_jh_build:
 	cd debian/_jh_build.plm && jar xf ../../lib/plm-messages.jar org
 	
 	# Finally, ask the scripts to compile our stuff, too
-	jh_build --no-javadoc --javacopts="-source 1.7"
+	jh_build --no-javadoc --javacopts="-source 1.7 -encoding UTF-8"
 
 override_dh_auto_build:
 	ant -f build.xml clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plm.git



More information about the pkg-java-commits mailing list