Package: javahelper Severity: normal Tags: patch Hi,
when there are only *.java files and no source directories specified on jh_build command line, javadoc is generated in debian/_jh_build.javadoc.ext/api directory. I presume it should be debian/_jh_build.javadoc/api, same as when we have at least one source dir specified. Please see attached patch. Regards, Jakub
>From 502dc0922dfbccc1e06e3cfa39b515a5dc0bdbbf Mon Sep 17 00:00:00 2001 From: Jakub Adam <jakub.a...@ktknet.cz> Date: Sat, 3 Nov 2012 20:13:44 +0100 Subject: [PATCH] jh_build: Fix wrong javadoc output location --- jh_build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jh_build b/jh_build index 653d083..137445a 100755 --- a/jh_build +++ b/jh_build @@ -129,9 +129,9 @@ function dobuild() if [ -n "`getarg J javadoc`" ] || [ -z "`getarg N no-javadoc`" ]; then if [ -z "`getarg q quiet`" ]; then - echo $JAVADOC $CLASSPATHDOCS -classpath $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc.ext/api -quiet $JH_JAVADOC_OPTS $srcfiles + echo $JAVADOC $CLASSPATHDOCS -classpath $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet $JH_JAVADOC_OPTS $srcfiles fi - $JAVADOC $CLASSPATHDOCS -classpath $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc.ext/api -quiet $JH_JAVADOC_OPTS $srcfiles + $JAVADOC $CLASSPATHDOCS -classpath $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet $JH_JAVADOC_OPTS $srcfiles fi else -- 1.7.10.4
__ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use debian-j...@lists.debian.org for discussions and questions.