Re: ant-vars.mk in cdbs

2008-05-21 Thread Michael Koch
On Wed, May 21, 2008 at 03:59:59PM +0200, David Herron wrote: > Hi, I'm looking at learning to package java apps for Ubuntu/Debian and > came across the cdbs thingy > > In there is ant.mk and ant-vars.mk and in the latter is this stanza:- > > JAVA_HOME = $(shell for jh in $(JAVA_HOME_DIRS); do if

Re: ant-vars.mk in cdbs

2008-05-21 Thread [EMAIL PROTECTED]
David Herron schrieb: JAVA_HOME=/usr/lib/jvm/$(shell update-java-alternatives --current) isn't /etc/alternatives/java what you are looking for ? --- Jens Kapitza -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

ant-vars.mk in cdbs

2008-05-21 Thread David Herron
Hi, I'm looking at learning to package java apps for Ubuntu/Debian and came across the cdbs thingy In there is ant.mk and ant-vars.mk and in the latter is this stanza:- JAVA_HOME = $(shell for jh in $(JAVA_HOME_DIRS); do if [ -x "$$jh/bin/java" ]; then \ echo $${jh}; exit 0; fi; done)