ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MOUSSAUD BenoƮt <benoit.mouss...@criltelecom.com>
Subject Zip task does not handle dates correctly.
Date Tue, 24 Apr 2001 17:17:56 GMT
I am using your lastesr version of Jar,Zip,... tasks
i have a target like this:
    <target name="merge-server" depends="prepare">        
        <jar jarfile="${tools.srv}" manifest =
"${rsc.dir}/META-INF/tools.mf" >
          <zipfileset src="${lib.dir}/tools1.jar" excludes="**/MANIFEST.MF"
/>
          <zipfileset src="${lib.dir}/tools2.jar" excludes="**/MANIFEST.MF"
/>
        </jar>
    </target>

This target merge two jarfiles excluding their manifest file.

The problem comes when i am using the produced jar with <javac> with ANT.
The stack trace (incomplete) looks like:
compile:
     [echo] compile java files for the project server
    [javac] Compiling 34 source files to W:\FRAMEWORK\CORE\SERVER\classes
    [javac] An exception has occurred in the compiler (1.3.0). Please file a
bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugrepo
rt.cgi).  Include your program and the following diagnostic in your report.
Thank you.
    [javac] java.lang.IndexOutOfBoundsException
    [javac]     at
java.util.zip.InflaterInputStream.read(InflaterInputStream.java:121)
    [javac]     at
com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:981)
    [javac]     at
com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:952)
    [javac]     at
com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)
....

Note: with jike compile , it is okay !

Any ideas ?

Regards
Benoit

-------------------------------------------------
Benoit Moussaud - benoit.moussaud@criltelecom.com
CTS - Cril Telecom Software
http://www.criltelecom.com
8 rue danjou
92517 Boulogne Billancourt - France
Tel: 01 58 17 04 78


Mime
View raw message