You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2013/06/13 12:52:57 UTC

[Bug 43144] tar task is very slow when a is used as the source resource

https://issues.apache.org/bugzilla/show_bug.cgi?id=43144

--- Comment #5 from Ramapriya <n....@gmail.com> ---
I had similar problem, using <zipfileset> consumes more than 30 minutes to
create a tar. This is how I solved, tar creation takes approximately 40s.

        <unzip src="product.zip" dest="extractedProduct"/>
        <tar tarfile="product.tar.gz" longfile="gnu" compression="gzip">
            <tarfileset dir="extractedProduct" includes="**/PS" filemode="755"
/>
            <tarfileset dir="extractedProduct" excludes="PS" />
            <fileset dir="${rootdir}" includes="resources/"/> 
        </tar>
        <delete dir="extractedProduct" quiet="true"/>

-- 
You are receiving this mail because:
You are the assignee for the bug.