[Build-common-hackers] Bug#341275: cdbs: ank-vars.mk includes incomplete ant CLASSPATH

Charles Fry debian at frogcircus.org
Tue Nov 29 19:30:51 UTC 2005


Package: cdbs
Version: 0.4.32
Severity: normal

Hi,

The current ant-vars.mk adds $(ANT_HOME)/lib/ant.jar to the CLASSPATH,
but unlike /usr/bin/ant, it doesn't add $ANT_HOME)/lib/ant-launcher.jar
to the CLASSPATH, which is outright necessary for ant to launch
succesfully.

Now that ant is in main, perhaps this is best solved by calling
/usr/bin/ant directly, rather than current java
org.apache.tools.ant.Main, which misses out on all of the clever setup
of /usr/bin/ant.

cheers,
Charles

-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (900, 'stable'), (80, 'testing'), (70, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

cdbs depends on no packages.

Versions of packages cdbs recommends:
ii  autotools-dev                 20050803.1 Update infrastructure for config.{
ii  debhelper                     4.9.13     helper programs for debian/rules

-- no debconf information




More information about the Build-common-hackers mailing list