Bug#764376: ant: Removing Xerces breaks logback use in Sonar

Tim Pizey timp21337 at paneris.org
Tue Oct 7 17:03:48 UTC 2014


Package: ant
Version: 1.8.2-4
Severity: normal

Dear Maintainer,

The sonarqube ant task uses logback, which in turn uses XML to define
its configuration.

The task definition assumes the presence of xerces, an assumption
which holds for the Apache version of ant.

The Debian version splits out Xerces and assumes that it can be fed back
in through the CLASSPATH.

See https://github.com/dankamongmen/sprezzos-world/blob/master/packaging/ant/debian/patches/0003-add-Xerces-from-Debian-s-path.patch

I have created a minimum project which illustrates the problem at
https://github.com/timp21337/sonar-ant-fail

The problematic code is given here:
https://github.com/SonarSource/sonar-runner/blame/master/sonar-runner-batch/src/main/java/org/sonar/runner/batch/IsolatedLauncher.java

yours sincerely
Tim Pizey


-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-36-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

Versions of packages ant depends on:
ii  libxerces2-java                                  2.11.0-7
ii  openjdk-7-jre-headless [java7-runtime-headless]  7u65-2.5.2-3~14.04
ii  oracle-j2sdk1.6 [java6-runtime-headless]         1.6.0+update45-1

Versions of packages ant recommends:
ii  ant-optional  1.9.4-2

Versions of packages ant suggests:
pn  ant-doc                     <none>
pn  ant-gcj                     <none>
ii  openjdk-7-jdk [java-sdk]    7u65-2.5.2-3~14.04
ii  oracle-j2sdk1.6 [java-sdk]  1.6.0+update45-1

-- no debconf information



More information about the pkg-java-maintainers mailing list