On Wed, 11 Feb 2004, Dominique Devienne <[EMAIL PROTECTED]> wrote: >> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] >> If we stick with JDK 1.5 only, this would become a two very simple >> tasks, so I'm not sure about the antlib approach. > > Why not support pack200/unpack200 directly from the <zip> and <jar>, > whenever running on JDK 1.5?
I rather thought about making <pack200> create the packed files without intermediat jars, so the task would be <jar pack200="true"/> without changing <jar> itself and clobber it with reflection and all that. > <unzip>/<unjar> would automatically check for the PACK200 comment in > the ZIP/JAR file, and do the right thing automatically. Uhm, AFAIU the comment is in the archive *after* unPACK200ing them so that you know it is not the original jar but one that has been modified on its way. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]