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=12163>. 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=12163 Sequential task: Looping over fileset Summary: Sequential task: Looping over fileset Product: Ant Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The "Sequential" task could be extended for not just executing the nested targets once, but (optionally) for each entry of a given fileset. The name of the file currently processed during one loop could be read from a system property specified as an attribute of "sequential": <fileset id="filelist" dir="/somedir"> <patternset pattern="*.txt" /> </fileset> <!-- Iterate through fileset. At each iteration, the name of the current file entry will be stored in the system property "filelist.entry" --> <sequential refid="filelist" current="filelist.entry"> <echo message="Current File: ${filelist.entry}" /> <echo message="Display file in console:" /> <concat> <filelist dir="/somedir" files="${filelist.entry}" /> </concat> </sequential> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
