[castor] 05/08: Generate Java 5 compatible bytecode

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Sep 29 12:11:49 UTC 2014


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

ebourg-guest pushed a commit to branch master
in repository castor.

commit 1064aa8a8a5f03e8a4779dd12873b5f52e139d0d
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Sep 29 13:43:58 2014 +0200

    Generate Java 5 compatible bytecode
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1ccc3ec..00230aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ castor (1.3.2-3) UNRELEASED; urgency=medium
   * Team upload.
   * Depend on libcglib3-java instead of libcglib-java
   * Standards-Version updated to 3.9.6 (no changes)
+  * debian/rules: Generate Java 5 compatible bytecode
   * Switch to debhelper level 9
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 29 Sep 2014 13:26:33 +0200
diff --git a/debian/rules b/debian/rules
index 1082b7c..781f228 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ VERSION := $(shell dpkg-parsechangelog | grep '^Version:' | cut -f 2 -d ' ' | se
 	dh $@ --with javahelper
 
 override_dh_auto_build:
-	cd src && ant release
+	cd src && ant release -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
 	tar zxf dist/castor-*-doc.tgz -C target
 	rm -f target/doc/*license*
 

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



More information about the pkg-java-commits mailing list