[Build-common-hackers] Bug#420287: cdbs: error in ant.mk: <symlink> does not work

Torsten Werner twerner at debian.org
Sat Apr 21 11:38:53 UTC 2007


Package: cdbs
Version: 0.4.48
Severity: normal

Hi,


ant.mk from cdbs calls ant in a different way than /usr/bin/ant. The
<symlink> target in build.xml works when calling /usr/bin/ant directly
after installing the package ant-optional but it fails when using cdbs:

/home/twerner/debian/build-area/ilf-1.5.0/build.xml:18: Could not create task or type of type: symlink.

Ant could not find the task or a class this task relies upon.

This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
 - You have misspelt 'symlink'.
   Fix: check your spelling.
 - The task needs an external JAR file to execute
     and this is not found at the right place in the classpath.
   Fix: check the documentation for dependencies.
   Fix: declare the task.
...

This is the same error message when ant-optional is not installed.


Cheers,
Torsten




-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (985, 'stable'), (88, 'testing'), (87, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.1
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

cdbs depends on no packages.

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

-- no debconf information




More information about the Build-common-hackers mailing list