Bug#265704: liblog4j1.2-java: log47-1.2.8.jar doesn't contain the log4j.dtd file

Colm G. Connolly "Colm G. Connolly" <Colm.Connolly@ucd.ie>, 265704@bugs.debian.org
Sat Aug 14 08:39:03 2004


This is a multi-part MIME message sent by reportbug.

--===============1765171415==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: liblog4j1.2-java
Version: 1.2.8-5
Severity: grave
Justification: renders package unusable

The log4j.dtd file is missing from the latest version of log4j whic has just
entered testing.

I consider this a grave bug becuase with the dtd file log4j can't parse its
xml config file resulting in the complete loss of log statments.

The attached patch fixes this bug.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-darwin.4
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro

Versions of packages liblog4j1.2-java depends on:
ii  java-common          0.22                Base of all Java packages
ii  kaffe                2:1.1.4.PRE1.1.5-11 A JVM to run Java bytecode
ii  kaffe-pthreads [kaff 2:1.1.4.PRE1.1.5-11 A POSIX threads enabled version of
ii  sun-j2sdk1.4debian [ 0.9                 Debian specific parts of Java(TM) 

-- no debconf information

--===============1765171415==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="rules.patch"

--- rules.orig	2004-08-14 15:00:13.000000000 +0100
+++ rules	2004-08-14 14:55:18.000000000 +0100
@@ -27,4 +27,5 @@
 	mkdir -p dist/classes
 	jikes -classpath /usr/lib/kaffe/jre/lib/rt.jar:/usr/share/java/activation.jar:/usr/share/java/gnumail.jar:/usr/share/java/mx4j.jar:/usr/share/java/mx4j-jmx.jar:/usr/share/java/jaxp-1.2.jar:/usr/share/java/crimson.jar:/usr/share/java/mx4j-impl.jar -sourcepath src/java -d dist/classes @list.sources
+	cp src/java/org/apache/log4j/xml/log4j.dtd dist/classes/org/apache/log4j/xml/
 	fastjar -cf dist/lib/${JARNAME}-${VERSION}.jar -C dist/classes org
 	gjdoc -d docs/api -sourcepath src/java org

--===============1765171415==--