ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Pellow" <nick.pel...@mindmatics.de>
Subject AW: deleting files older than a certain one
Date Tue, 24 Sep 2002 12:00:44 GMT
Jamie,
you could try a nested depend selector:
http://jakarta.apache.org/ant/manual/CoreTypes/selectors.html#dependselect

Cheers,
Nick

> -----Urspr√ľngliche Nachricht-----
> Von: Jamie.Echlin@ubsw.com [mailto:Jamie.Echlin@ubsw.com]
> Gesendet: Dienstag, 24. September 2002 13:01
> An: ant-user@jakarta.apache.org
> Betreff: deleting files older than a certain one
>
>
> Hi,
>
> How would I delete all files older than a certain file that I
> touched before a certain task. There doesn't seem to be anything
> in fileset. With find I would use -newer, but I'd prefer to stay
> within ant to be cross-platform.
>
>
> thanks for any advice,
>
> jamie
>
> Visit our website at http://www.ubswarburg.com
>
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>
>


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


Mime
View raw message