Bug#536205: Please add Class-Path entry to the manifest

Florian Weimer fweimer at bfk.de
Wed Jul 8 08:18:33 UTC 2009


Package: libhttpunit-java
Version: 1.7+dfsg-1

Like this:

Index: build.xml
===================================================================
--- build.xml	(revision 3329)
+++ build.xml	(revision 3330)
@@ -241,6 +241,9 @@
 Build-Time: ${TSTAMP}
 </echo>
     <jar jarfile="${lib.dir}/${name}.jar" manifest="${build.dir}/info.txt">
+        <manifest>
+	  <attribute name="Class-Path" value="jtidy.jar nekohtml.jar xercesImpl.jar"/>
+	</manifest>
         <fileset dir="${build.classes}" includes="com/**"/>
         <fileset dir="META-INF" includes="*.dtd"/>
     </jar>

This means that packages using httpunit don't have to worry about
httpunit's internal dependencies.

-- 
Florian Weimer                <fweimer at bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99





More information about the pkg-java-maintainers mailing list