Re: [PROPOSAL] dh_ant
Hallo Arnaud,
* Arnaud Vandyck wrote:
>Stefan Gybas <sgybas@provective.de> wrote:
>What are the possible values of JAVA_HOME where you want to use
>something different from Blackdown's or Sun's JDK?
There are a lot IMO:
The values, where mpkg-j2sdk puts the JDKs, /usr/local... and so on.
I'm currently using this line to get 'java' in debian/rules:
jdk_dirs=/usr/lib/j2sdk1.4 /usr/lib/j2se/1.4 /usr/lib/j2se/1.3 /usr/lib/j2sdk1.3
JAVA_HOME ?= $(shell for jdir in $(jdk_dirs) ; do if [ -d "$$jdir" ]; \
then echo \
$$jdir;exit 0;fi;done)
This will not catch all, but all Build-Depends: (I hope...). Anyway, I
have JAVA_HOME in my /etc/environment and this line should catch any
such predefined JAVA_HOME.
Jan
--
Jan Schulz jasc@gmx.net
"Wer nicht fragt, bleibt dumm."
Reply to: