ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkbe <>
Subject 1.7 Resource Framework accessing lastmodified
Date Tue, 18 Sep 2007 22:41:20 GMT


I would like to accomplish something like the following using the <file>
resource from the ANT 1.7 Resource Framework:

<file name="tlog.resource" basedir="C:\" file="my_patch.txt" > </file>
<echo message="Patch Created: ${tlog.resource.lastmodified}" />

Without delving underneath the XML interface to the Java classes provided by
the ANT 1.7 Resource Framework, can you access the properties of a resource
"readonly", without setting them?

If so, how?

Your help would be greatly appreciated.

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message