ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: zip-included files
Date Thu, 19 Apr 2007 12:43:02 GMT
prasad kumar wrote:
> Hi,
>   i have to zip the files ofter taking the build,for that one i have used like below
>   <zip basedir="${dest1}" destfile="${dest1}\build_xxx\" includes="*.pdf,*.ear,*.xml,*.doc,*.properties,*.rtf"
update="true" >
>        <fileset dir="${sources-dir}" includes=""/>
>     <fileset dir="${sources-dir}" includes="xxxx.xml"/>
>     <zipfileset dir="${dest1}\build_xxx" includes="xxx.pdf" fullpath="${dest1}\build_xxx\xxxxx.pdf"/>
>        <zipfileset dir="${dest1}\build_xxx" includes="xxxww.rtf" fullpath="${dest1}\build_xxx\zzzz.rtf"/>
>        <fileset dir="${ear-dir}" includes="qqqq.ear"/>
>   </zip>
>   but my problem is the zip it is including only two files with 30 MB(ear,rtf files)
capacity.i need to include all the files(pdf,properties,xml,ear,rtf ).
>   (i think memory limitation is there to zip the files with ant)

No, I think the filesets are probably wrong. Ant will handle anything up 
to and possibly beyond 4GB. Why not use <copy> to get stuff into the 
place/position you want it, so you can see at a glance which things work 
and which don't. then zip everything up in one go.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message