filename is an loop attribute and is referred to as @{filename} in the <for>
task. My bad, it should be read as @{filename} rather than @filename.

<for param="filename">
  <fileset refid="demo.files" />
  <sequential>
    <echo>@{filename}</echo>
  </sequential>
</for>


mgainty wrote:
> 
> 
> good morning hutieuxao-
> 
> the example progresses up to providing 'filename'
> how is 'filename' used afterwards?
> 
> thanks,
> Martin
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-call-ant-task-from-maven---can-not-find-a-good-example-tp22992996p23017043.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to