ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jackson" <foamd...@gmail.com>
Subject Re: A way to create empty files
Date Tue, 12 Aug 2008 08:00:32 GMT
Hi,

> and just write one statement like <touch file="new"
> dontchangetimestamponexistingfile=true"/> or something.
>

If you put an RFE in Bugzilla the ant devs may look at it as an addition.

The semantics of unix touch though are that if the file exists, update
the timestamp, so there may be resistance to change the <touch> task.

Anyway if you really want that feature, the best way is to code it
yourself along with a unit test and upload the patch to Bugzilla -
there's a better chance it will be accepted into the trunk for Ant 1.8
if someone's already done the work :)

Thanks,
Kev

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


Mime
View raw message