ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <>
Subject using fileset and date selector to get dirs unmofidied for 30 minutes
Date Tue, 16 Nov 2004 18:15:11 GMT
I would like to create a fileset that contain the directories that have not been changed in
the last 30 minutes. The Ant equivalent of:

find ./ -type d -mmin 30

I think I can use a fileset with the date selector, but how do I get a date that is 30 minutes

<dirset dir="." includes="*">
    <date datetime="${30_minutes_ago}" when="before"/>

The question is: How do I set the property 30_minutes_ago?


Robert Anderson  Sr. System Engineer  Nike - Global Trade IT  (503) 532-6803  d

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

View raw message