Bug#605367: tomcat6 FTBFS against ant 1.8.1

James Page james.page at canonical.com
Mon Nov 29 10:04:18 UTC 2010


Package: tomcat6
Version: 6.0.28-7
Severity: serious
Tags: patch
Justification: fails to build from source
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch


tomcat6 will FTBFS against ant 1.8.1.  Appreciate that this is still in experimental 
but at some point in time this will break.  This is due to the fact that TRaX is now
part of the JDK so the optional tasks in Ant have moved from ant-trax.jar to 
ant-nodeps.jar.

*** /tmp/tmpIpNIFU
In Ubuntu, we've applied the attached patch to achieve the following:

  * Amended debian/rules, fix xslt processing in ant 1.8.1 to 
    fix FTBFS (LP: #662588)

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 'maverick')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-23-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
=== modified file 'debian/rules'
--- debian/rules	2010-07-20 14:36:48 +0000
+++ debian/rules	2010-11-08 13:32:13 +0000
@@ -5,7 +5,7 @@
 BLDLIB := output/build/lib
 BLDBIN := output/build/bin
 DEB_JARS_BASE := /usr/share/java
-DEB_JARS := ant ant-launcher ant-trax
+DEB_JARS := ant ant-launcher ant-trax ant-nodeps
 DEB_CLASSPATH = $(shell for jar in $(DEB_JARS); do \
 	if [ -f "$$jar" ]; then echo -n "$${jar}:"; fi; \
 	if [ -f "$$jar".jar ]; then echo -n "$${jar}.jar:"; fi; \



More information about the pkg-java-maintainers mailing list