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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24223

Task "Available" should fill the property with concrete filename

           Summary: Task "Available" should fill the property with concrete
                    filename
           Product: Ant
           Version: 1.6Beta
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This task has options to find a file in a set of directories. 
It would often be useful to have access to the complete filename, i.e. if the
file is found on one of given paths, it will be set as the property value
instead of the default value "true". I suggest that this behavior is turned on
by a new boolean attribute, called for instance "receivefilename".
Example:
<available file="my.jar" property="my.jar.path">
  <fileset>
    ...
  </fileset>
</available>

After this, the property "my.jar.path" contains expanded pathname to the file
(including the filename) or is not set if not found.

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

Reply via email to