ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: File modification dates
Date Mon, 25 Sep 2000 16:11:44 GMT
>>>>> "DH" == Diane Holt <holtdl@yahoo.com> writes:

 DH> --- Peter Donald <donaldp@mad.scientist.com> wrote:

 >> Unfortunately it is not possible in java

 DH> destFile.setLastModified(srcFile.lastModified())

The problem Pete is talking about is that Java 1.1 doesn't know
File.setLastModified - and Ant wants to work for Java 1.1 as well.

Glenn has already said he wants to include an attribute in the
consolidated tasks which would be ignored (including a warning I hope)
if running on JDK 1.1.

Stefan

Mime
View raw message