I have made some tests.
In fact, merging jar files using zipfileset works ! (modern javac compiler
is ok)
My first attemps was to merge external jar files coming from other projects
(ex xalan, xerces, log4j, ....) I think all these jar files do not use the
same jar format (unix,dos,compresssed,...??) so when i merged them there is
a problem for modern compiler.
Workaround: extract all the jar files into a temp dir and launch the jar
task on them.
it is not a pretty solution but it is works !


----------------------------------------------------------------------------
Benoit Moussaud - [EMAIL PROTECTED]
CTS - Cril Telecom Software
http://www.criltelecom.com
8 rue danjou
92517 Boulogne Billancourt - France
Tel: 01 58 17 04 78



-----Message d'origine-----
De : Stefan Bodewig [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 25 avril 2001 16:35
À : [EMAIL PROTECTED]
Objet : Re: Zip task does not handle dates correctly.more information


MOUSSAUD Benoît <[EMAIL PROTECTED]> wrote:

> http://developer.java.sun.com/developer/bugParade/bugs/4353705.html

right now it gives a 404 - I'll try again later.

Obviously we have to fight against a bug in modern javac, that might
be fixed with a newer release.  Anyway, it would be nice if we knew
which change to the zip file causes the problem (and see whether we
can find a workaround).

Given that jikes and classic compiler work without problems I'd say
the ZIP file itself is correct.

Stefan

Reply via email to