[javatools] 02/03: jh_build: Compile with debug symbols (Closes: #722353)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Sep 10 20:43:32 UTC 2014


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

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

commit 69bde2f6b966111264b1092ffe36080b0f9ff609
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Sep 10 22:34:36 2014 +0200

    jh_build: Compile with debug symbols (Closes: #722353)
---
 debian/changelog | 1 +
 jh_build         | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 175c416..547c51d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ javatools (0.47) UNRELEASED; urgency=medium
 
   [ Emmanuel Bourg ]
   * jh_repack: Remove the .svn directories (Closes: #689810)
+  * jh_build: Compile with debug symbols (Closes: #722353)
 
  -- tony mancill <tmancill at debian.org>  Mon, 28 Jul 2014 18:47:55 -0700
 
diff --git a/jh_build b/jh_build
index 137445a..e898f30 100755
--- a/jh_build
+++ b/jh_build
@@ -106,10 +106,10 @@ function dobuild()
 	if [ -n "$srcdirs" ]; then
 
 		if [ -z "`getarg q quiet`" ]; then
-			echo find $srcdirs -name '*.java' -and -type f -print0 '|' xargs -0 $JAVAC -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS $srcfiles
+			echo find $srcdirs -name '*.java' -and -type f -print0 '|' xargs -0 $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS $srcfiles
 		fi
 
-		find $srcdirs -name '*.java' -and -type f -print0 | xargs -0 $JAVAC -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS $srcfiles
+		find $srcdirs -name '*.java' -and -type f -print0 | xargs -0 $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS $srcfiles
 
 		if [ -n "`getarg J javadoc`" ] || [ -z "`getarg N no-javadoc`" ]; then
 			if [ -z "`getarg q quiet`" ]; then
@@ -122,10 +122,10 @@ function dobuild()
 	elif [ -n "$srcfiles" ]; then
 
 		if [ -z "`getarg q quiet`" ]; then
-			echo $JAVAC -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS $srcfiles
+			echo $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS $srcfiles
 		fi
 
-		$JAVAC -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS $srcfiles
+		$JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS $srcfiles
 
 		if [ -n "`getarg J javadoc`" ] || [ -z "`getarg N no-javadoc`" ]; then
 			if [ -z "`getarg q quiet`" ]; then

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



More information about the pkg-java-commits mailing list