views:

883

answers:

2

We are using Ant Zip task, which is a bit of moral obsolete (low processing speed for big files).

Can anyone point me out to mature ant task ready for production using that supports multithreaded for compression/decompression?

First of all I wish to increase speed of processing archive files.

I found 7ZIP Ant task, but it looks a bit abandoned and it don't support multithreaded as well.

+1  A: 

Why not use the exec task with the command line version of 7zip?

TofuBeer
Two points here:- I wish to decrease dependence from external software (i.e. need to have installed archivator)- It will be nice to have cross-platform solution
FoxyBOA
+1  A: 

Zip/Jar tasks work well because Java (hence ant) have support for them built in (not sure about the tar support). Built in-support would require 7zip written in Java or at least included in some ant task. It is very easy to write Ant taks. Write you own and shell out to a 7zip/pbzip/etc. If you're REALLY enterprising, give this a shot ... a LZMA library from 7zip w/ Java support

7-zip downloads, CLI versions too

To decrease external dependencies, just bundle a version of the cli compression tool you want to use.

I believe many of the executables (7zip specifically) have cli versions for multiple platform.

basszero