ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject AW: How to determine if files in a fileset are up to date?
Date Fri, 05 Dec 2003 12:28:26 GMT
Hi Dirk,

the <modified/> selector of ant1.6beta3 might be what you need.
See http://ant.apache.org/manual-1.6beta/CoreTypes/selectors.html#modified

Cheers,
Antoine

-----Ursprüngliche Nachricht-----
Von: Dirk Schnelle [mailto:dirk@tk.informatik.tu-darmstadt.de]
Gesendet: Freitag, 5. Dezember 2003 13:16
An: Ant Users List
Betreff: AW: How to determine if files in a fileset are up to date?


Yes. But if I want to compare timestamps of the generated and the source
file I have to compare this for each file. Can I use a mapper for this like
in uptodate?
/Dirk


-----Ursprüngliche Nachricht-----
Von:	Antoine Lévy-Lambert [mailto:antoine@antbuild.com]
Gesendet:	Fr 05.12.2003 12:51
An:	Ant Users List
Cc:
Betreff:	AW: How to determine if files in a fileset are up to date?
You should have a look at the selectors, in the ant manual under concept and
types.
selectors are nested elements of filesets, which can restrict a fileset to
fit certain criteria.

Cheers,
Antoine


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


Mime
View raw message