[javacc] 02/07: Regenerate the bootstrap jar

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Nov 18 12:25:17 UTC 2016


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

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

commit 339aacee90ddaae4c18ce42ec8e75cd71e7243de
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Nov 18 13:02:40 2016 +0100

    Regenerate the bootstrap jar
---
 debian/changelog                  | 1 +
 debian/patches/javacctarget.patch | 8 +++++---
 debian/rules                      | 4 +++-
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0df9e53..53a9f7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 javacc (5.0-7) UNRELEASED; urgency=medium
 
   * Build with the DH sequencer instead of CDBS
+  * Regenerate the bootstrap jar
 
  -- Emmanuel Bourg <ebourg at apache.org>  Fri, 18 Nov 2016 12:37:15 +0100
 
diff --git a/debian/patches/javacctarget.patch b/debian/patches/javacctarget.patch
index e33b758..0d2b466 100644
--- a/debian/patches/javacctarget.patch
+++ b/debian/patches/javacctarget.patch
@@ -2,11 +2,13 @@ Description: Set the compiler target
 Forwarded: not-needed
 --- a/src/org/javacc/parser/build.xml
 +++ b/src/org/javacc/parser/build.xml
-@@ -53,6 +53,7 @@
+@@ -52,7 +52,8 @@
+     <javac srcdir="${javacc.root}/src"
             destdir="${javacc.root}/classes"
             debug="${build.compiler.debug}"
-            source="1.4"
-+          target="1.4"
+-           source="1.4"
++           source="1.5"
++           target="1.5"
             classpath="${javacc.root}/classes:${junit.jar}">
      </javac>
    </target>
diff --git a/debian/rules b/debian/rules
index 1b0da16..1dff467 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,9 @@ VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
 	dh $@ --with maven-repo-helper
 
 override_dh_auto_build:
-	dh_auto_build -- jar -Dversion=$(VERSION)
+	dh_auto_build -- jar update-bootstrap -Dversion=$(VERSION)
+	dh_auto_build -- clean
+	dh_auto_build -- jar
 	docbook-to-man debian/manpage.sgml >bin/javacc.1
 
 override_dh_auto_test:

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



More information about the pkg-java-commits mailing list