ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 43144] tar task is very slow when a <zipfileset> is used as the source resource
Date Thu, 13 Jun 2013 10:52:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=43144

--- Comment #5 from Ramapriya <n.ramapriya@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.

Mime
View raw message