Barak Yaish wrote:

>Hello,
> 
>I would like to find a set of files, which are newer than a certain file (or 
>time stamp). Is this possible to be done using ant?
> 
>Thanks,
> 
>Barak.
>
>  
>
What you want is possible using filesets, selectors, and the pathconvert
task.
Look at the Concepts and Types section of the manual.

What you want is roughly something like

<project name="test">
<fileset id="myfileset" dir="foo/bar">
    

 <date datetime="01/01/2001 12:00 AM" when="after"/>

</fileset>
<pathconvert targetsos="unix" refid="myfileset"
property="myfileset.asproperty"/>
<echo>myfileset is ${myfileset.asproperty}</echo>
</project>

Cheers,

Antoine

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to