ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oscar Farga" <os...@mss.es>
Subject RE: Selecting a file
Date Thu, 05 Dec 2002 09:43:47 GMT
Hi Stefan,
 I don't see how to use these selectors to select the filenames with the
latest timestamps. I figured out how to select the filenames with the
patterns but the problem is I must select only one file, and it must be
the one containing the highest date in the filename. I can't use the
dateselect because I don't know the timestamp that I'm looking for,
there maybe some files with the same date but different times, the
criteria is to get the latest. Is it the only way to create a custom
selector?
Thanks for your help
Regards,
Oscar

-----Mensaje original-----
De: Stefan Bodewig [mailto:bodewig@apache.org] 
Enviado el: jueves, 05 de diciembre de 2002 10:14
Para: ant-user@jakarta.apache.org
Asunto: Re: Selecting a file

<http://jakarta.apache.org/ant/manual/CoreTypes/selectors.html>
<http://jakarta.apache.org/ant/manual/CoreTypes/selectors.html#filenames
elect>
<http://jakarta.apache.org/ant/manual/CoreTypes/selectors.html#dateselec
t>
<http://jakarta.apache.org/ant/manual/CoreTypes/selectors.html#andselect
>

and maybe

<http://jakarta.apache.org/ant/manual/CoreTypes/selectors.html#customsel
ect>

Stefan

--
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