Bug#306760: dresden-ocl: Please set JAVA_HOME_DIRS to the standard directories
Andreas Jochens
Andreas Jochens <aj@andaco.de>, 306760@bugs.debian.org
Thu Apr 28 11:25:04 2005
Package: dresden-ocl
Version: 1.1-6
Severity: wishlist
Tags: patch
When building 'dresden-ocl', I get the following error:
if test -n "" && test "" != "."; then rmdir ""; fi
if test "." != "."; then rmdir .; fi
dh_clean
You must specify a valid JAVA_HOME or JAVACMD!
make: *** [ant-sanity-check] Error 1
Please specify the standard directories for the {sun,ibm,blackdown}-j2sdk1.4
packages as JAVA_HOME_DIRS in debian/rules.
Regards
Andreas Jochens
diff -urN ../tmp-orig/dresden-ocl-1.1/debian/rules ./debian/rules
--- ../tmp-orig/dresden-ocl-1.1/debian/rules 2005-03-23 12:37:41.478991653 +0100
+++ ./debian/rules 2005-03-23 12:37:03.038710914 +0100
@@ -13,7 +13,7 @@
include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
-JAVA_HOME_DIRS := /usr/lib/j2se/1.4
+JAVA_HOME_DIRS := /usr/lib/j2sdk1.4-sun /usr/lib/j2sdk1.4-ibm /usr/lib/j2sdk1.4-blackdown
ANT_HOME := /usr/share/ant1.6
DEB_JARS := ant-optional gnujaxp junit sablecc nsuml /usr/share/ant1.6/lib/ant-launcher.jar
DEB_ANT_COMPILER := modern