> From: Dominique Devienne [mailto:[EMAIL PROTECTED] > Sent: 11 February 2004 14:59 > To: 'Ant Developers List' > Subject: RE: Task for the new Pack200 format > > > > 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? >
+1 > In <zip>/<jar>, it would add a pack200="true/false" > attribute, and <unzip>/<unjar> would automatically check for > the PACK200 comment in the ZIP/JAR file, and do the right > thing automatically. > > Sounds to me that it's a much nicer integration that having > separate tasks. > Either pack200="true/false" or compression="pack200" (leaving room for improvements). > Optionally, instead of using a pack200 attribute, it could be > a <pack200> sub-element of <jar>, which would allow to plugin > more easily a non-JDK1.5 specific implementation (from > Jakarta-commons or stefanbodewig.org ;-) > > Having them as separate tasks is fine, but if this new > compression is half as good as described, then it's going to > be in widespread use very soon, and direct integration in > <jar> would be much more user-friendly IMHO. --DD > With respect on providing a version of pack200 usable by lesser JDKs I think than rather trying to reproduce the thing from scratch, we could just as well ask Bill Puig if he would be willing to contribute such a task or at least the code (either to Apache or as 3rd party). I do not see why not. I could ask him if you want. Jose Alberto --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]