Bug#239361: ant: unclear error messages

Peter Eisentraut Peter Eisentraut <peter_e@gmx.net>, 239361@bugs.debian.org
Tue Mar 23 18:01:02 2004


Package: ant
Version: 1.6.1-1
Severity: normal

I have installed

sablevm 1.1.0-5
classpath 0.07-2
jikes 1.18-8

and no other Java VMs, libraries, or compilers.

Using the following build.xml:

  <project name="MyProject" default="dist" basedir=".">
  </project>

just running "ant" gives this message:

  The -lib argument must be followed by a library location

I don't know what this is trying to tell me.

Running "ant -Dbuild.compiler=jikes" gives:

  Unable to locate tools.jar. Expected to find it in ?/lib/tools.jar
  Buildfile: build.xml

  BUILD FAILED
  Target `dist' does not exist in this project.

  Total time: 0 seconds

I don't know what the first line is supposed to say, but there is no
tools.jar in any Debian package, AFAICT.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages ant depends on:
ii  gij-3.3 [java-virtual-machine 1:3.3.3-1  The GNU Java bytecode interpreter
ii  libant1.6-java                1.6.1-1    Java based build tool like make
ii  libxerces2-java               2.6.0-1    Validating XML parser for Java
ii  sablevm [java-virtual-machine 1.1.0-5    Free implementation of Java Virtua

-- no debconf information