Bug 43428 - Resource Framework: Reading attributes of a resource
Summary: Resource Framework: Reading attributes of a resource
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.7.0
Hardware: PC Windows XP
: P2 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 11:23 UTC by Daryl Bryant
Modified: 2008-11-24 03:58 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daryl Bryant 2007-09-19 11:23:54 UTC
Steve Loughran suggested I enter this enhancement.

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" create="yes" />    
 <echo message="Patch Created: ${tlog.resource.lastmodified}" />

Generally, the requirement is to create a way of reading all the attributes of a
resource that are not explicitly set.