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.more information
Date Tue, 24 Apr 2001 17:37:17 GMT
I have made some researches:
1: there is a bug id on the java database on ID#4353705
The symptom are nearly the same.
2: if i set build.compiler=classic or jikes it is ok but if
build.compiler=modern i have the internal error !
env: jdk1.3 on win2k professionnal
There is maybe a problem when the jar file is built using to other one:
different version of jar tool used ? problem when paste different part of
the file ?

Benoit Moussaud

-----Message d'origine-----
De : MOUSSAUD Benoît 
Envoyé : mardi 24 avril 2001 19:18
À :
Objet : Zip task does not handle dates correctly.

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