Bug#463147: groovy missing dependency on antlr

sp analogue at yahoo.com
Tue Jan 29 19:24:04 UTC 2008


Package: groovy
Version: 1.5.1-1
Severity: normal

The groovysh executable in the groovy package depends on the antlr
package to execute commands. However, the antlr package is not listed 
as a dependency of groovy.

Steps to reproduce:
1. Execute groovysh and type in a simple groovy command as shown:

$ groovysh
Groovy Shell (, JVM: 1.6.0_03-b05)
Type 'help' or '\h' for help.
-------------------------------------------------------------
groovy:000> println "hello world"
ERROR java.lang.NoClassDefFoundError: antlr/Token
groovy:000>

Adding antlr as a dependency fixes this problem.

-- System Information:
Debian Release: lenny/sid
  APT prefers gutsy-updates
  APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500, 'gutsy-backports'), (500, 'gutsy')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-14-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages groovy depends on:
ii  gij [java-virtual 4:4.2.1-4ubuntu2       The GNU Java bytecode interpreter
ii  gij-4.1 [java-vir 4.1.2-16ubuntu2        The GNU Java bytecode interpreter
ii  gij-4.2 [java-vir 4.2.1-5ubuntu5         The GNU Java bytecode interpreter
ii  java-gcj-compat   1.0.76-4ubuntu1        Java runtime environment using GIJ
ii  junit4            4.3.1-2                JUnit regression test framework fo
ii  libasm2-java      2.2.3-1                Java bytecode manipulation framewo
ii  libbsf-java       1:2.3.0+cvs20050308a-2 Bean Scripting Framework to suppor
ii  libclassworlds-ja 1.1-final-1            framework for container developers
ii  libcommons-cli-ja 1.0-8                  API for working with the command l
ii  libcommons-collec 3.1a-3.1               A set of abstract data type interf
ii  libcommons-loggin 1.0.4-6ubuntu1         commmon wrapper interface for seve
ii  libjline-java     0.9.5-3ubuntu2         Java library for handling console 
ii  libmockobjects-ja 0.09-3                 Framework for developing and using






More information about the pkg-java-maintainers mailing list