ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
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
ago?

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

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

Thanks,

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


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message