corrupt gnujaxp.jar

Barry White <[email protected]>
Newsgroups gmane.comp.java.classpath.extensions.xml
Message-ID <[email protected]>
Hi,

the jar file 'gnujaxp.jar' seems to be corrupt. It is bundled in:
ftp://ftp.gnu.org/pub/gnu/classpathx/gnujaxp-1.0beta1.zip

I noticed this with the signjar ant task:

sign:
   [signjar] Signing JAR: C:\Documents and 
Settings\bwhite\Desktop\gnujaxp-1.0beta1\gnujaxp.jar
   [signjar] jarsigner: unable to sign jar: java.util.zip.ZipException: 
duplicate entry: META-INF/

If you do a 'jar tf gnujaxp.jar' you will see the duplicate entry. 
Simply unpacking and repacking the jar seems to fix it.

Barry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.