Bug#491708: libibatis-java: Include missing DTD files in the JAR archive.

Rafal Krypa iceberg at tassadar.snt.pl
Mon Jul 21 14:07:13 UTC 2008


Package: libibatis-java
Version: 2.3.2.715-1
Severity: grave

SqlMapClasspathEntityResolver uses two DTD files, sql-map-config-2.dtd
and sql-map-2.dtd, expected to be located in
com/ibatis/sqlmap/engine/builder/xml/.
If not found there, they are fetched from ibatis web site for every sql
map file processed.
Please include these files in jar, as this seriously degrades
application start time and makes ibatis unusable in environment without
Internet connection.

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

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libibatis-java depends on:
ii  sun-java6-jre [java2-runtime] 6-06-1     Sun Java(TM) Runtime Environment (

libibatis-java recommends no packages.

-- no debconf information
-------------- next part --------------
diff -urN libibatis-java-2.3.2.715.orig/debian/build.xml libibatis-java-2.3.2.715/debian/build.xml
--- libibatis-java-2.3.2.715.orig/debian/build.xml	2008-07-21 13:37:54.000000000 +0000
+++ libibatis-java-2.3.2.715/debian/build.xml	2008-07-21 13:36:46.000000000 +0000
@@ -10,6 +10,7 @@
     <mkdir dir="${class.dir}"/>
     <javac srcdir="${source.dir}" destdir="${class.dir}"
       debug="true" source="1.5"/>
+    <copydir src="${source.dir}" dest="${class.dir}" includes="**/*.dtd"/>
   </target>
 
   <target name="jar" description="o Create the jar" depends="compile">


More information about the pkg-java-maintainers mailing list