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=12060>.
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=12060

enable property init from fileset

           Summary: enable property init from fileset
           Product: Ant
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


To enable property initialization from <fileset> ala:  
 
  <fileset id="blah">..</fileset> 
  <property name="blah.string" refid="blah"> 
  .. 
    <arg line="${blah.string}"/> 
 
(which is already possible for <path>), a AbstractFileSet.toString() should be 
added: 
-------- 
479a480,497 
>      * Returns included files as a list of space-separated filenames 
>      * 
>      * @return String object with included filenames 
>      */ 
>     public String toString() { 
>         int i; 
>         DirectoryScanner ds = getDirectoryScanner(getProject()); 
>         String[] s = ds.getIncludedFiles(); 
>         StringBuffer sb = new StringBuffer(s.length*30); 
> 
>         for (i=0; i<s.length; i++) { 
>             if ( i>0 ) sb.append(' '); 
>             sb.append( s[i]); 
>         } 
>         return sb.toString(); 
>     } 
> 
>     /**

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

Reply via email to