ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ckn...@onebox.com
Subject How can I capture a file's date to a property?
Date Wed, 11 Jul 2007 19:21:12 GMT
I'm writing a target that will update a file. I'd like to preserve the exisiting version of
the file by renaming it and incorporating its date in the file name.

I've have found several tasks for copying and renaming files and directories, but no way to
get the file's date-stamp. Am I simply not seeing it, or does ant really have no means of
capturing a file's last modified date (oh, the platform is Windows)?

-- 
Charles Knell
cknell@onebox.com - email

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


Mime
View raw message