ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27416] New: - templating targets
Date Wed, 03 Mar 2004 17:26:52 GMT
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=27416>.
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=27416

templating targets

           Summary: templating targets
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Other
        AssignedTo: dev@ant.apache.org
        ReportedBy: gbatyan@yahoo.com


Hello!

I was wondering if It is possible to write a single ant task which will operate
on a set of different data.
for instance i have a directory with 100 files, and I want to run a separate
(probably complicated) task referring to everywhich of those files.
I was looking for something like
<template>
  <data-source varname="filename"> <ls>/dir/where/files/are</ls> </data-source>
  <action>
    <whatevertask file="${filename}">...</whatevertask>
  </action>
</template>

and didn't figure out, how I do such a thing...

My apologies if it's another RTFM situation!

any comments or help would be appreciated...

King regards!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message