I was trying to use the jar tool to make an INDEX.LIST for the main
JAR of my project, and it kept failing with a ZipException. After 
some checking, I discovered that the xalan-2.6.0.jar distributed with
Batik 1.7 has the following line in its MANIFEST.MF:

  Class-Path: xercesImpl.jar xml-apis.jar

and that I had no xercesImpl.jar on my classpath. Not only that, but
I had no xercesImpl.jar at all. On a hunch, I checked what JARs were
distributed with xerces 2.5.0, and found that they did distribute
a xercesImpl.jar and it's the same as the xerces_2_5_0.jar which comes
with Batik 1.7.

Once I renamed xerces_2_5_0.jar to xercesImpl.jar, the jar tool no
longer complained when I ran 'jar -i' on my main JAR.

Why was this JAR distributed under a different name? In any case, I
think it should either be renamed to xercesImpl.jar, or the manifest
in xalan-2.6.0.jar should be updated to reflect the new name.

-- 
J.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to