ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BalaSubramanian <ba...@lucid.co.in>
Subject Re: a zip file with files based on modified time
Date Fri, 30 Mar 2001 07:04:37 GMT
hi

Snippet code
**********


 <target name="zip" depends="init"  >
  <zip zipfile="feb24.zip" basedir="${SRC}" excludes="${DEST}\*.class" />
    </target>

I hope this will help u

Bala

"Goli, Srikanth" wrote:

> Hi Everybody,
>
> I would like to create a zip file with a subset of files from a directory
> that are modified later than some particular date/time...Is there any way to
> do this by using Ant's built-in tasks?
>
> Something like the following task..
>
> <zip zipfile="patch.zip">
>         <basedir="source">
>         <fileset dir="source">
>                 <isModifiedLater="03/25/2001"/>
>         </fileset>
> </zip>
>
> Any ideas??
>
> Thanks in advance
> Srikanth Goli


Mime
View raw message