Bug#239128: [Build-common-hackers] Bug#239128: cdbs: ant class fails with libant1.6
Jan Schulz
Jan Schulz <default@katzien.de>, 239128@bugs.debian.org
Mon, 22 Mar 2004 18:03:19 +0100
Hallo Stefan,
* Stefan Gybas wrote:
>>I would suggest to simple workaround the problem in
>>/usr/share/cdbs/1/class/ant-vars.mk
>>DEB_CLASSPATH =
>>$(ANT_HOME)/lib/ant.jar:$(ANT_HOME)/lib/ant-launcher.jar:$(...)
>This will cause a warning when used with libant1.5-java. I'll probably
>only add ant-launcher.jar if it exists and call the new launcher class.
Hm, another easy fix is punting the $(ANT_HOME)/lib/ant-launcher.jar
into the first part of the
$(sh for jar in $(ANT_HOME)/lib/ant-launcher.jar ... ) loop.
Jan
--
Jan Schulz jasc@gmx.net
"Wer nicht fragt, bleibt dumm."