DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31170>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31170

Add resolve task

           Summary: Add resolve task
           Product: Ant
           Version: 1.6.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I would like to have a task where you can create a file set that would find one
file and have the task set a property with the full path to that file. For 
example

<resolve property="filename">
     <fileset dir="${MyDir}">
           <include name="**/myfile.xml" />
     </fileset>
</resolve>

after this task is run the property filename would have the full path to the
file. The task would have to check if the fileset captures more than one file,
potentially we could have an option to either fail or to capture the first 
match.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to