ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject jlink caused duplicate entries?
Date Thu, 23 Aug 2001 14:35:00 GMT

When I jlink a bunch of jars it seems that the com directory entry is
put in the outfile more than once. The JVM doesn't seem to have a
problem with this, but when I update it with jar I get the following
[h:\autobuild\ldn_test\view\prod_patch\dist]jar u0f SPS.all.jar
c:\temp\Config.Spec duplicate entry: com/

And when listing the contents of another jar:
jar tf Jetpac-Infra.jar 
com/swissbank/businessobjects/adfin/Test.class invalid stored block lengths

What can I do about these problems?

The task looks like this:

<target name="makeall">
      <delete file="${dist.file.all.jar}" />
      <jlink outfile="${dist.file.all.jar}">
                       <pathelement path="${all.classpath}"/>           

Thanks, jamie

Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

View raw message