> Is there a way in Ant to create an automated ZIP file with maximum
> compression? The Zip file I get with WinZip is ~6MB, the Zip file with
> Ant is more than 15MB in size.
Ant uses the class java.util.zip.ZipEntry from the J2SE SDK to compress
and store files in zips and jars. The javadoc for ZipEntry seems not to
have any option for different compression levels, just DEFLATED
(compressed) and STORED (not compressed).
Ant's <zip> and <jar> tasks do have a 'compress' attribute, which can be
true (use compression) or false (use no compression). Perhaps the
default is to use no compression? You might try explicitly setting
compress="true" when creating an archive.
Regards,
Bill K.