Bug#238674: Ant does not include files in /usr/share/ant/lib, contrary to the documentation

Paul Wagland Paul Wagland <pwagland@allshare.nl>, 238674@bugs.debian.org
Thu Mar 18 04:39:01 2004


Package: ant
Version: 1.6.1-1
Severity: important

In README.Debian it says:
- All JAR archives in /usr/share/ant/lib/ are appended to the class path
  before Ant is run. You can add symlinks there to automatically extend
  Ant's CLASSPATH.

However, as you can see from the below, this is not the case:

#> ls -l /usr/share/ant/lib/*bcel*
-rw-r--r--    1 root     root         8629 2004-03-10 01:50 /usr/share/ant/lib/ant-jakarta-bcel.jar

#> ant showOutputs
Buildfile: build.xml
 
nit:
  
showOutputs:
       [echo] ./monitorexceptions.jar
        
BUILD FAILED
/home/pwagland/devel-cvs/export/fortis/JARS/build.xml:87: Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.FullAnalyzer
	 
Total time: 8 seconds


#> jar -tf /usr/share/ant/lib/ant-jakarta-bcel.jar | grep FullA
org/apache/tools/ant/util/depend/bcel/FullAnalyzer.class


Looking into /usr/share/ant/bin/ant I cannot see where the files in
/usr/share/ant/lib are added to the classpath.

Of course, once this is done, I still need to get bcel into
/usr/share/ant/lib, but there is another bug open on that one :-)

Thanks for other great work though!

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (150, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-1-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8

Versions of packages ant depends on:
ii  gij-3.3 [java-virtual-machin 1:3.3.3-3   The GNU Java bytecode interpreter
ii  j2re1.3 [java-virtual-machin 1.3.1.02b-2 Blackdown Java(TM) 2 Runtime Envir
ii  j2re1.4 [java-virtual-machin 1.4.1-6     Blackdown Java(TM) 2 Runtime Envir
ii  libant1.6-java               1.6.1-1     Java based build tool like make
ii  libxerces2-java              2.6.1-1     Validating XML parser for Java wit
ii  sablevm [java-virtual-machin 1.1.0-5     Free implementation of Java Virtua

-- no debconf information