ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MOUSSAUD BenoƮt <>
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/" >
          <zipfileset src="${lib.dir}/tools1.jar" excludes="**/MANIFEST.MF"
          <zipfileset src="${lib.dir}/tools2.jar" excludes="**/MANIFEST.MF"

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:
     [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 (
rt.cgi).  Include your program and the following diagnostic in your report.
Thank you.
    [javac] java.lang.IndexOutOfBoundsException
    [javac]     at
    [javac]     at
    [javac]     at
    [javac]     at

Note: with jike compile , it is okay !

Any ideas ?


Benoit Moussaud -
CTS - Cril Telecom Software
8 rue danjou
92517 Boulogne Billancourt - France
Tel: 01 58 17 04 78

View raw message